Lines Matching defs:SubGraphTraits
96 struct SubGraphTraits { struct
97 using NodeRef = std::pair<RegionNode *, SmallDenseSet<RegionNode *> *>;
98 using BaseSuccIterator = GraphTraits<RegionNode *>::ChildIteratorType;
102 class WrappedSuccIterator
116 static bool filterAll(const NodeRef &N) { return true; } in filterAll()
117 static bool filterSet(const NodeRef &N) { return N.second->count(N.first); } in filterSet()
119 using ChildIteratorType =
122 static NodeRef getEntryNode(Region *R) { in getEntryNode()
126 static NodeRef getEntryNode(NodeRef N) { return N; } in getEntryNode()
128 static iterator_range<ChildIteratorType> children(const NodeRef &N) { in children()
137 static ChildIteratorType child_begin(const NodeRef &N) { in child_begin()
141 static ChildIteratorType child_end(const NodeRef &N) { in child_end()