Otawa  0.10
otawa::BasicBlock::InstIter Class Reference

Iterator for instructions in the basic block. More...

#include <otawa/cfg/BasicBlock.h>

Inheritance diagram for otawa::BasicBlock::InstIter:
elm::PreIterator< InstIter, Inst * >

Public Member Functions

 InstIter (void)
 
 InstIter (const BasicBlock *bb)
 
bool ended (void) const
 
Institem (void) const
 
void next (void)
 
 operator bool (void) const
 
 operator Inst * (void) const
 
InstIteroperator++ (void)
 
InstIteroperator++ (int)
 
Instoperator* (void) const
 
Instoperator-> (void) const
 

Private Member Functions

 InstIter (Inst *i, Address t)
 

Private Attributes

otawa::Instinst
 
Address top
 

Friends

class Bundle
 

Detailed Description

Iterator for instructions in the basic block.

Constructor & Destructor Documentation

otawa::BasicBlock::InstIter::InstIter ( void  )
inline
otawa::BasicBlock::InstIter::InstIter ( const BasicBlock bb)
inline
otawa::BasicBlock::InstIter::InstIter ( Inst i,
Address  t 
)
inlineprivate

Member Function Documentation

bool otawa::BasicBlock::InstIter::ended ( void  ) const
inline
Inst* otawa::BasicBlock::InstIter::item ( void  ) const
inline
void otawa::BasicBlock::InstIter::next ( void  )
inline
elm::PreIterator< InstIter , Inst * >::operator bool ( void  ) const
inherited
elm::PreIterator< InstIter , Inst * >::operator Inst * ( void  ) const
inherited
Inst * elm::PreIterator< InstIter , Inst * >::operator* ( void  ) const
inherited
InstIter & elm::PreIterator< InstIter , Inst * >::operator++ ( int  )
inherited
InstIter & elm::PreIterator< InstIter , Inst * >::operator++ ( void  )
inherited
Inst * elm::PreIterator< InstIter , Inst * >::operator-> ( void  ) const
inherited

Friends And Related Function Documentation

friend class Bundle
friend

Member Data Documentation

otawa::Inst* otawa::BasicBlock::InstIter::inst
private

Referenced by ended(), InstIter(), item(), and next().

Address otawa::BasicBlock::InstIter::top
private

Referenced by InstIter(), and next().


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