Home
last modified time | relevance | path

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

12

/aosp_15_r20/external/llvm/lib/CodeGen/
H A DMachineBlockFrequencyInfo.cpp54 template <> struct GraphTraits<MachineBlockFrequencyInfo *> { struct
55 typedef const MachineBasicBlock NodeType;
56 typedef MachineBasicBlock::const_succ_iterator ChildIteratorType;
57 typedef MachineFunction::const_iterator nodes_iterator;
60 getEntryNode(const MachineBlockFrequencyInfo *G) { in getEntryNode()
64 static ChildIteratorType child_begin(const NodeType *N) { in child_begin()
68 static ChildIteratorType child_end(const NodeType *N) { in child_end()
72 static nodes_iterator nodes_begin(const MachineBlockFrequencyInfo *G) { in nodes_begin()
76 static nodes_iterator nodes_end(const MachineBlockFrequencyInfo *G) { in nodes_end()
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
H A 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()
/aosp_15_r20/external/llvm/lib/Analysis/
H A DBlockFrequencyInfo.cpp62 struct GraphTraits<BlockFrequencyInfo *> { struct
63 typedef const BasicBlock NodeType;
64 typedef succ_const_iterator ChildIteratorType;
65 typedef Function::const_iterator nodes_iterator;
67 static inline const NodeType *getEntryNode(const BlockFrequencyInfo *G) { in getEntryNode()
70 static ChildIteratorType child_begin(const NodeType *N) { in child_begin()
73 static ChildIteratorType child_end(const NodeType *N) { in child_end()
76 static nodes_iterator nodes_begin(const BlockFrequencyInfo *G) { in nodes_begin()
79 static nodes_iterator nodes_end(const BlockFrequencyInfo *G) { in nodes_end()
H A DBlockFrequencyInfoImpl.cpp622 template <> struct GraphTraits<IrreducibleGraph> { struct
623 typedef bfi_detail::IrreducibleGraph GraphT;
625 typedef const GraphT::IrrNode NodeType;
626 typedef GraphT::IrrNode::iterator ChildIteratorType;
628 static const NodeType *getEntryNode(const GraphT &G) { in getEntryNode()
631 static ChildIteratorType child_begin(NodeType *N) { return N->succ_begin(); } in child_begin()
632 static ChildIteratorType child_end(NodeType *N) { return N->succ_end(); } in child_end()
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/CodeGen/
H A DMachineBlockFrequencyInfo.cpp90 template <> struct GraphTraits<MachineBlockFrequencyInfo *> { struct
91 using NodeRef = const MachineBasicBlock *;
92 using ChildIteratorType = MachineBasicBlock::const_succ_iterator;
93 using nodes_iterator = pointer_iterator<MachineFunction::const_iterator>;
95 static NodeRef getEntryNode(const MachineBlockFrequencyInfo *G) { in getEntryNode()
99 static ChildIteratorType child_begin(const NodeRef N) { in child_begin()
103 static ChildIteratorType child_end(const NodeRef N) { return N->succ_end(); } in child_end()
105 static nodes_iterator nodes_begin(const MachineBlockFrequencyInfo *G) { in nodes_begin()
109 static nodes_iterator nodes_end(const MachineBlockFrequencyInfo *G) { in nodes_end()
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Analysis/
H A DBlockFrequencyInfo.cpp100 struct GraphTraits<BlockFrequencyInfo *> { struct
101 using NodeRef = const BasicBlock *;
102 using ChildIteratorType = const_succ_iterator;
103 using nodes_iterator = pointer_iterator<Function::const_iterator>;
105 static NodeRef getEntryNode(const BlockFrequencyInfo *G) { in getEntryNode()
109 static ChildIteratorType child_begin(const NodeRef N) { in child_begin()
113 static ChildIteratorType child_end(const NodeRef N) { return succ_end(N); } in child_end()
115 static nodes_iterator nodes_begin(const BlockFrequencyInfo *G) { in nodes_begin()
119 static nodes_iterator nodes_end(const BlockFrequencyInfo *G) { in nodes_end()
H A DCallPrinter.cpp116 struct GraphTraits<CallGraphDOTInfo *> struct
118 static NodeRef getEntryNode(CallGraphDOTInfo *CGInfo) { in getEntryNode()
124 PairTy;
125 static const CallGraphNode *CGGetValuePtr(const PairTy &P) { in CGGetValuePtr()
131 nodes_iterator;
133 static nodes_iterator nodes_begin(CallGraphDOTInfo *CGInfo) { in nodes_begin()
136 static nodes_iterator nodes_end(CallGraphDOTInfo *CGInfo) { in nodes_end()
H A DBlockFrequencyInfoImpl.cpp696 template <> struct GraphTraits<IrreducibleGraph> { struct
697 using GraphT = bfi_detail::IrreducibleGraph;
698 using NodeRef = const GraphT::IrrNode *;
699 using ChildIteratorType = GraphT::IrrNode::iterator;
701 static NodeRef getEntryNode(const GraphT &G) { return G.StartIrr; } in getEntryNode()
702 static ChildIteratorType child_begin(NodeRef N) { return N->succ_begin(); } in child_begin()
703 static ChildIteratorType child_end(NodeRef N) { return N->succ_end(); } in child_end()
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
H A 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()
H A 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()
/aosp_15_r20/external/clang/lib/Serialization/
H A DModuleManager.cpp436 struct GraphTraits<ModuleManager> { struct
437 typedef ModuleFile NodeType;
438 typedef llvm::SetVector<ModuleFile *>::const_iterator ChildIteratorType;
439 typedef ModuleManager::ModuleConstIterator nodes_iterator;
441 static ChildIteratorType child_begin(NodeType *Node) { in child_begin()
445 static ChildIteratorType child_end(NodeType *Node) { in child_end()
449 static nodes_iterator nodes_begin(const ModuleManager &Manager) { in nodes_begin()
453 static nodes_iterator nodes_end(const ModuleManager &Manager) { in nodes_end()
/aosp_15_r20/external/llvm/lib/Transforms/IPO/
H A DFunctionAttrs.cpp333 template <> struct GraphTraits<ArgumentGraphNode *> { struct
334 typedef ArgumentGraphNode NodeType;
335 typedef SmallVectorImpl<ArgumentGraphNode *>::iterator ChildIteratorType;
337 static inline NodeType *getEntryNode(NodeType *A) { return A; } in getEntryNode()
338 static inline ChildIteratorType child_begin(NodeType *N) { in child_begin()
341 static inline ChildIteratorType child_end(NodeType *N) { in child_end()
346 struct GraphTraits<ArgumentGraph *> : public GraphTraits<ArgumentGraphNode *> { struct
347 static NodeType *getEntryNode(ArgumentGraph *AG) { in getEntryNode()
350 static ChildIteratorType nodes_begin(ArgumentGraph *AG) { in nodes_begin()
353 static ChildIteratorType nodes_end(ArgumentGraph *AG) { return AG->end(); } in nodes_end()
/aosp_15_r20/external/llvm/unittests/ADT/
H A DSCCIteratorTest.cpp231 struct GraphTraits<Graph<N> > { struct
232 typedef typename Graph<N>::NodeType NodeType;
233 typedef typename Graph<N>::ChildIterator ChildIteratorType;
235 static inline NodeType *getEntryNode(const Graph<N> &G) { return G.AccessNode(0); } in getEntryNode()
236 static inline ChildIteratorType child_begin(NodeType *Node) { in child_begin()
239 static inline ChildIteratorType child_end(NodeType *Node) { in child_end()
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
H A 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()
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Transforms/IPO/
H A DFunctionAttrs.cpp555 template <> struct GraphTraits<ArgumentGraphNode *> { struct
556 using NodeRef = ArgumentGraphNode *;
557 using ChildIteratorType = SmallVectorImpl<ArgumentGraphNode *>::iterator;
559 static NodeRef getEntryNode(NodeRef A) { return A; } in getEntryNode()
560 static ChildIteratorType child_begin(NodeRef N) { return N->Uses.begin(); } in child_begin()
561 static ChildIteratorType child_end(NodeRef N) { return N->Uses.end(); } in child_end()
565 struct GraphTraits<ArgumentGraph *> : public GraphTraits<ArgumentGraphNode *> { struct
566 static NodeRef getEntryNode(ArgumentGraph *AG) { return AG->getEntryNode(); } in getEntryNode()
568 static ChildIteratorType nodes_begin(ArgumentGraph *AG) { in nodes_begin()
572 static ChildIteratorType nodes_end(ArgumentGraph *AG) { return AG->end(); } in nodes_end()
H A DAttributor.cpp3694 template <> struct GraphTraits<AADepGraphNode *> { struct
3695 using NodeRef = AADepGraphNode *;
3696 using DepTy = PointerIntPair<AADepGraphNode *, 1>;
3697 using EdgeRef = PointerIntPair<AADepGraphNode *, 1>;
3699 static NodeRef getEntryNode(AADepGraphNode *DGN) { return DGN; } in getEntryNode()
3700 static NodeRef DepGetVal(DepTy &DT) { return DT.getPointer(); } in DepGetVal()
3702 using ChildIteratorType =
3704 using ChildEdgeIteratorType = TinyPtrVector<DepTy>::iterator;
3706 static ChildIteratorType child_begin(NodeRef N) { return N->child_begin(); } in child_begin()
3708 static ChildIteratorType child_end(NodeRef N) { return N->child_end(); } in child_end()
[all …]
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Passes/
H A DStandardInstrumentations.cpp1769 template <> struct GraphTraits<DotCfgDiffDisplayGraph *> { struct
1770 using NodeRef = const DisplayNode *;
1771 using ChildIteratorType = DisplayNode::ChildIterator;
1772 using nodes_iterator = DotCfgDiffDisplayGraph::NodeIterator;
1773 using EdgeRef = const DisplayEdge *;
1774 using ChildEdgeIterator = DisplayNode::EdgeIterator;
1776 static NodeRef getEntryNode(const DotCfgDiffDisplayGraph *G) { in getEntryNode()
1779 static ChildIteratorType child_begin(NodeRef N) { in child_begin()
1782 static ChildIteratorType child_end(NodeRef N) { return N->children_end(); } in child_end()
1783 static nodes_iterator nodes_begin(const DotCfgDiffDisplayGraph *G) { in nodes_begin()
[all …]
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
H A 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()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/include/llvm/ADT/
DGraphTraits.h37 struct GraphTraits { struct
103 // Provide a partial specialization of GraphTraits so that the inverse of an argument
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/include/llvm/ADT/
DGraphTraits.h37 struct GraphTraits { struct
103 // Provide a partial specialization of GraphTraits so that the inverse of an argument
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
H A DGraphTraits.h35 struct GraphTraits { struct
101 // Provide a partial specialization of GraphTraits so that the inverse of an argument
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/include/llvm/ADT/
DGraphTraits.h37 struct GraphTraits { struct
103 // Provide a partial specialization of GraphTraits so that the inverse of an argument
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/ADT/
H A DGraphTraits.h37 struct GraphTraits { struct
103 // Provide a partial specialization of GraphTraits so that the inverse of an argument
/aosp_15_r20/external/llvm/include/llvm/ADT/
H A DGraphTraits.h27 struct GraphTraits { struct
60 typedef typename GraphType::UnknownGraphTypeError NodeType;
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/include/llvm/ADT/
DGraphTraits.h37 struct GraphTraits { struct
103 // Provide a partial specialization of GraphTraits so that the inverse of an argument

12