LLVM API Documentation
Flat RegionNode iterator. More...
#include <RegionIterator.h>
Public Types | |
typedef RNSuccIterator< FlatIt < NodeType >, BlockT, RegionT > | Self |
typedef super::pointer | pointer |
Public Member Functions | |
RNSuccIterator (NodeType *node) | |
Create the iterator from 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) |
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 168 of file RegionIterator.h.
typedef super::pointer llvm::RNSuccIterator< FlatIt< NodeType >, BlockT, RegionT >::pointer |
Definition at line 179 of file RegionIterator.h.
typedef RNSuccIterator<FlatIt<NodeType>, BlockT, RegionT> llvm::RNSuccIterator< FlatIt< NodeType >, BlockT, RegionT >::Self |
Definition at line 178 of file RegionIterator.h.
llvm::RNSuccIterator< FlatIt< NodeType >, BlockT, RegionT >::RNSuccIterator | ( | NodeType * | node | ) | [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 185 of file RegionIterator.h.
llvm::RNSuccIterator< FlatIt< NodeType >, BlockT, RegionT >::RNSuccIterator | ( | NodeType * | node, |
bool | |||
) | [inline] |
Create an end iterator.
Definition at line 199 of file RegionIterator.h.
bool llvm::RNSuccIterator< FlatIt< NodeType >, BlockT, RegionT >::operator!= | ( | const Self & | x | ) | const [inline] |
Definition at line 213 of file RegionIterator.h.
References llvm::RNSuccIterator< NodeType, BlockT, RegionT >::operator==().
pointer llvm::RNSuccIterator< FlatIt< NodeType >, BlockT, RegionT >::operator* | ( | ) | const [inline] |
Definition at line 215 of file RegionIterator.h.
Self& llvm::RNSuccIterator< FlatIt< NodeType >, BlockT, RegionT >::operator++ | ( | ) | [inline] |
Definition at line 228 of file RegionIterator.h.
References llvm::succ_end().
Self llvm::RNSuccIterator< FlatIt< NodeType >, BlockT, RegionT >::operator++ | ( | int | ) | [inline] |
Definition at line 238 of file RegionIterator.h.
const Self& llvm::RNSuccIterator< FlatIt< NodeType >, BlockT, RegionT >::operator= | ( | const Self & | I | ) | [inline] |
Definition at line 244 of file RegionIterator.h.
bool llvm::RNSuccIterator< FlatIt< NodeType >, BlockT, RegionT >::operator== | ( | const Self & | x | ) | const [inline] |
Definition at line 206 of file RegionIterator.h.