LLVM 20.0.0git
|
Flat RegionNode iterator. More...
#include "llvm/Analysis/RegionIterator.h"
Public Types | |
using | iterator_category = std::forward_iterator_tag |
using | value_type = NodeRef |
using | difference_type = std::ptrdiff_t |
using | pointer = value_type * |
using | reference = value_type & |
using | Self = RNSuccIterator< FlatIt< NodeRef >, BlockT, RegionT > |
Public Member Functions | |
RNSuccIterator (NodeRef node) | |
Create the iterator from a RegionNode. | |
RNSuccIterator (NodeRef node, bool) | |
Create an end iterator. | |
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 170 of file RegionIterator.h.
using llvm::RNSuccIterator< FlatIt< NodeRef >, BlockT, RegionT >::difference_type = std::ptrdiff_t |
Definition at line 180 of file RegionIterator.h.
using llvm::RNSuccIterator< FlatIt< NodeRef >, BlockT, RegionT >::iterator_category = std::forward_iterator_tag |
Definition at line 178 of file RegionIterator.h.
using llvm::RNSuccIterator< FlatIt< NodeRef >, BlockT, RegionT >::pointer = value_type * |
Definition at line 181 of file RegionIterator.h.
using llvm::RNSuccIterator< FlatIt< NodeRef >, BlockT, RegionT >::reference = value_type & |
Definition at line 182 of file RegionIterator.h.
using llvm::RNSuccIterator< FlatIt< NodeRef >, BlockT, RegionT >::Self = RNSuccIterator<FlatIt<NodeRef>, BlockT, RegionT> |
Definition at line 184 of file RegionIterator.h.
using llvm::RNSuccIterator< FlatIt< NodeRef >, BlockT, RegionT >::value_type = NodeRef |
Definition at line 179 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 190 of file RegionIterator.h.
References assert().
|
inline |
|
inline |
Definition at line 216 of file RegionIterator.h.
|
inline |
Definition at line 218 of file RegionIterator.h.
References assert().
|
inline |
Definition at line 231 of file RegionIterator.h.
References llvm::succ_end().
|
inline |
Definition at line 241 of file RegionIterator.h.
|
inline |
Definition at line 209 of file RegionIterator.h.
References assert().