Searched defs:CycleGraphTraits (Results 1 – 5 of 5) sorted by relevance
312 template <typename CycleRefT, typename ChildIteratorT> struct CycleGraphTraits { struct313 using NodeRef = CycleRefT;315 using nodes_iterator = ChildIteratorT;316 using ChildIteratorType = nodes_iterator;318 static NodeRef getEntryNode(NodeRef Graph) { return Graph; } in getEntryNode()320 static ChildIteratorType child_begin(NodeRef Ref) { in child_begin()323 static ChildIteratorType child_end(NodeRef Ref) { return Ref->child_end(); } in child_end()
317 template <typename CycleRefT, typename ChildIteratorT> struct CycleGraphTraits { struct318 using NodeRef = CycleRefT;320 using nodes_iterator = ChildIteratorT;321 using ChildIteratorType = nodes_iterator;323 static NodeRef getEntryNode(NodeRef Graph) { return Graph; } in getEntryNode()325 static ChildIteratorType child_begin(NodeRef Ref) { in child_begin()328 static ChildIteratorType child_end(NodeRef Ref) { return Ref->child_end(); } in child_end()