Home
last modified time | relevance | path

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

/freebsd-14.2/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() 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 DMachineFunction.cpp653 struct DOTGraphTraits<const MachineFunction*> : public DefaultDOTGraphTraits { struct
654 DOTGraphTraits(bool isSimple = false) : DefaultDOTGraphTraits(isSimple) {} in DOTGraphTraits() argument
656 static std::string getGraphName(const MachineFunction *F) { in getGraphName()
660 std::string getNodeLabel(const MachineBasicBlock *Node, in getNodeLabel()
H A DMachineScheduler.cpp4183 struct DOTGraphTraits<ScheduleDAGMI*> : public DefaultDOTGraphTraits { struct
4184 DOTGraphTraits(bool isSimple = false) : DefaultDOTGraphTraits(isSimple) {} in DOTGraphTraits() argument
4186 static std::string getGraphName(const ScheduleDAG *G) { in getGraphName()
4190 static bool renderGraphFromBottomUp() { in renderGraphFromBottomUp()
4194 static bool isNodeHidden(const SUnit *Node, const ScheduleDAG *G) { in isNodeHidden()
4203 static std::string getEdgeAttributes(const SUnit *Node, in getEdgeAttributes()
4213 static std::string getNodeLabel(const SUnit *SU, const ScheduleDAG *G) { in getNodeLabel()
4225 static std::string getNodeDescription(const SUnit *SU, const ScheduleDAG *G) { in getNodeDescription()
4229 static std::string getNodeAttributes(const SUnit *N, const ScheduleDAG *G) { in getNodeAttributes()
/freebsd-14.2/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() argument
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 …]
/freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DRegionPrinter.cpp49 struct DOTGraphTraits<RegionInfo *> : public DOTGraphTraits<RegionNode *> { struct
51 DOTGraphTraits (bool isSimple = false) in DOTGraphTraits() argument
54 static std::string getGraphName(const RegionInfo *) { return "Region Graph"; } in getGraphName()
56 std::string getNodeLabel(RegionNode *Node, RegionInfo *G) { in getNodeLabel()
61 std::string getEdgeAttributes(RegionNode *srcNode, in getEdgeAttributes()
89 static void printRegionCluster(const Region &R, GraphWriter<RegionInfo *> &GW, in printRegionCluster()
121 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.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.cpp2255 struct DOTGraphTraits<DOTFuncMSSAInfo *> : public DefaultDOTGraphTraits { struct
2257 DOTGraphTraits(bool IsSimple = false) : DefaultDOTGraphTraits(IsSimple) {} in DOTGraphTraits() argument
2259 static std::string getGraphName(DOTFuncMSSAInfo *CFGInfo) { in getGraphName()
2264 std::string getNodeLabel(const BasicBlock *Node, DOTFuncMSSAInfo *CFGInfo) { in getNodeLabel()
2280 static std::string getEdgeSourceLabel(const BasicBlock *Node, in getEdgeSourceLabel()
2286 std::string getEdgeAttributes(const BasicBlock *Node, const_succ_iterator I, in getEdgeAttributes()
2291 std::string getNodeAttributes(const BasicBlock *Node, in getNodeAttributes()
/freebsd-14.2/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.cpp2267 template <> struct DOTGraphTraits<PGOUseFunc *> : DefaultDOTGraphTraits { struct
2268 explicit DOTGraphTraits(bool isSimple = false) in DOTGraphTraits() function
2271 static std::string getGraphName(const PGOUseFunc *G) { in getGraphName()
2275 std::string getNodeLabel(const BasicBlock *Node, const PGOUseFunc *Graph) { in getNodeLabel()
/freebsd-14.2/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() function
202 std::string getNodeLabel(NodeRef Node, GraphType *) { in getNodeLabel()
212 static std::string getNodeAttributes(NodeRef Node, GraphType *) { in getNodeAttributes()
[all …]
/freebsd-14.2/contrib/llvm-project/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.cpp6347 struct DOTGraphTraits<const CFG*> : public DefaultDOTGraphTraits { struct
6348 DOTGraphTraits(bool isSimple = false) : DefaultDOTGraphTraits(isSimple) {} in DOTGraphTraits() function
6350 static std::string getNodeLabel(const CFGBlock *Node, const CFG *Graph) { in getNodeLabel()
/freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/
H A DModuleManager.cpp484 struct DOTGraphTraits<ModuleManager> : public DefaultDOTGraphTraits { struct
485 explicit DOTGraphTraits(bool IsSimple = false) in DOTGraphTraits() function
488 static bool renderGraphFromBottomUp() { return true; } in renderGraphFromBottomUp()
490 std::string getNodeLabel(ModuleFile *M, const ModuleManager&) { in getNodeLabel()
/freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DMemProfContextDisambiguation.cpp2248 DOTGraphTraits(bool IsSimple = false) : DefaultDOTGraphTraits(IsSimple) {} in DOTGraphTraits() argument
2251 using GTraits = GraphTraits<GraphType>;
2252 using NodeRef = typename GTraits::NodeRef;
2253 using ChildIteratorType = typename GTraits::ChildIteratorType;
2255 static std::string getNodeLabel(NodeRef Node, GraphType G) { in getNodeLabel()
2276 static std::string getNodeAttributes(NodeRef Node, GraphType) { in getNodeAttributes()
2291 static std::string getEdgeAttributes(NodeRef, ChildIteratorType ChildIter, in getEdgeAttributes()
2301 static bool isNodeHidden(NodeRef Node, GraphType) { in isNodeHidden()
2306 static std::string getContextIds(const DenseSet<uint32_t> &ContextIds) { in getContextIds()
2319 static std::string getColor(uint8_t AllocTypes) { in getColor()
[all …]
H A DAttributor.cpp4159 template <> struct DOTGraphTraits<AADepGraph *> : public DefaultDOTGraphTraits { struct
4160 DOTGraphTraits(bool isSimple = false) : DefaultDOTGraphTraits(isSimple) {} in DOTGraphTraits() function
4162 static std::string getNodeLabel(const AADepGraphNode *Node, in getNodeLabel()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Passes/
H A DStandardInstrumentations.cpp2052 struct DOTGraphTraits<DotCfgDiffDisplayGraph *> : public DefaultDOTGraphTraits { struct
2053 explicit DOTGraphTraits(bool Simple = false) in DOTGraphTraits() function
2056 static bool renderNodesUsingHTML() { return true; } in renderNodesUsingHTML()
2057 static std::string getGraphName(const DotCfgDiffDisplayGraph *DiffData) { in getGraphName()
2061 getGraphProperties(const DotCfgDiffDisplayGraph *DiffData) { in getGraphProperties()
2064 static std::string getNodeLabel(const DisplayNode *Node, in getNodeLabel()
2068 static std::string getNodeAttributes(const DisplayNode *Node, in getNodeAttributes()
2072 static std::string getEdgeSourceLabel(const DisplayNode *From, in getEdgeSourceLabel()
2076 static std::string getEdgeAttributes(const DisplayNode *From, in getEdgeAttributes()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngine.cpp3810 struct DOTGraphTraits<ExplodedGraph*> : public DefaultDOTGraphTraits { struct
3811 DOTGraphTraits (bool isSimple = false) : DefaultDOTGraphTraits(isSimple) {} in DOTGraphTraits() argument
3813 static bool nodeHasBugReport(const ExplodedNode *N) { in nodeHasBugReport()
3835 static bool traverseHiddenNodes( in traverseHiddenNodes()
3854 static bool isNodeHidden(const ExplodedNode *N, const ExplodedGraph *G) { in isNodeHidden()
3858 static std::string getNodeLabel(const ExplodedNode *N, ExplodedGraph *G){ in getNodeLabel()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp3656 template <> struct DOTGraphTraits<BoUpSLP *> : public DefaultDOTGraphTraits { struct
3657 using TreeEntry = BoUpSLP::TreeEntry;
3659 DOTGraphTraits(bool IsSimple = false) : DefaultDOTGraphTraits(IsSimple) {} in DOTGraphTraits() argument
3661 std::string getNodeLabel(const TreeEntry *Entry, const BoUpSLP *R) { in getNodeLabel()
3678 static std::string getNodeAttributes(const TreeEntry *Entry, in getNodeAttributes()