Post‐order traversal using an external visited set.
Synopsis
Declared in <llvm/ADT/PostOrderIterator.h>
template<
typename GraphT,
typename SetType>
class PostOrderExtTraversal
: public PostOrderTraversalBase<PostOrderExtTraversal<GraphT, SetType>, GraphTraits<GraphT>>
Description
The set can retain visited nodes after the walk and skip nodes already present. See PostOrderTraversal for lifetime restrictions.
Base Classes
Name |
Description |
|
CRTP base for a single post‐order graph walk. |
Types
Name |
Description |
Input iterator yielding nodes in post‐order during a single traversal. |
Member Functions
Name |
Description |
|
Traverse |
Iterator to the current post‐order node, or end if none remain. |
|
Past‐the‐end iterator for this traversal. |
|
Callback just before the iterator moves to the next block. |
|
Record edge |