Lines Matching defs:GraphTraits
1746 template <> struct GraphTraits<DotCfgDiffDisplayGraph *> { struct
1747 using NodeRef = const DisplayNode *;
1748 using ChildIteratorType = DisplayNode::ChildIterator;
1749 using nodes_iterator = DotCfgDiffDisplayGraph::NodeIterator;
1750 using EdgeRef = const DisplayEdge *;
1751 using ChildEdgeIterator = DisplayNode::EdgeIterator;
1753 static NodeRef getEntryNode(const DotCfgDiffDisplayGraph *G) { in getEntryNode()
1756 static ChildIteratorType child_begin(NodeRef N) { in child_begin()
1759 static ChildIteratorType child_end(NodeRef N) { return N->children_end(); } in child_end()
1760 static nodes_iterator nodes_begin(const DotCfgDiffDisplayGraph *G) { in nodes_begin()
1763 static nodes_iterator nodes_end(const DotCfgDiffDisplayGraph *G) { in nodes_end()
1766 static ChildEdgeIterator child_edge_begin(NodeRef N) { in child_edge_begin()
1769 static ChildEdgeIterator child_edge_end(NodeRef N) { return N->edges_end(); } in child_edge_end()
1770 static NodeRef edge_dest(EdgeRef E) { return &E->getDestinationNode(); } in edge_dest()
1771 static unsigned size(const DotCfgDiffDisplayGraph *G) { return G->size(); } in size()