|
LLVM
3.7.0
|
Hierarchical RegionNode successor iterator. More...
#include <RegionIterator.h>
Public Types | |
| typedef RNSuccIterator < NodeType, BlockT, RegionT > | 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) |
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, BlockT, RegionT >::pointer |
Definition at line 92 of file RegionIterator.h.
| typedef RNSuccIterator<NodeType, BlockT, RegionT> llvm::RNSuccIterator< NodeType, BlockT, RegionT >::Self |
Definition at line 90 of file RegionIterator.h.
|
inline |
Create begin iterator of a RegionNode.
Definition at line 95 of file RegionIterator.h.
|
inline |
Create an end iterator.
Definition at line 109 of file RegionIterator.h.
|
inline |
Definition at line 121 of file RegionIterator.h.
References llvm::RNSuccIterator< NodeType, BlockT, RegionT >::operator==().
|
inline |
Definition at line 123 of file RegionIterator.h.
|
inline |
Definition at line 129 of file RegionIterator.h.
|
inline |
Definition at line 143 of file RegionIterator.h.
|
inline |
Definition at line 113 of file RegionIterator.h.
References llvm::PointerIntPair< PointerTy, IntBits, IntType, PtrTraits >::getInt().
Referenced by llvm::RNSuccIterator< NodeType, BlockT, RegionT >::operator!=(), and llvm::RNSuccIterator< FlatIt< NodeType >, BlockT, RegionT >::operator!=().
1.8.6