Lines Matching defs:SubGraphTraits
97 struct SubGraphTraits { struct
98 using NodeRef = std::pair<RegionNode *, SmallDenseSet<RegionNode *> *>;
99 using BaseSuccIterator = GraphTraits<RegionNode *>::ChildIteratorType;
103 class WrappedSuccIterator
117 static bool filterAll(const NodeRef &N) { return true; } in filterAll()
118 static bool filterSet(const NodeRef &N) { return N.second->count(N.first); } in filterSet()
120 using ChildIteratorType =
123 static NodeRef getEntryNode(Region *R) { in getEntryNode()
127 static NodeRef getEntryNode(NodeRef N) { return N; } in getEntryNode()
129 static iterator_range<ChildIteratorType> children(const NodeRef &N) { in children()
138 static ChildIteratorType child_begin(const NodeRef &N) { in child_begin()
142 static ChildIteratorType child_end(const NodeRef &N) { in child_end()