|
LLVM
4.0.0
|
Hierarchical RegionNode successor iterator. More...
#include <RegionIterator.h>
Public Types | |
| typedef RNSuccIterator < NodeRef, BlockT, RegionT > | Self |
| typedef super::value_type | value_type |
Public Member Functions | |
| RNSuccIterator (NodeRef node) | |
| Create begin iterator of a RegionNode. More... | |
| RNSuccIterator (NodeRef node, bool) | |
| Create an end iterator. More... | |
| bool | operator== (const Self &x) const |
| bool | operator!= (const Self &x) const |
| value_type | operator* () const |
| Self & | operator++ () |
| Self | operator++ (int) |
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.
Definition at line 34 of file RegionIterator.h.
| typedef RNSuccIterator<NodeRef, BlockT, RegionT> llvm::RNSuccIterator< NodeRef, BlockT, RegionT >::Self |
Definition at line 96 of file RegionIterator.h.
| typedef super::value_type llvm::RNSuccIterator< NodeRef, BlockT, RegionT >::value_type |
Definition at line 98 of file RegionIterator.h.
|
inline |
Create begin iterator of a RegionNode.
Definition at line 101 of file RegionIterator.h.
|
inline |
Create an end iterator.
Definition at line 115 of file RegionIterator.h.
|
inline |
Definition at line 127 of file RegionIterator.h.
References llvm::RNSuccIterator< NodeRef, BlockT, RegionT >::operator==().
|
inline |
Definition at line 129 of file RegionIterator.h.
References assert().
|
inline |
Definition at line 135 of file RegionIterator.h.
|
inline |
Definition at line 149 of file RegionIterator.h.
|
inline |
Definition at line 119 of file RegionIterator.h.
References assert(), and llvm::PointerIntPair< PointerTy, IntBits, IntType, PtrTraits, Info >::getInt().
Referenced by llvm::RNSuccIterator< NodeRef, BlockT, RegionT >::operator!=(), and llvm::RNSuccIterator< FlatIt< NodeRef >, BlockT, RegionT >::operator!=().
1.8.6