Lines Matching defs:GraphTraits
3435 template <> struct GraphTraits<AADepGraphNode *> { struct
3436 using NodeRef = AADepGraphNode *;
3437 using DepTy = PointerIntPair<AADepGraphNode *, 1>;
3438 using EdgeRef = PointerIntPair<AADepGraphNode *, 1>;
3440 static NodeRef getEntryNode(AADepGraphNode *DGN) { return DGN; } in getEntryNode()
3441 static NodeRef DepGetVal(DepTy &DT) { return DT.getPointer(); } in DepGetVal()
3443 using ChildIteratorType =
3445 using ChildEdgeIteratorType = TinyPtrVector<DepTy>::iterator;
3447 static ChildIteratorType child_begin(NodeRef N) { return N->child_begin(); } in child_begin()
3449 static ChildIteratorType child_end(NodeRef N) { return N->child_end(); } in child_end()
3453 struct GraphTraits<AADepGraph *> : public GraphTraits<AADepGraphNode *> { struct
3454 static NodeRef getEntryNode(AADepGraph *DG) { return DG->GetEntryNode(); } in getEntryNode()
3456 using nodes_iterator =
3459 static nodes_iterator nodes_begin(AADepGraph *DG) { return DG->begin(); } in nodes_begin()
3461 static nodes_iterator nodes_end(AADepGraph *DG) { return DG->end(); } in nodes_end()