class RNSuccIterator
Declaration
template <class NodeRef, class BlockT, class RegionT>
class RNSuccIterator { /* full declaration omitted */ };
Description
Hierarchical RegionNode successor iterator. This iterator iterates over all successors of a RegionNode. For a BasicBlock RegionNode it skips all BasicBlocks that are not part of the parent Region. Furthermore for BasicBlocks that start a subregion, a RegionNode representing the subregion is returned. For a subregion RegionNode there is just one successor. The RegionNode representing the exit of the subregion.
Declared at: llvm/include/llvm/Analysis/RegionIterator.h:39
Templates
- NodeRef
- BlockT
- RegionT
Method Overview
- public inline RNSuccIterator<NodeRef, BlockT, RegionT>(NodeRef node)
- public inline RNSuccIterator<NodeRef, BlockT, RegionT>(NodeRef node, bool)
Methods
¶inline RNSuccIterator<NodeRef, BlockT, RegionT>(
NodeRef node)
inline RNSuccIterator<NodeRef, BlockT, RegionT>(
NodeRef node)
Description
Create begin iterator of a RegionNode.
Declared at: llvm/include/llvm/Analysis/RegionIterator.h:105
Parameters
- NodeRef node
¶inline RNSuccIterator<NodeRef, BlockT, RegionT>(
NodeRef node,
bool)
inline RNSuccIterator<NodeRef, BlockT, RegionT>(
NodeRef node,
bool)
Description
Create an end iterator.
Declared at: llvm/include/llvm/Analysis/RegionIterator.h:118
Parameters
- NodeRef node
- bool