Home
last modified time | relevance | path

Searched defs:GraphTraits (Results 1 – 12 of 12) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineBlockFrequencyInfo.cpp88 template <> struct GraphTraits<MachineBlockFrequencyInfo *> { struct
89 using NodeRef = const MachineBasicBlock *;
90 using ChildIteratorType = MachineBasicBlock::const_succ_iterator;
91 using nodes_iterator = pointer_iterator<MachineFunction::const_iterator>;
93 static NodeRef getEntryNode(const MachineBlockFrequencyInfo *G) { in getEntryNode()
97 static ChildIteratorType child_begin(const NodeRef N) { in child_begin()
101 static ChildIteratorType child_end(const NodeRef N) { return N->succ_end(); } in child_end()
103 static nodes_iterator nodes_begin(const MachineBlockFrequencyInfo *G) { in nodes_begin()
107 static nodes_iterator nodes_end(const MachineBlockFrequencyInfo *G) { in nodes_end()
DMachineScheduler.cpp3679 template<> struct GraphTraits< struct
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DBlockFrequencyInfo.cpp99 struct GraphTraits<BlockFrequencyInfo *> { struct
100 using NodeRef = const BasicBlock *;
101 using ChildIteratorType = succ_const_iterator;
102 using nodes_iterator = pointer_iterator<Function::const_iterator>;
104 static NodeRef getEntryNode(const BlockFrequencyInfo *G) { in getEntryNode()
108 static ChildIteratorType child_begin(const NodeRef N) { in child_begin()
112 static ChildIteratorType child_end(const NodeRef N) { return succ_end(N); } in child_end()
114 static nodes_iterator nodes_begin(const BlockFrequencyInfo *G) { in nodes_begin()
118 static nodes_iterator nodes_end(const BlockFrequencyInfo *G) { in nodes_end()
DBlockFrequencyInfoImpl.cpp666 template <> struct GraphTraits<IrreducibleGraph> { struct
667 using GraphT = bfi_detail::IrreducibleGraph;
668 using NodeRef = const GraphT::IrrNode *;
669 using ChildIteratorType = GraphT::IrrNode::iterator;
671 static NodeRef getEntryNode(const GraphT &G) { return G.StartIrr; } in getEntryNode()
672 static ChildIteratorType child_begin(NodeRef N) { return N->succ_begin(); } in child_begin()
673 static ChildIteratorType child_end(NodeRef N) { return N->succ_end(); } in child_end()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DGraphTraits.h35 struct GraphTraits { struct
101 // Provide a partial specialization of GraphTraits so that the inverse of an argument
/third_party/boost/boost/graph/
Dsmallest_last_ordering.hpp40 typedef typename boost::graph_traits< VertexListGraph > GraphTraits; in smallest_last_vertex_ordering() typedef
63 typedef typename boost::graph_traits< VertexListGraph > GraphTraits; in smallest_last_vertex_ordering() typedef
Dsequential_vertex_coloring.hpp46 typedef graph_traits< VertexListGraph > GraphTraits; in sequential_vertex_coloring() typedef
Dtwo_graphs_common_spanning_trees.hpp137 typedef graph_traits< Graph > GraphTraits; in rec_two_graphs_common_spanning_trees() typedef
583 typedef graph_traits< Graph > GraphTraits; in two_graphs_common_spanning_trees() typedef
831 typedef graph_traits< Graph > GraphTraits; in two_graphs_common_spanning_trees() typedef
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DFunctionAttrs.cpp422 template <> struct GraphTraits<ArgumentGraphNode *> { struct
423 using NodeRef = ArgumentGraphNode *;
424 using ChildIteratorType = SmallVectorImpl<ArgumentGraphNode *>::iterator;
426 static NodeRef getEntryNode(NodeRef A) { return A; } in getEntryNode()
427 static ChildIteratorType child_begin(NodeRef N) { return N->Uses.begin(); } in child_begin()
428 static ChildIteratorType child_end(NodeRef N) { return N->Uses.end(); } in child_end()
432 struct GraphTraits<ArgumentGraph *> : public GraphTraits<ArgumentGraphNode *> { struct
433 static NodeRef getEntryNode(ArgumentGraph *AG) { return AG->getEntryNode(); } in getEntryNode()
435 static ChildIteratorType nodes_begin(ArgumentGraph *AG) { in nodes_begin()
439 static ChildIteratorType nodes_end(ArgumentGraph *AG) { return AG->end(); } in nodes_end()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DPGOInstrumentation.cpp1751 template <> struct GraphTraits<PGOUseFunc *> { struct
1752 using NodeRef = const BasicBlock *;
1753 using ChildIteratorType = succ_const_iterator;
1754 using nodes_iterator = pointer_iterator<Function::const_iterator>;
1756 static NodeRef getEntryNode(const PGOUseFunc *G) { in getEntryNode()
1760 static ChildIteratorType child_begin(const NodeRef N) { in child_begin()
1764 static ChildIteratorType child_end(const NodeRef N) { return succ_end(N); } in child_end()
1766 static nodes_iterator nodes_begin(const PGOUseFunc *G) { in nodes_begin()
1770 static nodes_iterator nodes_end(const PGOUseFunc *G) { in nodes_end()
/third_party/boost/libs/graph/example/
Dmodify_graph.cpp43 typedef graph_traits< MutableGraph > GraphTraits; in modify_demo() typedef
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp2232 template <> struct GraphTraits<BoUpSLP *> { struct
2233 using TreeEntry = BoUpSLP::TreeEntry;
2236 using NodeRef = TreeEntry *;
2238 using ContainerTy = BoUpSLP::TreeEntry::VecTreeTy;
2242 struct ChildIteratorType
2254 static NodeRef getEntryNode(BoUpSLP &R) { in getEntryNode()
2258 static ChildIteratorType child_begin(NodeRef N) { in child_begin()
2262 static ChildIteratorType child_end(NodeRef N) { in child_end()
2268 class nodes_iterator {
2282 static nodes_iterator nodes_begin(BoUpSLP *R) { in nodes_begin()
[all …]