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