ilang
1.1.4
ILAng: A Modeling and Verification Platform for SoCs
|
Node for instruction-transition node, each node represent an instruction. More...
#include <transition.h>
Public Types | |
typedef std::shared_ptr < InstrTranNode > | ItNodePtr |
Pointer type for ITNode. | |
Public Member Functions | |
InstrTranNode (const InstrPtr &instr) | |
Default constructor. | |
~InstrTranNode () | |
Default destructir. | |
const InstrPtr | instr () const |
Return the represented instruction. | |
size_t | next_num () const |
Return the number of out-going node. | |
size_t | prev_num () const |
Return the number of in-comming node. | |
const ItNodePtr | next (const size_t &i) const |
Access the i-th out-going node. | |
const ItNodePtr | prev (const size_t &i) const |
Access the i-th in-comming node. | |
void | AddNext (const ItNodePtr &next) |
Update the set of out-going node. | |
void | AddPrev (const ItNodePtr &prev) |
Update the set of in-comming node. | |
Node for instruction-transition node, each node represent an instruction.