|
LLVM
4.0.0
|
Flat RegionNode iterator. More...
#include <RegionIterator.h>
Public Types | |
| typedef RNSuccIterator< FlatIt < NodeRef >, BlockT, RegionT > | Self |
| typedef super::value_type | value_type |
Public Member Functions | |
| RNSuccIterator (NodeRef node) | |
| Create the iterator from 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) |
Flat RegionNode iterator.
The Flat Region iterator will iterate over all BasicBlock RegionNodes that are contained in the Region and its subregions. This is close to a virtual control flow graph of the Region.
Definition at line 164 of file RegionIterator.h.
| typedef RNSuccIterator<FlatIt<NodeRef>, BlockT, RegionT> llvm::RNSuccIterator< FlatIt< NodeRef >, BlockT, RegionT >::Self |
Definition at line 174 of file RegionIterator.h.
| typedef super::value_type llvm::RNSuccIterator< FlatIt< NodeRef >, BlockT, RegionT >::value_type |
Definition at line 175 of file RegionIterator.h.
|
inline |
Create the iterator from a RegionNode.
Note that the incoming node must be a bb node, otherwise it will trigger an assertion when we try to get a BasicBlock.
Definition at line 181 of file RegionIterator.h.
References assert().
|
inline |
|
inline |
Definition at line 207 of file RegionIterator.h.
References llvm::RNSuccIterator< NodeRef, BlockT, RegionT >::operator==().
|
inline |
Definition at line 209 of file RegionIterator.h.
References assert().
|
inline |
Definition at line 222 of file RegionIterator.h.
References llvm::succ_end().
|
inline |
Definition at line 232 of file RegionIterator.h.
|
inline |
Definition at line 200 of file RegionIterator.h.
References assert().
1.8.6