Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DScheduleDAGPrinter.cpp21 struct DOTGraphTraits<ScheduleDAG*> : public DefaultDOTGraphTraits { struct
23 DOTGraphTraits (bool isSimple=false) : DefaultDOTGraphTraits(isSimple) {} in DOTGraphTraits() function
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.cpp3903 struct DOTGraphTraits<ScheduleDAGMI*> : public DefaultDOTGraphTraits { struct
3904 DOTGraphTraits(bool isSimple = false) : DefaultDOTGraphTraits(isSimple) {} in DOTGraphTraits() argument
3906 static std::string getGraphName(const ScheduleDAG *G) { in getGraphName()
3910 static bool renderGraphFromBottomUp() { in renderGraphFromBottomUp()
3914 static bool isNodeHidden(const SUnit *Node, const ScheduleDAG *G) { in isNodeHidden()
3923 static std::string getEdgeAttributes(const SUnit *Node, in getEdgeAttributes()
3933 static std::string getNodeLabel(const SUnit *SU, const ScheduleDAG *G) { in getNodeLabel()
3945 static std::string getNodeDescription(const SUnit *SU, const ScheduleDAG *G) { in getNodeDescription()
3949 static std::string getNodeAttributes(const SUnit *N, const ScheduleDAG *G) { in getNodeAttributes()
H A DMachineFunction.cpp637 struct DOTGraphTraits<const MachineFunction*> : public DefaultDOTGraphTraits { struct
638 DOTGraphTraits(bool isSimple = false) : DefaultDOTGraphTraits(isSimple) {} in DOTGraphTraits() argument
640 static std::string getGraphName(const MachineFunction *F) { in getGraphName()
644 std::string getNodeLabel(const MachineBasicBlock *Node, in getNodeLabel()
/openbsd-src/gnu/llvm/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 …]
/openbsd-src/gnu/llvm/clang/lib/AST/
H A 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()
/openbsd-src/gnu/llvm/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() function
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.cpp2272 struct DOTGraphTraits<DOTFuncMSSAInfo *> : public DefaultDOTGraphTraits { struct
2274 DOTGraphTraits(bool IsSimple = false) : DefaultDOTGraphTraits(IsSimple) {} in DOTGraphTraits() argument
2276 static std::string getGraphName(DOTFuncMSSAInfo *CFGInfo) { in getGraphName()
2281 std::string getNodeLabel(const BasicBlock *Node, DOTFuncMSSAInfo *CFGInfo) { in getNodeLabel()
2297 static std::string getEdgeSourceLabel(const BasicBlock *Node, in getEdgeSourceLabel()
2303 std::string getEdgeAttributes(const BasicBlock *Node, const_succ_iterator I, in getEdgeAttributes()
2308 std::string getNodeAttributes(const BasicBlock *Node, in getNodeAttributes()
/openbsd-src/gnu/llvm/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 …]
/openbsd-src/gnu/llvm/clang/lib/Serialization/
H A DModuleManager.cpp498 struct DOTGraphTraits<ModuleManager> : public DefaultDOTGraphTraits { struct
499 explicit DOTGraphTraits(bool IsSimple = false) in DOTGraphTraits() argument
502 static bool renderGraphFromBottomUp() { return true; } in renderGraphFromBottomUp()
504 std::string getNodeLabel(ModuleFile *M, const ModuleManager&) { in getNodeLabel()
/openbsd-src/gnu/llvm/clang/lib/Analysis/
H A DCallGraph.cpp267 struct DOTGraphTraits<const CallGraph*> : public DefaultDOTGraphTraits { struct
268 DOTGraphTraits (bool isSimple = false) : DefaultDOTGraphTraits(isSimple) {} in DOTGraphTraits() argument
270 static std::string getNodeLabel(const CallGraphNode *Node, in getNodeLabel()
H A DCFG.cpp6332 struct DOTGraphTraits<const CFG*> : public DefaultDOTGraphTraits { struct
6333 DOTGraphTraits(bool isSimple = false) : DefaultDOTGraphTraits(isSimple) {} in DOTGraphTraits() argument
6335 static std::string getNodeLabel(const CFGBlock *Node, const CFG *Graph) { in getNodeLabel()
/openbsd-src/gnu/llvm/llvm/include/llvm/Support/
H A DDOTGraphTraits.h166 struct DOTGraphTraits : public DefaultDOTGraphTraits { struct
167 DOTGraphTraits (bool simple=false) : DefaultDOTGraphTraits (simple) {} in DefaultDOTGraphTraits() argument
/openbsd-src/gnu/llvm/llvm/lib/Passes/
H A DStandardInstrumentations.cpp1798 struct DOTGraphTraits<DotCfgDiffDisplayGraph *> : public DefaultDOTGraphTraits { struct
1799 explicit DOTGraphTraits(bool Simple = false) in DOTGraphTraits() argument
1802 static bool renderNodesUsingHTML() { return true; } in renderNodesUsingHTML()
1803 static std::string getGraphName(const DotCfgDiffDisplayGraph *DiffData) { in getGraphName()
1807 getGraphProperties(const DotCfgDiffDisplayGraph *DiffData) { in getGraphProperties()
1810 static std::string getNodeLabel(const DisplayNode *Node, in getNodeLabel()
1814 static std::string getNodeAttributes(const DisplayNode *Node, in getNodeAttributes()
1818 static std::string getEdgeSourceLabel(const DisplayNode *From, in getEdgeSourceLabel()
1822 static std::string getEdgeAttributes(const DisplayNode *From, in getEdgeAttributes()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp2374 template <> struct DOTGraphTraits<PGOUseFunc *> : DefaultDOTGraphTraits { struct
2375 explicit DOTGraphTraits(bool isSimple = false) in DOTGraphTraits() function
2378 static std::string getGraphName(const PGOUseFunc *G) { in getGraphName()
2382 std::string getNodeLabel(const BasicBlock *Node, const PGOUseFunc *Graph) { in getNodeLabel()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DExprEngine.cpp3791 struct DOTGraphTraits<ExplodedGraph*> : public DefaultDOTGraphTraits { struct
3792 DOTGraphTraits (bool isSimple = false) : DefaultDOTGraphTraits(isSimple) {} in DOTGraphTraits() function
3794 static bool nodeHasBugReport(const ExplodedNode *N) { in nodeHasBugReport()
3819 static bool traverseHiddenNodes( in traverseHiddenNodes()
3838 static bool isNodeHidden(const ExplodedNode *N, const ExplodedGraph *G) { in isNodeHidden()
3842 static std::string getNodeLabel(const ExplodedNode *N, ExplodedGraph *G){ in getNodeLabel()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/
H A DAttributor.cpp3723 template <> struct DOTGraphTraits<AADepGraph *> : public DefaultDOTGraphTraits { struct
3724 DOTGraphTraits(bool isSimple = false) : DefaultDOTGraphTraits(isSimple) {} in DOTGraphTraits() argument
3726 static std::string getNodeLabel(const AADepGraphNode *Node, in getNodeLabel()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp3512 template <> struct DOTGraphTraits<BoUpSLP *> : public DefaultDOTGraphTraits { struct
3513 using TreeEntry = BoUpSLP::TreeEntry;
3515 DOTGraphTraits(bool isSimple = false) : DefaultDOTGraphTraits(isSimple) {} in DOTGraphTraits() function
3517 std::string getNodeLabel(const TreeEntry *Entry, const BoUpSLP *R) { in getNodeLabel()
3534 static std::string getNodeAttributes(const TreeEntry *Entry, in getNodeAttributes()