Home
last modified time | relevance | path

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

/llvm-project-15.0.7/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()
H A DMachineScheduler.cpp3873 struct DOTGraphTraits<ScheduleDAGMI*> : public DefaultDOTGraphTraits { struct
3874 DOTGraphTraits(bool isSimple = false) : DefaultDOTGraphTraits(isSimple) {} in DOTGraphTraits() argument
3876 static std::string getGraphName(const ScheduleDAG *G) { in getGraphName()
3880 static bool renderGraphFromBottomUp() { in renderGraphFromBottomUp()
3884 static bool isNodeHidden(const SUnit *Node, const ScheduleDAG *G) { in isNodeHidden()
3893 static std::string getEdgeAttributes(const SUnit *Node, in getEdgeAttributes()
3903 static std::string getNodeLabel(const SUnit *SU, const ScheduleDAG *G) { in getNodeLabel()
3915 static std::string getNodeDescription(const SUnit *SU, const ScheduleDAG *G) { in getNodeDescription()
3919 static std::string getNodeAttributes(const SUnit *N, const ScheduleDAG *G) { in getNodeAttributes()
H A DMachineFunction.cpp620 struct DOTGraphTraits<const MachineFunction*> : public DefaultDOTGraphTraits { struct
621 DOTGraphTraits(bool isSimple = false) : DefaultDOTGraphTraits(isSimple) {} in DOTGraphTraits() function
623 static std::string getGraphName(const MachineFunction *F) { in getGraphName()
627 std::string getNodeLabel(const MachineBasicBlock *Node, in getNodeLabel()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGPrinter.cpp27 struct DOTGraphTraits<SelectionDAG*> : public DefaultDOTGraphTraits { struct
29 explicit DOTGraphTraits(bool isSimple=false) : in DOTGraphTraits() function
32 static bool hasEdgeDestLabels() { in hasEdgeDestLabels()
36 static unsigned numEdgeDestLabels(const void *Node) { in numEdgeDestLabels()
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()
76 static std::string getNodeIdentifierLabel(const SDNode *Node, in getNodeIdentifierLabel()
103 static std::string getSimpleNodeLabel(const SDNode *Node, in getSimpleNodeLabel()
113 static std::string getNodeAttributes(const SDNode *N, in getNodeAttributes()
[all …]
/llvm-project-15.0.7/clang/lib/AST/
H A DStmtViz.cpp31 struct DOTGraphTraits<const Stmt*> : public DefaultDOTGraphTraits { struct
32 DOTGraphTraits (bool isSimple=false) : DefaultDOTGraphTraits(isSimple) {} in DOTGraphTraits() function
34 static std::string getNodeLabel(const Stmt* Node, const Stmt* Graph) { in getNodeLabel()
/llvm-project-15.0.7/llvm/lib/Analysis/
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 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 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()
H A DMemorySSA.cpp2321 struct DOTGraphTraits<DOTFuncMSSAInfo *> : public DefaultDOTGraphTraits { struct
2323 DOTGraphTraits(bool IsSimple = false) : DefaultDOTGraphTraits(IsSimple) {} in DOTGraphTraits() argument
2325 static std::string getGraphName(DOTFuncMSSAInfo *CFGInfo) { in getGraphName()
2330 std::string getNodeLabel(const BasicBlock *Node, DOTFuncMSSAInfo *CFGInfo) { in getNodeLabel()
2346 static std::string getEdgeSourceLabel(const BasicBlock *Node, in getEdgeSourceLabel()
2352 std::string getEdgeAttributes(const BasicBlock *Node, const_succ_iterator I, in getEdgeAttributes()
2357 std::string getNodeAttributes(const BasicBlock *Node, in getNodeAttributes()
/llvm-project-15.0.7/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() function
203 std::string getNodeLabel(NodeRef Node, GraphType *) { in getNodeLabel()
213 static std::string getNodeAttributes(NodeRef Node, GraphType *) { in getNodeAttributes()
[all …]
/llvm-project-15.0.7/clang/lib/Analysis/
H A DCallGraph.cpp267 struct DOTGraphTraits<const CallGraph*> : public DefaultDOTGraphTraits { struct
268 DOTGraphTraits (bool isSimple = false) : DefaultDOTGraphTraits(isSimple) {} in DOTGraphTraits() function
270 static std::string getNodeLabel(const CallGraphNode *Node, in getNodeLabel()
H A DCFG.cpp6262 struct DOTGraphTraits<const CFG*> : public DefaultDOTGraphTraits { struct
6263 DOTGraphTraits(bool isSimple = false) : DefaultDOTGraphTraits(isSimple) {} in DOTGraphTraits() argument
6265 static std::string getNodeLabel(const CFGBlock *Node, const CFG *Graph) { in getNodeLabel()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DModuleManager.cpp507 struct DOTGraphTraits<ModuleManager> : public DefaultDOTGraphTraits { struct
508 explicit DOTGraphTraits(bool IsSimple = false) in DOTGraphTraits() function
511 static bool renderGraphFromBottomUp() { return true; } in renderGraphFromBottomUp()
513 std::string getNodeLabel(ModuleFile *M, const ModuleManager&) { in getNodeLabel()
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DDOTGraphTraits.h166 struct DOTGraphTraits : public DefaultDOTGraphTraits { struct
167 DOTGraphTraits (bool simple=false) : DefaultDOTGraphTraits (simple) {} in DefaultDOTGraphTraits() argument
/llvm-project-15.0.7/llvm/lib/Passes/
H A DStandardInstrumentations.cpp1775 struct DOTGraphTraits<DotCfgDiffDisplayGraph *> : public DefaultDOTGraphTraits { struct
1776 explicit DOTGraphTraits(bool Simple = false) in DOTGraphTraits() function
1779 static bool renderNodesUsingHTML() { return true; } in renderNodesUsingHTML()
1780 static std::string getGraphName(const DotCfgDiffDisplayGraph *DiffData) { in getGraphName()
1784 getGraphProperties(const DotCfgDiffDisplayGraph *DiffData) { in getGraphProperties()
1787 static std::string getNodeLabel(const DisplayNode *Node, in getNodeLabel()
1791 static std::string getNodeAttributes(const DisplayNode *Node, in getNodeAttributes()
1795 static std::string getEdgeSourceLabel(const DisplayNode *From, in getEdgeSourceLabel()
1799 static std::string getEdgeAttributes(const DisplayNode *From, in getEdgeAttributes()
/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp2041 template <> struct DOTGraphTraits<PGOUseFunc *> : DefaultDOTGraphTraits { struct
2042 explicit DOTGraphTraits(bool isSimple = false) in DOTGraphTraits() function
2045 static std::string getGraphName(const PGOUseFunc *G) { in getGraphName()
2049 std::string getNodeLabel(const BasicBlock *Node, const PGOUseFunc *Graph) { in getNodeLabel()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DExprEngine.cpp3459 struct DOTGraphTraits<ExplodedGraph*> : public DefaultDOTGraphTraits { struct
3460 DOTGraphTraits (bool isSimple = false) : DefaultDOTGraphTraits(isSimple) {} in DOTGraphTraits() argument
3462 static bool nodeHasBugReport(const ExplodedNode *N) { in nodeHasBugReport()
3487 static bool traverseHiddenNodes( in traverseHiddenNodes()
3506 static bool isNodeHidden(const ExplodedNode *N, const ExplodedGraph *G) { in isNodeHidden()
3510 static std::string getNodeLabel(const ExplodedNode *N, ExplodedGraph *G){ in getNodeLabel()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DAttributor.cpp3464 template <> struct DOTGraphTraits<AADepGraph *> : public DefaultDOTGraphTraits { struct
3465 DOTGraphTraits(bool isSimple = false) : DefaultDOTGraphTraits(isSimple) {} in DOTGraphTraits() function
3467 static std::string getNodeLabel(const AADepGraphNode *Node, in getNodeLabel()
/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp3314 template <> struct DOTGraphTraits<BoUpSLP *> : public DefaultDOTGraphTraits { struct
3315 using TreeEntry = BoUpSLP::TreeEntry;
3317 DOTGraphTraits(bool isSimple = false) : DefaultDOTGraphTraits(isSimple) {} in DOTGraphTraits() function
3319 std::string getNodeLabel(const TreeEntry *Entry, const BoUpSLP *R) { in getNodeLabel()
3335 static std::string getNodeAttributes(const TreeEntry *Entry, in getNodeAttributes()