The AST traversal class. More...
#include <ooo_instrumentation.h>
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. | |
The AST traversal class.
| risc::inst::InstrumentationTraversal::InstrumentationTraversal | ( | SgType * | variableType, | |
| SgExpression * | PrimChnlVarRefExp, | |||
| SgExpression * | SCChnlVarRefExp, | |||
| SgClassDefinition * | SCModuleClassDef, | |||
| std::map< SgNode *, int > & | FuncCallExptoID, | |||
| std::string | design_file_name | |||
| ) |
| void risc::inst::InstrumentationTraversal::visit | ( | SgNode * | astNode | ) | [virtual] |
| SgFunctionDeclaration* risc::inst::InstrumentationTraversal::first_func_decl_that_contains_wait |
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.
1.6.1