Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/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() function
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 DMachineFunction.cpp665 struct DOTGraphTraits<const MachineFunction*> : public DefaultDOTGraphTraits { struct
666 DOTGraphTraits(bool isSimple = false) : DefaultDOTGraphTraits(isSimple) {} in DOTGraphTraits() function
668 static std::string getGraphName(const MachineFunction *F) { in getGraphName()
672 std::string getNodeLabel(const MachineBasicBlock *Node, in getNodeLabel()
H A DMachineScheduler.cpp4377 struct DOTGraphTraits<ScheduleDAGMI*> : public DefaultDOTGraphTraits { struct
4378 DOTGraphTraits(bool isSimple = false) : DefaultDOTGraphTraits(isSimple) {} in DOTGraphTraits() argument
4380 static std::string getGraphName(const ScheduleDAG *G) { in getGraphName()
4384 static bool renderGraphFromBottomUp() { in renderGraphFromBottomUp()
4388 static bool isNodeHidden(const SUnit *Node, const ScheduleDAG *G) { in isNodeHidden()
4397 static std::string getEdgeAttributes(const SUnit *Node, in getEdgeAttributes()
4407 static std::string getNodeLabel(const SUnit *SU, const ScheduleDAG *G) { in getNodeLabel()
4419 static std::string getNodeDescription(const SUnit *SU, const ScheduleDAG *G) { in getNodeDescription()
4423 static std::string getNodeAttributes(const SUnit *N, const ScheduleDAG *G) { in getNodeAttributes()
/freebsd/contrib/llvm-project/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()
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 …]
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DRegionPrinter.cpp52 : DOTGraphTraits<RegionNode*>(isSimple) {} in DOTGraphTraits() argument
57 return DOTGraphTraits<RegionNode *>::getNodeLabel( in getNodeLabel() argument
50 struct DOTGraphTraits<RegionInfo *> : public DOTGraphTraits<RegionNode *> { global() struct
55 getGraphNamellvm::DOTGraphTraits getGraphName() argument
62 getEdgeAttributesllvm::DOTGraphTraits getEdgeAttributes() argument
90 printRegionClusterllvm::DOTGraphTraits printRegionCluster() argument
122 addCustomGraphFeaturesllvm::DOTGraphTraits addCustomGraphFeatures() argument
H A DCallPrinter.cpp143 struct DOTGraphTraits<CallGraphDOTInfo *> : public DefaultDOTGraphTraits { struct
145 DOTGraphTraits(bool isSimple = false) : DefaultDOTGraphTraits(isSimple) {} in DOTGraphTraits() function
147 static std::string getGraphName(CallGraphDOTInfo *CGInfo) { in getGraphName()
152 static bool isNodeHidden(const CallGraphNode *Node, in isNodeHidden()
159 std::string getNodeLabel(const CallGraphNode *Node, in getNodeLabel()
170 static const CallGraphNode *CGGetValuePtr(CallGraphNode::CallRecord P) { in CGGetValuePtr()
177 nodes_iterator;
179 std::string getEdgeAttributes(const CallGraphNode *Node, nodes_iterator I, in getEdgeAttributes()
200 std::string getNodeAttributes(const CallGraphNode *Node, in getNodeAttributes()
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()
H A DMemorySSA.cpp2318 struct DOTGraphTraits<DOTFuncMSSAInfo *> : public DefaultDOTGraphTraits { struct
2320 DOTGraphTraits(bool IsSimple = false) : DefaultDOTGraphTraits(IsSimple) {} in DOTGraphTraits() argument
2322 static std::string getGraphName(DOTFuncMSSAInfo *CFGInfo) { in getGraphName()
2327 std::string getNodeLabel(const BasicBlock *Node, DOTFuncMSSAInfo *CFGInfo) { in getNodeLabel()
2343 static std::string getEdgeSourceLabel(const BasicBlock *Node, in getEdgeSourceLabel()
2349 std::string getEdgeAttributes(const BasicBlock *Node, const_succ_iterator I, in getEdgeAttributes()
2354 std::string getNodeAttributes(const BasicBlock *Node, in getNodeAttributes()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DBlockCoverageInference.cpp298 struct DOTGraphTraits<DotFuncBCIInfo *> : public DefaultDOTGraphTraits { struct
300 DOTGraphTraits(bool IsSimple = false) : DefaultDOTGraphTraits(IsSimple) {} in DOTGraphTraits() function
302 static std::string getGraphName(DotFuncBCIInfo *Info) { in getGraphName()
306 std::string getNodeLabel(const BasicBlock *Node, DotFuncBCIInfo *Info) { in getNodeLabel()
310 std::string getEdgeAttributes(const BasicBlock *Src, const_succ_iterator I, in getEdgeAttributes()
320 std::string getNodeAttributes(const BasicBlock *Node, DotFuncBCIInfo *Info) { in getNodeAttributes()
H A DPGOInstrumentation.cpp2371 template <> struct DOTGraphTraits<PGOUseFunc *> : DefaultDOTGraphTraits { struct
2372 explicit DOTGraphTraits(bool isSimple = false) in DOTGraphTraits() argument
2375 static std::string getGraphName(const PGOUseFunc *G) { in getGraphName()
2379 std::string getNodeLabel(const BasicBlock *Node, const PGOUseFunc *Graph) { in getNodeLabel()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86LoadValueInjectionLoadHardening.cpp192 struct DOTGraphTraits<MachineGadgetGraph *> : DefaultDOTGraphTraits { struct
193 using GraphType = MachineGadgetGraph;
194 using Traits = llvm::GraphTraits<GraphType *>;
195 using NodeRef = typename Traits::NodeRef;
196 using EdgeRef = typename Traits::EdgeRef;
197 using ChildIteratorType = typename Traits::ChildIteratorType;
198 using ChildEdgeIteratorType = typename Traits::ChildEdgeIteratorType;
200 DOTGraphTraits(bool IsSimple = false) : DefaultDOTGraphTraits(IsSimple) {} in DOTGraphTraits() argument
202 std::string getNodeLabel(NodeRef Node, GraphType *) { in getNodeLabel()
212 static std::string getNodeAttributes(NodeRef Node, GraphType *) { in getNodeAttributes()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DDOTGraphTraits.h166 struct DOTGraphTraits : public DefaultDOTGraphTraits { struct
167 DOTGraphTraits (bool simple=false) : DefaultDOTGraphTraits (simple) {} in DefaultDOTGraphTraits() argument
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DMemProfContextDisambiguation.cpp2370 struct DOTGraphTraits<const CallsiteContextGraph<DerivedCCG, FuncTy, CallTy> *> struct
2372 DOTGraphTraits(bool IsSimple = false) : DefaultDOTGraphTraits(IsSimple) {} in DOTGraphTraits() argument
2374 using GraphType = const CallsiteContextGraph<DerivedCCG, FuncTy, CallTy> *;
2375 using GTraits = GraphTraits<GraphType>;
2376 using NodeRef = typename GTraits::NodeRef;
2377 using ChildIteratorType = typename GTraits::ChildIteratorType;
2379 static std::string getNodeLabel(NodeRef Node, GraphType G) { in getNodeLabel()
2400 static std::string getNodeAttributes(NodeRef Node, GraphType) { in getNodeAttributes()
2415 static std::string getEdgeAttributes(NodeRef, ChildIteratorType ChildIter, in getEdgeAttributes()
2425 static bool isNodeHidden(NodeRef Node, GraphType) { in isNodeHidden()
[all …]
H A DAttributor.cpp4164 template <> struct DOTGraphTraits<AADepGraph *> : public DefaultDOTGraphTraits { struct
4165 DOTGraphTraits(bool isSimple = false) : DefaultDOTGraphTraits(isSimple) {} in DOTGraphTraits() argument
4167 static std::string getNodeLabel(const AADepGraphNode *Node, in getNodeLabel()
/freebsd/contrib/llvm-project/llvm/lib/Passes/
H A DStandardInstrumentations.cpp2144 struct DOTGraphTraits<DotCfgDiffDisplayGraph *> : public DefaultDOTGraphTraits { struct
2145 explicit DOTGraphTraits(bool Simple = false) in DOTGraphTraits() function
2148 static bool renderNodesUsingHTML() { return true; } in renderNodesUsingHTML()
2149 static std::string getGraphName(const DotCfgDiffDisplayGraph *DiffData) { in getGraphName()
2153 getGraphProperties(const DotCfgDiffDisplayGraph *DiffData) { in getGraphProperties()
2156 static std::string getNodeLabel(const DisplayNode *Node, in getNodeLabel()
2160 static std::string getNodeAttributes(const DisplayNode *Node, in getNodeAttributes()
2164 static std::string getEdgeSourceLabel(const DisplayNode *From, in getEdgeSourceLabel()
2168 static std::string getEdgeAttributes(const DisplayNode *From, in getEdgeAttributes()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngine.cpp3822 struct DOTGraphTraits<ExplodedGraph*> : public DefaultDOTGraphTraits { struct
3823 DOTGraphTraits (bool isSimple = false) : DefaultDOTGraphTraits(isSimple) {} in DOTGraphTraits() function
3825 static bool nodeHasBugReport(const ExplodedNode *N) { in nodeHasBugReport()
3847 static bool traverseHiddenNodes( in traverseHiddenNodes()
3866 static bool isNodeHidden(const ExplodedNode *N, const ExplodedGraph *G) { in isNodeHidden()
3870 static std::string getNodeLabel(const ExplodedNode *N, ExplodedGraph *G){ in getNodeLabel()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DCFG.cpp6344 struct DOTGraphTraits<const CFG*> : public DefaultDOTGraphTraits { struct
6345 DOTGraphTraits(bool isSimple = false) : DefaultDOTGraphTraits(isSimple) {} in DOTGraphTraits() function
6347 static std::string getNodeLabel(const CFGBlock *Node, const CFG *Graph) { in getNodeLabel()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp4087 template <> struct DOTGraphTraits<BoUpSLP *> : public DefaultDOTGraphTraits { struct
4090 DOTGraphTraits(bool IsSimple = false) : DefaultDOTGraphTraits(IsSimple) {} in DOTGraphTraits() argument
4088 TreeEntryllvm::DOTGraphTraits global() argument
4092 getNodeLabelllvm::DOTGraphTraits getNodeLabel() argument
4109 getNodeAttributesllvm::DOTGraphTraits getNodeAttributes() argument