Go to the documentation of this file.
15 #ifndef LLVM_ANALYSIS_DDGPRINTER_H
16 #define LLVM_ANALYSIS_DDGPRINTER_H
45 assert(
G &&
"expected a valid pointer to the graph.");
46 return "DDG for '" + std::string(
G->getName()) +
"'";
68 static std::string getSimpleNodeLabel(
const DDGNode *
Node,
73 static std::string getVerboseNodeLabel(
const DDGNode *
Node,
77 static std::string getSimpleEdgeAttributes(
const DDGNode *Src,
83 static std::string getVerboseEdgeAttributes(
const DDGNode *Src,
92 #endif // LLVM_ANALYSIS_DDGPRINTER_H
A set of analyses that are preserved following a run of a transformation pass.
This is an optimization pass for GlobalISel generic memory operations.
A CRTP mix-in to automatically provide informational APIs needed for passes.
Represents a single loop in the control flow graph.
The adaptor from a function pass to a loop pass computes these analyses and makes them available to t...
PreservedAnalyses run(Loop &L, LoopAnalysisManager &AM, LoopStandardAnalysisResults &AR, LPMUpdater &U)
Data Dependency Graph Edge.
DOTGraphTraits - Template class that can be specialized to customize how graphs are converted to 'dot...
This class provides an interface for updating the loop pass manager based on mutations to the loop ne...
std::string getGraphName(const DataDependenceGraph *G)
Generate a title for the graph in DOT format.
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
DOTGraphTraits(bool IsSimple=false)
Data Dependence Graph Node The graph can represent the following types of nodes:
DefaultDOTGraphTraits - This class provides the default implementations of all of the DOTGraphTraits ...
static std::string getNodeLabel(const ValueInfo &VI, GlobalValueSummary *GVS)
A container for analyses that lazily runs them and caches their results.