LLVM: include/llvm/Analysis/DomPrinter.h Source File (original) (raw)
1
2
3
4
5
6
7
8
9
10
11
12
13
14#ifndef LLVM_ANALYSIS_DOMPRINTER_H
15#define LLVM_ANALYSIS_DOMPRINTER_H
16
20
21namespace llvm {
22
23template <>
25
27
29
31
32 if (!BB)
33 return "Post dominance root node";
34
37
39 }
40};
41
42template <>
45
48
50 return "Dominator tree";
51 }
52
55 G->getRootNode());
56 }
57};
58
59template<>
62
65
67 return "Post dominator tree";
68 }
69
73 }
74};
75
78};
79
83};
84
89};
90
95};
96
99};
100
105};
106
111};
112
117};
118}
119
120namespace llvm {
121 class FunctionPass;
130}
131
132#endif
static bool isSimple(Instruction *I)
LLVM Basic Block Representation.
Analysis pass which computes a DominatorTree.
Concrete subclass of DominatorTreeBase that is used to compute a normal dominator tree.
FunctionPass class - This class is used to implement most global optimizations.
Analysis pass which computes a PostDominatorTree.
PostDominatorTree Class - Concrete subclass of DominatorTree that is used to compute the post-dominat...
This is an optimization pass for GlobalISel generic memory operations.
FunctionPass * createDomOnlyPrinterWrapperPassPass()
FunctionPass * createPostDomOnlyViewerWrapperPassPass()
FunctionPass * createPostDomViewerWrapperPassPass()
FunctionPass * createPostDomOnlyPrinterWrapperPassPass()
FunctionPass * createDomOnlyViewerWrapperPassPass()
FunctionPass * createPostDomPrinterWrapperPassPass()
FunctionPass * createDomPrinterWrapperPassPass()
FunctionPass * createDomViewerWrapperPassPass()
DOTGraphTraits(bool isSimple=false)
std::string getNodeLabel(DomTreeNode *Node, DomTreeNode *Graph)
static std::string getGraphName(DominatorTree *DT)
std::string getNodeLabel(DomTreeNode *Node, DominatorTree *G)
DOTGraphTraits(bool isSimple=false)
std::string getNodeLabel(DomTreeNode *Node, PostDominatorTree *G)
DOTGraphTraits(bool isSimple=false)
static std::string getGraphName(PostDominatorTree *DT)
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 ...
std::string getNodeLabel(const void *, const GraphType &)
getNodeLabel - Given a node and a pointer to the top level graph, return the label to print in the no...