Lines Matching defs:GraphTraits
2944 template <> struct GraphTraits<AADepGraphNode *> { struct
2945 using NodeRef = AADepGraphNode *;
2946 using DepTy = PointerIntPair<AADepGraphNode *, 1>;
2947 using EdgeRef = PointerIntPair<AADepGraphNode *, 1>;
2949 static NodeRef getEntryNode(AADepGraphNode *DGN) { return DGN; } in getEntryNode()
2950 static NodeRef DepGetVal(DepTy &DT) { return DT.getPointer(); } in DepGetVal()
2952 using ChildIteratorType =
2954 using ChildEdgeIteratorType = TinyPtrVector<DepTy>::iterator;
2956 static ChildIteratorType child_begin(NodeRef N) { return N->child_begin(); } in child_begin()
2958 static ChildIteratorType child_end(NodeRef N) { return N->child_end(); } in child_end()
2962 struct GraphTraits<AADepGraph *> : public GraphTraits<AADepGraphNode *> { struct
2963 static NodeRef getEntryNode(AADepGraph *DG) { return DG->GetEntryNode(); } in getEntryNode()
2965 using nodes_iterator =
2968 static nodes_iterator nodes_begin(AADepGraph *DG) { return DG->begin(); } in nodes_begin()
2970 static nodes_iterator nodes_end(AADepGraph *DG) { return DG->end(); } in nodes_end()