LLVM API Documentation
Hierarchical RegionNode successor iterator. More...
#include <RegionIterator.h>
Public Types | |
typedef RNSuccIterator< NodeType > | Self |
typedef super::pointer | pointer |
Public Member Functions | |
RNSuccIterator (NodeType *node) | |
Create begin iterator of a RegionNode. More... | |
RNSuccIterator (NodeType *node, bool) | |
Create an end iterator. More... | |
bool | operator== (const Self &x) const |
bool | operator!= (const Self &x) const |
pointer | operator* () const |
Self & | operator++ () |
Self | operator++ (int) |
const Self & | operator= (const Self &I) |
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 super::pointer llvm::RNSuccIterator< NodeType >::pointer |
Definition at line 89 of file RegionIterator.h.
typedef RNSuccIterator<NodeType> llvm::RNSuccIterator< NodeType >::Self |
Definition at line 87 of file RegionIterator.h.
|
inline |
Create begin iterator of a RegionNode.
Definition at line 92 of file RegionIterator.h.
References llvm::succ_end().
|
inline |
Create an end iterator.
Definition at line 107 of file RegionIterator.h.
|
inline |
Definition at line 119 of file RegionIterator.h.
References llvm::RNSuccIterator< NodeType >::operator==().
|
inline |
Definition at line 121 of file RegionIterator.h.
|
inline |
Definition at line 127 of file RegionIterator.h.
References llvm::succ_end().
|
inline |
Definition at line 141 of file RegionIterator.h.
|
inline |
Definition at line 147 of file RegionIterator.h.
References getParent().
|
inline |
Definition at line 111 of file RegionIterator.h.
References llvm::PointerIntPair< PointerTy, IntBits, IntType, PtrTraits >::getInt().
Referenced by llvm::RNSuccIterator< NodeType >::operator!=(), and llvm::RNSuccIterator< FlatIt< NodeType > >::operator!=().