Home
last modified time | relevance | path

Searched defs:DOTGraphTraits (Results 1 – 25 of 50) sorted by relevance

12

/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DScheduleDAGPrinter.cpp26 struct DOTGraphTraits<ScheduleDAG*> : public DefaultDOTGraphTraits { struct
28 DOTGraphTraits (bool isSimple=false) : DefaultDOTGraphTraits(isSimple) {} in DOTGraphTraits() function
30 static std::string getGraphName(const ScheduleDAG *G) { in getGraphName()
34 static bool renderGraphFromBottomUp() { in renderGraphFromBottomUp()
38 static bool isNodeHidden(const SUnit *Node) { in isNodeHidden()
42 static std::string getNodeIdentifierLabel(const SUnit *Node, in getNodeIdentifierLabel()
52 static std::string getEdgeAttributes(const SUnit *Node, in getEdgeAttributes()
64 static std::string getNodeAttributes(const SUnit *N, in getNodeAttributes()
69 static void addCustomGraphFeatures(ScheduleDAG *G, in addCustomGraphFeatures()
DMachineBlockFrequencyInfo.cpp117 struct DOTGraphTraits<MachineBlockFrequencyInfo *> struct
119 const MachineFunction *CurFunc = nullptr;
120 DenseMap<const MachineBasicBlock *, int> LayoutOrderMap;
122 explicit DOTGraphTraits(bool isSimple = false) in DOTGraphTraits() argument
125 std::string getNodeLabel(const MachineBasicBlock *Node, in getNodeLabel()
147 std::string getNodeAttributes(const MachineBasicBlock *Node, in getNodeAttributes()
153 std::string getEdgeAttributes(const MachineBasicBlock *Node, EdgeIter EI, in getEdgeAttributes()
/external/llvm/lib/CodeGen/
DScheduleDAGPrinter.cpp29 struct DOTGraphTraits<ScheduleDAG*> : public DefaultDOTGraphTraits { struct
31 DOTGraphTraits (bool isSimple=false) : DefaultDOTGraphTraits(isSimple) {} in DOTGraphTraits() argument
33 static std::string getGraphName(const ScheduleDAG *G) { in getGraphName()
37 static bool renderGraphFromBottomUp() { in renderGraphFromBottomUp()
41 static bool isNodeHidden(const SUnit *Node) { in isNodeHidden()
45 static std::string getNodeIdentifierLabel(const SUnit *Node, in getNodeIdentifierLabel()
55 static std::string getEdgeAttributes(const SUnit *Node, in getEdgeAttributes()
67 static std::string getNodeAttributes(const SUnit *N, in getNodeAttributes()
72 static void addCustomGraphFeatures(ScheduleDAG *G, in addCustomGraphFeatures()
DMachineBlockFrequencyInfo.cpp85 struct DOTGraphTraits<MachineBlockFrequencyInfo *> struct
87 explicit DOTGraphTraits(bool isSimple = false) in DOTGraphTraits() function
90 std::string getNodeLabel(const MachineBasicBlock *Node, in getNodeLabel()
96 std::string getNodeAttributes(const MachineBasicBlock *Node, in getNodeAttributes()
102 std::string getEdgeAttributes(const MachineBasicBlock *Node, EdgeIter EI, in getEdgeAttributes()
/external/llvm-project/llvm/lib/CodeGen/
DScheduleDAGPrinter.cpp26 struct DOTGraphTraits<ScheduleDAG*> : public DefaultDOTGraphTraits { struct
28 DOTGraphTraits (bool isSimple=false) : DefaultDOTGraphTraits(isSimple) {} in DOTGraphTraits() function
30 static std::string getGraphName(const ScheduleDAG *G) { in getGraphName()
34 static bool renderGraphFromBottomUp() { in renderGraphFromBottomUp()
38 static bool isNodeHidden(const SUnit *Node) { in isNodeHidden()
42 static std::string getNodeIdentifierLabel(const SUnit *Node, in getNodeIdentifierLabel()
52 static std::string getEdgeAttributes(const SUnit *Node, in getEdgeAttributes()
64 static std::string getNodeAttributes(const SUnit *N, in getNodeAttributes()
69 static void addCustomGraphFeatures(ScheduleDAG *G, in addCustomGraphFeatures()
DMachineBlockFrequencyInfo.cpp117 struct DOTGraphTraits<MachineBlockFrequencyInfo *> struct
119 const MachineFunction *CurFunc = nullptr;
120 DenseMap<const MachineBasicBlock *, int> LayoutOrderMap;
122 explicit DOTGraphTraits(bool isSimple = false) in DOTGraphTraits() function
125 std::string getNodeLabel(const MachineBasicBlock *Node, in getNodeLabel()
147 std::string getNodeAttributes(const MachineBasicBlock *Node, in getNodeAttributes()
153 std::string getEdgeAttributes(const MachineBasicBlock *Node, EdgeIter EI, in getEdgeAttributes()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGPrinter.cpp31 struct DOTGraphTraits<SelectionDAG*> : public DefaultDOTGraphTraits { struct
33 explicit DOTGraphTraits(bool isSimple=false) : in DOTGraphTraits() argument
36 static bool hasEdgeDestLabels() { in hasEdgeDestLabels()
40 static unsigned numEdgeDestLabels(const void *Node) { in numEdgeDestLabels()
44 static std::string getEdgeDestLabel(const void *Node, unsigned i) { in getEdgeDestLabel()
49 static std::string getEdgeSourceLabel(const void *Node, EdgeIter I) { in getEdgeSourceLabel()
57 static bool edgeTargetsEdgeSource(const void *Node, EdgeIter I) { in edgeTargetsEdgeSource()
65 static EdgeIter getEdgeTarget(const void *Node, EdgeIter I) { in getEdgeTarget()
72 static std::string getGraphName(const SelectionDAG *G) { in getGraphName()
76 static bool renderGraphFromBottomUp() { in renderGraphFromBottomUp()
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGPrinter.cpp34 struct DOTGraphTraits<SelectionDAG*> : public DefaultDOTGraphTraits { struct
36 explicit DOTGraphTraits(bool isSimple=false) : in DOTGraphTraits() argument
39 static bool hasEdgeDestLabels() { in hasEdgeDestLabels()
43 static unsigned numEdgeDestLabels(const void *Node) { in numEdgeDestLabels()
47 static std::string getEdgeDestLabel(const void *Node, unsigned i) { in getEdgeDestLabel()
52 static std::string getEdgeSourceLabel(const void *Node, EdgeIter I) { in getEdgeSourceLabel()
60 static bool edgeTargetsEdgeSource(const void *Node, EdgeIter I) { in edgeTargetsEdgeSource()
68 static EdgeIter getEdgeTarget(const void *Node, EdgeIter I) { in getEdgeTarget()
75 static std::string getGraphName(const SelectionDAG *G) { in getGraphName()
79 static bool renderGraphFromBottomUp() { in renderGraphFromBottomUp()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGPrinter.cpp31 struct DOTGraphTraits<SelectionDAG*> : public DefaultDOTGraphTraits { struct
33 explicit DOTGraphTraits(bool isSimple=false) : in DOTGraphTraits() argument
36 static bool hasEdgeDestLabels() { in hasEdgeDestLabels()
40 static unsigned numEdgeDestLabels(const void *Node) { in numEdgeDestLabels()
44 static std::string getEdgeDestLabel(const void *Node, unsigned i) { in getEdgeDestLabel()
49 static std::string getEdgeSourceLabel(const void *Node, EdgeIter I) { in getEdgeSourceLabel()
57 static bool edgeTargetsEdgeSource(const void *Node, EdgeIter I) { in edgeTargetsEdgeSource()
65 static EdgeIter getEdgeTarget(const void *Node, EdgeIter I) { in getEdgeTarget()
72 static std::string getGraphName(const SelectionDAG *G) { in getGraphName()
76 static bool renderGraphFromBottomUp() { in renderGraphFromBottomUp()
[all …]
/external/llvm/lib/Analysis/
DDomPrinter.cpp29 struct DOTGraphTraits<DomTreeNode*> : public DefaultDOTGraphTraits { struct
31 DOTGraphTraits (bool isSimple=false) in DOTGraphTraits() argument
34 std::string getNodeLabel(DomTreeNode *Node, DomTreeNode *Graph) { in getNodeLabel()
52 struct DOTGraphTraits<DominatorTree*> : public DOTGraphTraits<DomTreeNode*> { struct
54 DOTGraphTraits (bool isSimple=false) in DOTGraphTraits() argument
57 static std::string getGraphName(DominatorTree *DT) { in getGraphName()
61 std::string getNodeLabel(DomTreeNode *Node, DominatorTree *G) { in getNodeLabel()
67 struct DOTGraphTraits<PostDominatorTree*> struct
70 DOTGraphTraits (bool isSimple=false) in DOTGraphTraits() argument
73 static std::string getGraphName(PostDominatorTree *DT) { in getGraphName()
[all …]
DRegionPrinter.cpp39 struct DOTGraphTraits<RegionNode*> : public DefaultDOTGraphTraits { struct
41 DOTGraphTraits (bool isSimple=false) in DOTGraphTraits() argument
44 std::string getNodeLabel(RegionNode *Node, RegionNode *Graph) { in getNodeLabel()
62 struct DOTGraphTraits<RegionInfo *> : public DOTGraphTraits<RegionNode *> { struct
64 DOTGraphTraits (bool isSimple = false) in DOTGraphTraits() function
67 static std::string getGraphName(const RegionInfo *) { return "Region Graph"; } in getGraphName()
69 std::string getNodeLabel(RegionNode *Node, RegionInfo *G) { in getNodeLabel()
74 std::string getEdgeAttributes(RegionNode *srcNode, in getEdgeAttributes()
102 static void printRegionCluster(const Region &R, GraphWriter<RegionInfo *> &GW, in printRegionCluster()
134 static void addCustomGraphFeatures(const RegionInfo *G, in addCustomGraphFeatures()
DCallPrinter.cpp25 template <> struct DOTGraphTraits<CallGraph *> : public DefaultDOTGraphTraits { struct
26 DOTGraphTraits(bool isSimple = false) : DefaultDOTGraphTraits(isSimple) {} in DOTGraphTraits() function
28 static std::string getGraphName(CallGraph *Graph) { return "Call graph"; } in getGraphName()
30 std::string getNodeLabel(CallGraphNode *Node, CallGraph *Graph) { in getNodeLabel()
DBlockFrequencyInfo.cpp88 struct DOTGraphTraits<BlockFrequencyInfo *> : public BFIDOTGTraitsBase { struct
89 explicit DOTGraphTraits(bool isSimple = false) in DOTGraphTraits() argument
92 std::string getNodeLabel(const BasicBlock *Node, in getNodeLabel()
99 std::string getNodeAttributes(const BasicBlock *Node, in getNodeAttributes()
105 std::string getEdgeAttributes(const BasicBlock *Node, EdgeIter EI, in getEdgeAttributes()
/external/llvm-project/llvm/lib/Analysis/
DDomPrinter.cpp29 struct DOTGraphTraits<DomTreeNode*> : public DefaultDOTGraphTraits { struct
31 DOTGraphTraits (bool isSimple=false) in DOTGraphTraits() function
34 std::string getNodeLabel(DomTreeNode *Node, DomTreeNode *Graph) { in getNodeLabel()
52 struct DOTGraphTraits<DominatorTree*> : public DOTGraphTraits<DomTreeNode*> { struct
54 DOTGraphTraits (bool isSimple=false) in DOTGraphTraits() function
57 static std::string getGraphName(DominatorTree *DT) { in getGraphName()
61 std::string getNodeLabel(DomTreeNode *Node, DominatorTree *G) { in getNodeLabel()
67 struct DOTGraphTraits<PostDominatorTree*> struct
70 DOTGraphTraits (bool isSimple=false) in DOTGraphTraits() argument
73 static std::string getGraphName(PostDominatorTree *DT) { in getGraphName()
[all …]
DRegionPrinter.cpp39 struct DOTGraphTraits<RegionNode*> : public DefaultDOTGraphTraits { struct
41 DOTGraphTraits (bool isSimple=false) in DOTGraphTraits() argument
44 std::string getNodeLabel(RegionNode *Node, RegionNode *Graph) { in getNodeLabel()
62 struct DOTGraphTraits<RegionInfo *> : public DOTGraphTraits<RegionNode *> { struct
64 DOTGraphTraits (bool isSimple = false) in DOTGraphTraits() argument
67 static std::string getGraphName(const RegionInfo *) { return "Region Graph"; } in getGraphName()
69 std::string getNodeLabel(RegionNode *Node, RegionInfo *G) { in getNodeLabel()
74 std::string getEdgeAttributes(RegionNode *srcNode, in getEdgeAttributes()
102 static void printRegionCluster(const Region &R, GraphWriter<RegionInfo *> &GW, in printRegionCluster()
134 static void addCustomGraphFeatures(const RegionInfo *G, in addCustomGraphFeatures()
DCallPrinter.cpp137 struct DOTGraphTraits<CallGraphDOTInfo *> : public DefaultDOTGraphTraits { struct
139 DOTGraphTraits(bool isSimple = false) : DefaultDOTGraphTraits(isSimple) {} in DOTGraphTraits() function
141 static std::string getGraphName(CallGraphDOTInfo *CGInfo) { in getGraphName()
146 static bool isNodeHidden(const CallGraphNode *Node) { in isNodeHidden()
152 std::string getNodeLabel(const CallGraphNode *Node, in getNodeLabel()
163 static const CallGraphNode *CGGetValuePtr(CallGraphNode::CallRecord P) { in CGGetValuePtr()
170 nodes_iterator;
172 std::string getEdgeAttributes(const CallGraphNode *Node, nodes_iterator I, in getEdgeAttributes()
193 std::string getNodeAttributes(const CallGraphNode *Node, in getNodeAttributes()
DBlockFrequencyInfo.cpp127 struct DOTGraphTraits<BlockFrequencyInfo *> : public BFIDOTGTraitsBase { struct
128 explicit DOTGraphTraits(bool isSimple = false) in DOTGraphTraits() argument
131 std::string getNodeLabel(const BasicBlock *Node, in getNodeLabel()
137 std::string getNodeAttributes(const BasicBlock *Node, in getNodeAttributes()
143 std::string getEdgeAttributes(const BasicBlock *Node, EdgeIter EI, in getEdgeAttributes()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DDomPrinter.cpp29 struct DOTGraphTraits<DomTreeNode*> : public DefaultDOTGraphTraits { struct
31 DOTGraphTraits (bool isSimple=false) in DOTGraphTraits() argument
34 std::string getNodeLabel(DomTreeNode *Node, DomTreeNode *Graph) { in getNodeLabel()
52 struct DOTGraphTraits<DominatorTree*> : public DOTGraphTraits<DomTreeNode*> { struct
54 DOTGraphTraits (bool isSimple=false) in DOTGraphTraits() function
57 static std::string getGraphName(DominatorTree *DT) { in getGraphName()
61 std::string getNodeLabel(DomTreeNode *Node, DominatorTree *G) { in getNodeLabel()
67 struct DOTGraphTraits<PostDominatorTree*> struct
70 DOTGraphTraits (bool isSimple=false) in DOTGraphTraits() function
73 static std::string getGraphName(PostDominatorTree *DT) { in getGraphName()
[all …]
DRegionPrinter.cpp39 struct DOTGraphTraits<RegionNode*> : public DefaultDOTGraphTraits { struct
41 DOTGraphTraits (bool isSimple=false) in DOTGraphTraits() argument
44 std::string getNodeLabel(RegionNode *Node, RegionNode *Graph) { in getNodeLabel()
62 struct DOTGraphTraits<RegionInfo *> : public DOTGraphTraits<RegionNode *> { struct
64 DOTGraphTraits (bool isSimple = false) in DOTGraphTraits() argument
67 static std::string getGraphName(const RegionInfo *) { return "Region Graph"; } in getGraphName()
69 std::string getNodeLabel(RegionNode *Node, RegionInfo *G) { in getNodeLabel()
74 std::string getEdgeAttributes(RegionNode *srcNode, in getEdgeAttributes()
102 static void printRegionCluster(const Region &R, GraphWriter<RegionInfo *> &GW, in printRegionCluster()
134 static void addCustomGraphFeatures(const RegionInfo *G, in addCustomGraphFeatures()
DCallPrinter.cpp25 template <> struct DOTGraphTraits<CallGraph *> : public DefaultDOTGraphTraits { struct
26 DOTGraphTraits(bool isSimple = false) : DefaultDOTGraphTraits(isSimple) {} in DOTGraphTraits() function
28 static std::string getGraphName(CallGraph *Graph) { return "Call graph"; } in getGraphName()
30 std::string getNodeLabel(CallGraphNode *Node, CallGraph *Graph) { in getNodeLabel()
DBlockFrequencyInfo.cpp127 struct DOTGraphTraits<BlockFrequencyInfo *> : public BFIDOTGTraitsBase { struct
128 explicit DOTGraphTraits(bool isSimple = false) in DOTGraphTraits() function
131 std::string getNodeLabel(const BasicBlock *Node, in getNodeLabel()
137 std::string getNodeAttributes(const BasicBlock *Node, in getNodeAttributes()
143 std::string getEdgeAttributes(const BasicBlock *Node, EdgeIter EI, in getEdgeAttributes()
/external/llvm-project/polly/lib/Analysis/
DScopGraphPrinter.cpp63 template <> struct DOTGraphTraits<RegionNode *> : public DefaultDOTGraphTraits { struct
64 DOTGraphTraits(bool isSimple = false) : DefaultDOTGraphTraits(isSimple) {} in DOTGraphTraits() function
66 std::string getNodeLabel(RegionNode *Node, RegionNode *Graph) { in getNodeLabel()
82 struct DOTGraphTraits<ScopDetectionWrapperPass *> struct
84 DOTGraphTraits(bool isSimple = false) in DOTGraphTraits() function
86 static std::string getGraphName(ScopDetectionWrapperPass *SD) { in getGraphName()
90 std::string getEdgeAttributes(RegionNode *srcNode, in getEdgeAttributes()
118 std::string getNodeLabel(RegionNode *Node, ScopDetectionWrapperPass *P) { in getNodeLabel()
124 static std::string escapeString(std::string String) { in escapeString()
138 static void printRegionCluster(const ScopDetection *SD, const Region *R, in printRegionCluster()
[all …]
/external/clang/lib/AST/
DStmtViz.cpp32 struct DOTGraphTraits<const Stmt*> : public DefaultDOTGraphTraits { struct
33 DOTGraphTraits (bool isSimple=false) : DefaultDOTGraphTraits(isSimple) {} in DOTGraphTraits() function
35 static std::string getNodeLabel(const Stmt* Node, const Stmt* Graph) { in getNodeLabel()
/external/llvm-project/clang/lib/AST/
DStmtViz.cpp31 struct DOTGraphTraits<const Stmt*> : public DefaultDOTGraphTraits { struct
32 DOTGraphTraits (bool isSimple=false) : DefaultDOTGraphTraits(isSimple) {} in DOTGraphTraits() argument
34 static std::string getNodeLabel(const Stmt* Node, const Stmt* Graph) { in getNodeLabel()
/external/llvm-project/llvm/lib/Target/X86/
DX86LoadValueInjectionLoadHardening.cpp193 struct DOTGraphTraits<MachineGadgetGraph *> : DefaultDOTGraphTraits { struct
194 using GraphType = MachineGadgetGraph;
195 using Traits = llvm::GraphTraits<GraphType *>;
196 using NodeRef = typename Traits::NodeRef;
197 using EdgeRef = typename Traits::EdgeRef;
198 using ChildIteratorType = typename Traits::ChildIteratorType;
199 using ChildEdgeIteratorType = typename Traits::ChildEdgeIteratorType;
201 DOTGraphTraits(bool IsSimple = false) : DefaultDOTGraphTraits(IsSimple) {} in DOTGraphTraits() function
203 std::string getNodeLabel(NodeRef Node, GraphType *) { in getNodeLabel()
213 static std::string getNodeAttributes(NodeRef Node, GraphType *) { in getNodeAttributes()
[all …]

12