Lines Matching defs:SubGraphTraits
93 struct SubGraphTraits { struct
94 using NodeRef = std::pair<RegionNode *, SmallDenseSet<RegionNode *> *>;
95 using BaseSuccIterator = GraphTraits<RegionNode *>::ChildIteratorType;
99 class WrappedSuccIterator
113 static bool filterAll(const NodeRef &N) { return true; } in filterAll()
114 static bool filterSet(const NodeRef &N) { return N.second->count(N.first); } in filterSet()
116 using ChildIteratorType =
119 static NodeRef getEntryNode(Region *R) { in getEntryNode()
123 static NodeRef getEntryNode(NodeRef N) { return N; } in getEntryNode()
125 static iterator_range<ChildIteratorType> children(const NodeRef &N) { in children()
134 static ChildIteratorType child_begin(const NodeRef &N) { in child_begin()
138 static ChildIteratorType child_end(const NodeRef &N) { in child_end()