Home
last modified time | relevance | path

Searched defs:SubGraphTraits (Results 1 – 1 of 1) sorted by relevance

/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DStructurizeCFG.cpp96 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()
[all …]