Home
last modified time | relevance | path

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

12

/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGPrinter.cpp27 struct DOTGraphTraits<SelectionDAG*> : public DefaultDOTGraphTraits { struct
29 explicit DOTGraphTraits(bool isSimple=false) : in DOTGraphTraits() argument
32 static bool hasEdgeDestLabels() { in hasEdgeDestLabels()
36 static unsigned numEdgeDestLabels(const void *Node) { in numEdgeDestLabels()
40 static std::string getEdgeDestLabel(const void *Node, unsigned i) { in getEdgeDestLabel()
45 static std::string getEdgeSourceLabel(const void *Node, EdgeIter I) { in getEdgeSourceLabel()
53 static bool edgeTargetsEdgeSource(const void *Node, EdgeIter I) { in edgeTargetsEdgeSource()
61 static EdgeIter getEdgeTarget(const void *Node, EdgeIter I) { in getEdgeTarget()
68 static std::string getGraphName(const SelectionDAG *G) { in getGraphName()
72 static bool renderGraphFromBottomUp() { in renderGraphFromBottomUp()
[all …]
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
H A 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 …]
/aosp_15_r20/external/llvm/lib/CodeGen/SelectionDAG/
H A 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 …]
/aosp_15_r20/external/llvm/lib/Analysis/
H A 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() 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 …]
H A 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()
H A DCallPrinter.cpp25 template <> struct DOTGraphTraits<CallGraph *> : public DefaultDOTGraphTraits { struct
26 DOTGraphTraits(bool isSimple = false) : DefaultDOTGraphTraits(isSimple) {} in DOTGraphTraits() argument
28 static std::string getGraphName(CallGraph *Graph) { return "Call graph"; } in getGraphName()
30 std::string getNodeLabel(CallGraphNode *Node, CallGraph *Graph) { in getNodeLabel()
H A 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()
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
H A 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 …]
H A 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()
H A 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()
H A 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()
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/CodeGen/
H A DScheduleDAGPrinter.cpp21 struct DOTGraphTraits<ScheduleDAG*> : public DefaultDOTGraphTraits { struct
23 DOTGraphTraits (bool isSimple=false) : DefaultDOTGraphTraits(isSimple) {} in DOTGraphTraits() argument
25 static std::string getGraphName(const ScheduleDAG *G) { in getGraphName()
29 static bool renderGraphFromBottomUp() { in renderGraphFromBottomUp()
33 static bool isNodeHidden(const SUnit *Node, const ScheduleDAG *G) { in isNodeHidden()
37 static std::string getNodeIdentifierLabel(const SUnit *Node, in getNodeIdentifierLabel()
47 static std::string getEdgeAttributes(const SUnit *Node, in getEdgeAttributes()
59 static std::string getNodeAttributes(const SUnit *N, in getNodeAttributes()
64 static void addCustomGraphFeatures(ScheduleDAG *G, in addCustomGraphFeatures()
H A DMachineBlockFrequencyInfo.cpp119 struct DOTGraphTraits<MachineBlockFrequencyInfo *> struct
121 const MachineFunction *CurFunc = nullptr;
122 DenseMap<const MachineBasicBlock *, int> LayoutOrderMap;
124 explicit DOTGraphTraits(bool isSimple = false) in DOTGraphTraits() argument
127 std::string getNodeLabel(const MachineBasicBlock *Node, in getNodeLabel()
149 std::string getNodeAttributes(const MachineBasicBlock *Node, in getNodeAttributes()
155 std::string getEdgeAttributes(const MachineBasicBlock *Node, EdgeIter EI, in getEdgeAttributes()
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
H A 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()
H A 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()
/aosp_15_r20/external/llvm/lib/CodeGen/
H A DScheduleDAGPrinter.cpp29 struct DOTGraphTraits<ScheduleDAG*> : public DefaultDOTGraphTraits { struct
31 DOTGraphTraits (bool isSimple=false) : DefaultDOTGraphTraits(isSimple) {} in DOTGraphTraits() function
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()
H A 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()
H A DMachineFunction.cpp455 struct DOTGraphTraits<const MachineFunction*> : public DefaultDOTGraphTraits { struct
457 DOTGraphTraits (bool isSimple=false) : DefaultDOTGraphTraits(isSimple) {} in DOTGraphTraits() argument
459 static std::string getGraphName(const MachineFunction *F) { in getGraphName()
463 std::string getNodeLabel(const MachineBasicBlock *Node, in getNodeLabel()
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Analysis/
H A DCallPrinter.cpp142 struct DOTGraphTraits<CallGraphDOTInfo *> : public DefaultDOTGraphTraits { struct
144 DOTGraphTraits(bool isSimple = false) : DefaultDOTGraphTraits(isSimple) {} in DOTGraphTraits() argument
146 static std::string getGraphName(CallGraphDOTInfo *CGInfo) { in getGraphName()
151 static bool isNodeHidden(const CallGraphNode *Node, in isNodeHidden()
158 std::string getNodeLabel(const CallGraphNode *Node, in getNodeLabel()
169 static const CallGraphNode *CGGetValuePtr(CallGraphNode::CallRecord P) { in CGGetValuePtr()
176 nodes_iterator;
178 std::string getEdgeAttributes(const CallGraphNode *Node, nodes_iterator I, in getEdgeAttributes()
199 std::string getNodeAttributes(const CallGraphNode *Node, in getNodeAttributes()
H A DRegionPrinter.cpp50 struct DOTGraphTraits<RegionInfo *> : public DOTGraphTraits<RegionNode *> { struct
52 DOTGraphTraits (bool isSimple = false) in DOTGraphTraits() function
55 static std::string getGraphName(const RegionInfo *) { return "Region Graph"; } in getGraphName()
57 std::string getNodeLabel(RegionNode *Node, RegionInfo *G) { in getNodeLabel()
62 std::string getEdgeAttributes(RegionNode *srcNode, in getEdgeAttributes()
90 static void printRegionCluster(const Region &R, GraphWriter<RegionInfo *> &GW, in printRegionCluster()
122 static void addCustomGraphFeatures(const RegionInfo *G, in addCustomGraphFeatures()
H A DBlockFrequencyInfo.cpp128 struct DOTGraphTraits<BlockFrequencyInfo *> : public BFIDOTGTraitsBase { struct
129 explicit DOTGraphTraits(bool isSimple = false) in DOTGraphTraits() argument
132 std::string getNodeLabel(const BasicBlock *Node, in getNodeLabel()
138 std::string getNodeAttributes(const BasicBlock *Node, in getNodeAttributes()
144 std::string getEdgeAttributes(const BasicBlock *Node, EdgeIter EI, in getEdgeAttributes()
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/X86/
H A 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() argument
203 std::string getNodeLabel(NodeRef Node, GraphType *) { in getNodeLabel()
213 static std::string getNodeAttributes(NodeRef Node, GraphType *) { in getNodeAttributes()
[all …]
/aosp_15_r20/external/clang/lib/AST/
H A DStmtViz.cpp32 struct DOTGraphTraits<const Stmt*> : public DefaultDOTGraphTraits { struct
33 DOTGraphTraits (bool isSimple=false) : DefaultDOTGraphTraits(isSimple) {} in DOTGraphTraits() argument
35 static std::string getNodeLabel(const Stmt* Node, const Stmt* Graph) { in getNodeLabel()
/aosp_15_r20/external/clang/lib/Serialization/
H A DModuleManager.cpp459 struct DOTGraphTraits<ModuleManager> : public DefaultDOTGraphTraits { struct
460 explicit DOTGraphTraits(bool IsSimple = false) in DOTGraphTraits() function
463 static bool renderGraphFromBottomUp() { in renderGraphFromBottomUp()
467 std::string getNodeLabel(ModuleFile *M, const ModuleManager&) { in getNodeLabel()
/aosp_15_r20/external/clang/lib/Analysis/
H A DCallGraph.cpp212 struct DOTGraphTraits<const CallGraph*> : public DefaultDOTGraphTraits { struct
214 DOTGraphTraits (bool isSimple=false) : DefaultDOTGraphTraits(isSimple) {} in DOTGraphTraits() argument
216 static std::string getNodeLabel(const CallGraphNode *Node, in getNodeLabel()

12