Otawa
0.10
|
An instruction represented in an ExeGraph. More...
#include <>>
Classes | |
class | NodeIterator |
Iterator on the list of nodes related to the instruction. More... | |
Public Member Functions | |
ExeInst (Inst *inst, BasicBlock *bb, typename ExeGraph< N >::code_part_t part, int index) | |
Constructor. More... | |
Inst * | inst () |
ExeGraph< N >::code_part_t | codePart () |
int | index () |
void | setIndex (int index) |
Sets the instruction index. More... | |
void | addNode (N *node) |
Adds a node to the list of nodes related to this instruction. More... | |
void | deleteNodes () |
Clears the list of nodes related to this instruction. More... | |
N * | firstNode () |
N * | lastNode () |
BasicBlock * | basicBlock () |
Private Attributes | |
Inst * | _inst |
BasicBlock * | _bb |
int | _index |
ExeGraph< N >::code_part_t | _part |
elm::genstruct::DLList< N * > | _nodes |
An instruction represented in an ExeGraph.
Type | of execution graph nodes. |
|
inline |
Constructor.
inst | The instruction in the CFG. |
bb | The basic block it belongs to. |
part | The part (BEFORE_PROLOGUE, PROLOGUE, BODY, EPILOGUE) it belongs to. |
index | The index of the instruction in the execution graph. |
|
inline |
Adds a node to the list of nodes related to this instruction.
node | The node to add to the list of nodes related to the instruction. |
|
inline |
|
inline |
Referenced by otawa::LiExeNode::LiExeNode().
|
inline |
Clears the list of nodes related to this instruction.
|
inline |
|
inline |
Referenced by otawa::ExeGraph< N >::ExeNode::ExeNode(), otawa::ParamExeGraph::initDelays(), and otawa::ExeInst< otawa::ParamExeNode >::setIndex().
|
inline |
|
inline |
|
inline |
Sets the instruction index.
index | New instruction index. |
|
private |
Referenced by otawa::ExeInst< otawa::ParamExeNode >::basicBlock().
|
private |
|
private |
Referenced by otawa::ExeInst< otawa::ParamExeNode >::inst().
|
private |
|
private |
Referenced by otawa::ExeInst< otawa::ParamExeNode >::codePart().