Otawa
0.10
|
Iterator for instructions in the basic block. More...
#include <otawa/cfg/BasicBlock.h>
Public Member Functions | |
InstIter (void) | |
InstIter (const BasicBlock *bb) | |
bool | ended (void) const |
Inst * | item (void) const |
void | next (void) |
operator bool (void) const | |
operator Inst * (void) const | |
InstIter & | operator++ (void) |
InstIter & | operator++ (int) |
Inst * | operator* (void) const |
Inst * | operator-> (void) const |
Private Member Functions | |
InstIter (Inst *i, Address t) | |
Private Attributes | |
otawa::Inst * | inst |
Address | top |
Friends | |
class | Bundle |
Iterator for instructions in the basic block.
|
inline |
|
inline |
References otawa::BasicBlock::firstInst(), inst, otawa::BasicBlock::isEnd(), top, and otawa::BasicBlock::topAddress().
|
inline |
References inst.
Referenced by otawa::stack::Iter::ended(), otawa::sim::BasicBlockDriver::nextInstruction(), and otawa::sim::BBPathDriver::nextInstruction().
|
inline |
References inst.
Referenced by otawa::sim::BBPathDriver::nextInstruction().
|
inline |
References inst, otawa::Inst::nextInst(), top, and otawa::ProgItem::topAddress().
Referenced by otawa::sim::BasicBlockDriver::nextInstruction(), and otawa::sim::BBPathDriver::nextInstruction().
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
friend |
|
private |
Referenced by ended(), InstIter(), item(), and next().
|
private |
Referenced by InstIter(), and next().