Lines Matching defs:GraphTraits
2023 template <> struct GraphTraits<DotCfgDiffDisplayGraph *> { struct
2024 using NodeRef = const DisplayNode *;
2025 using ChildIteratorType = DisplayNode::ChildIterator;
2026 using nodes_iterator = DotCfgDiffDisplayGraph::NodeIterator;
2027 using EdgeRef = const DisplayEdge *;
2028 using ChildEdgeIterator = DisplayNode::EdgeIterator;
2030 static NodeRef getEntryNode(const DotCfgDiffDisplayGraph *G) { in getEntryNode()
2033 static ChildIteratorType child_begin(NodeRef N) { in child_begin()
2036 static ChildIteratorType child_end(NodeRef N) { return N->children_end(); } in child_end()
2037 static nodes_iterator nodes_begin(const DotCfgDiffDisplayGraph *G) { in nodes_begin()
2040 static nodes_iterator nodes_end(const DotCfgDiffDisplayGraph *G) { in nodes_end()
2043 static ChildEdgeIterator child_edge_begin(NodeRef N) { in child_edge_begin()
2046 static ChildEdgeIterator child_edge_end(NodeRef N) { return N->edges_end(); } in child_edge_end()
2047 static NodeRef edge_dest(EdgeRef E) { return &E->getDestinationNode(); } in edge_dest()
2048 static unsigned size(const DotCfgDiffDisplayGraph *G) { return G->size(); } in size()