GCC Middle and Back End API Reference
loops_list::Iter< T > Class Template Reference

#include <cfgloop.h>

Collaboration diagram for loops_list::Iter< T >:

Public Member Functions

 Iter (const loops_list &l, unsigned idx)
 
T operator* () const
 
Iteroperator++ ()
 
bool operator!= (const Iter &rhs) const
 

Private Member Functions

void fill_curr_loop ()
 

Private Attributes

const loops_listlist
 
unsigned curr_idx
 
class loopcurr_loop
 

Constructor & Destructor Documentation

◆ Iter()

template<typename T >
loops_list::Iter< T >::Iter ( const loops_list & l,
unsigned idx )
inline

Member Function Documentation

◆ fill_curr_loop()

template<typename T >
void loops_list::Iter< T >::fill_curr_loop ( )
inlineprivate
Starting from current index CURR_IDX (inclusive), find one index
which stands for one valid loop and fill the found loop as CURR_LOOP,
if we can't find one, set CURR_LOOP as null.   

References curr_loop, and get_loop().

Referenced by loops_list::Iter< T >::Iter(), and loops_list::Iter< T >::operator++().

◆ operator!=()

template<typename T >
bool loops_list::Iter< T >::operator!= ( const Iter< T > & rhs) const
inline

◆ operator*()

template<typename T >
T loops_list::Iter< T >::operator* ( ) const
inline

◆ operator++()

Field Documentation

◆ curr_idx

template<typename T >
unsigned loops_list::Iter< T >::curr_idx
private

◆ curr_loop

template<typename T >
class loop* loops_list::Iter< T >::curr_loop
private

◆ list

template<typename T >
const loops_list& loops_list::Iter< T >::list
private

The documentation for this class was generated from the following file: