LLVM API Documentation
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. | |
RNSuccIterator (NodeType *node, bool) | |
Create an end iterator. | |
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, 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.
llvm::RNSuccIterator< NodeType, BlockT, RegionT >::RNSuccIterator | ( | NodeType * | node | ) | [inline] |
Create begin iterator of a RegionNode.
Definition at line 95 of file RegionIterator.h.
llvm::RNSuccIterator< NodeType, BlockT, RegionT >::RNSuccIterator | ( | NodeType * | node, |
bool | |||
) | [inline] |
Create an end iterator.
Definition at line 109 of file RegionIterator.h.
bool llvm::RNSuccIterator< NodeType, BlockT, RegionT >::operator!= | ( | const Self & | x | ) | const [inline] |
Definition at line 121 of file RegionIterator.h.
References llvm::RNSuccIterator< NodeType, BlockT, RegionT >::operator==().
pointer llvm::RNSuccIterator< NodeType, BlockT, RegionT >::operator* | ( | ) | const [inline] |
Definition at line 123 of file RegionIterator.h.
Self& llvm::RNSuccIterator< NodeType, BlockT, RegionT >::operator++ | ( | ) | [inline] |
Definition at line 129 of file RegionIterator.h.
References getEntry().
Self llvm::RNSuccIterator< NodeType, BlockT, RegionT >::operator++ | ( | int | ) | [inline] |
Definition at line 143 of file RegionIterator.h.
const Self& llvm::RNSuccIterator< NodeType, BlockT, RegionT >::operator= | ( | const Self & | I | ) | [inline] |
Definition at line 149 of file RegionIterator.h.
References getParent().
bool llvm::RNSuccIterator< NodeType, BlockT, RegionT >::operator== | ( | const Self & | x | ) | const [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!=().