//===- llvm/Analysis/DDGPrinter.h -------------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===// // // This file defines the DOT printer for the Data-Dependence Graph (DDG). // //===----------------------------------------------------------------------===// #ifndef LLVM_ANALYSIS_DDGPRINTER_H #define LLVM_ANALYSIS_DDGPRINTER_H #include "llvm/Analysis/DDG.h" #include "llvm/Support/DOTGraphTraits.h" namespace llvm { class LPMUpdater; class Loop; //===--------------------------------------------------------------------===// // Implementation of DDG DOT Printer for a loop. //===--------------------------------------------------------------------===// class DDGDotPrinterPass : public PassInfoMixin<DDGDotPrinterPass> { … }; //===--------------------------------------------------------------------===// // Specialization of DOTGraphTraits. //===--------------------------------------------------------------------===// template <> struct DOTGraphTraits<const DataDependenceGraph *> : public DefaultDOTGraphTraits { … }; DDGDotGraphTraits; } // namespace llvm #endif // LLVM_ANALYSIS_DDGPRINTER_H