risc::inst::InstrumentationTraversal Class Reference

The AST traversal class. More...

#include <ooo_instrumentation.h>

List of all members.

Public Member Functions

 InstrumentationTraversal (SgType *, SgExpression *, SgExpression *, SgClassDefinition *, std::map< SgNode *, int > &, std::string)
virtual void visit (SgNode *astNode)

Public Attributes

bool _psg_off_instrumented
SgFunctionDeclaration * first_func_decl_that_contains_wait
std::string design_file_name

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.

Detailed Description

The AST traversal class.


Constructor & Destructor Documentation

risc::inst::InstrumentationTraversal::InstrumentationTraversal ( SgType *  variableType,
SgExpression *  PrimChnlVarRefExp,
SgExpression *  SCChnlVarRefExp,
SgClassDefinition *  SCModuleClassDef,
std::map< SgNode *, int > &  FuncCallExptoID,
std::string  design_file_name 
)

Member Function Documentation

void risc::inst::InstrumentationTraversal::visit ( SgNode *  astNode  )  [virtual]

Member Data Documentation

std::map<SgNode*, int>& risc::inst::InstrumentationTraversal::FuncCallExptoID [private]

Mapping from SgNode to segment ID.

Reference expression of m_mutex in sc_core::sc_prim_channel.

Reference expression of m_mutex in sc_core::sc_channel.

SgClassDefinition of "::sc_core::sc_module".

Type of sc_core::chnl_scoped_lock.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 12 Jun 2018 by  doxygen 1.6.1