ilang  1.1.4
ILAng: A Modeling and Verification Platform for SoCs
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Macros
Public Types | Public Member Functions | List of all members
ilang::InstrTranNode Class Reference

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.
 

Detailed Description

Node for instruction-transition node, each node represent an instruction.


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