Lines Matching defs:GraphTraits
4130 template <> struct GraphTraits<AADepGraphNode *> { struct
4131 using NodeRef = AADepGraphNode *;
4132 using DepTy = PointerIntPair<AADepGraphNode *, 1>;
4133 using EdgeRef = PointerIntPair<AADepGraphNode *, 1>;
4135 static NodeRef getEntryNode(AADepGraphNode *DGN) { return DGN; } in getEntryNode()
4136 static NodeRef DepGetVal(const DepTy &DT) { return DT.getPointer(); } in DepGetVal()
4138 using ChildIteratorType =
4140 using ChildEdgeIteratorType = AADepGraphNode::DepSetTy::iterator;
4142 static ChildIteratorType child_begin(NodeRef N) { return N->child_begin(); } in child_begin()
4144 static ChildIteratorType child_end(NodeRef N) { return N->child_end(); } in child_end()
4148 struct GraphTraits<AADepGraph *> : public GraphTraits<AADepGraphNode *> { struct
4149 static NodeRef getEntryNode(AADepGraph *DG) { return DG->GetEntryNode(); } in getEntryNode()
4151 using nodes_iterator =
4154 static nodes_iterator nodes_begin(AADepGraph *DG) { return DG->begin(); } in nodes_begin()
4156 static nodes_iterator nodes_end(AADepGraph *DG) { return DG->end(); } in nodes_end()