The AST traversal class. More...
#include <ooo_instrumentation.h>
Public Member Functions | |
InstrumentationTraversal (SgType *, SgExpression *, SgExpression *, SgClassDefinition *, std::map< SgNode *, int > &) | |
virtual void | visit (SgNode *astNode) |
Private Attributes | |
SgType * | variableType |
Type of sc_core::chnl_scoped_lock. | |
SgExpression * | PrimChnlVarRefExp |
Reference expression of m_mutex in sc_core::sc_prim_channel. | |
SgExpression * | SCChnlVarRefExp |
Reference expression of m_mutex in sc_core::sc_channel. | |
SgClassDefinition * | SCModuleClassDef |
SgClassDefinition of "::sc_core::sc_module". | |
std::map< SgNode *, int > & | FuncCallExptoID |
Mapping from SgNode to segment ID. |
The AST traversal class.
risc::inst::InstrumentationTraversal::InstrumentationTraversal | ( | SgType * | variableType, | |
SgExpression * | PrimChnlVarRefExp, | |||
SgExpression * | SCChnlVarRefExp, | |||
SgClassDefinition * | SCModuleClassDef, | |||
std::map< SgNode *, int > & | FuncCallExptoID | |||
) |
void risc::inst::InstrumentationTraversal::visit | ( | SgNode * | astNode | ) | [virtual] |
std::map<SgNode*, int>& risc::inst::InstrumentationTraversal::FuncCallExptoID [private] |
Mapping from SgNode to segment ID.
SgExpression* risc::inst::InstrumentationTraversal::PrimChnlVarRefExp [private] |
Reference expression of m_mutex in sc_core::sc_prim_channel.
SgExpression* risc::inst::InstrumentationTraversal::SCChnlVarRefExp [private] |
Reference expression of m_mutex in sc_core::sc_channel.
SgClassDefinition* risc::inst::InstrumentationTraversal::SCModuleClassDef [private] |
SgClassDefinition of "::sc_core::sc_module".
SgType* risc::inst::InstrumentationTraversal::variableType [private] |
Type of sc_core::chnl_scoped_lock.