systemc-clang 2.0.0
Parsing SystemC constructs
|
#include <Model.h>
Public Types | |
typedef std::pair< std::string, ModuleInstance * > | modulePairType |
typedef std::vector< modulePairType > | moduleMapType |
typedef std::pair< std::string, EventContainer * > | eventPairType |
typedef std::map< std::string, EventContainer * > | eventMapType |
typedef std::pair< ModuleInstance *, std::vector< ModuleInstance * > > | moduleInstancePairType |
typedef std::map< ModuleInstance *, std::vector< ModuleInstance * > > | moduleInstanceMapType |
typedef pair< EntryFunctionContainer *, FindGPUMacro::forStmtGPUMacroMapType > | entryFunctionGPUMacroPairType |
typedef map< EntryFunctionContainer *, FindGPUMacro::forStmtGPUMacroMapType > | entryFunctionGPUMacroMapType |
Public Member Functions | |
Model () | |
virtual | ~Model () |
void | addInstance (ModuleInstance *) |
void | addSimulationTime (FindSimTime::simulationTimeMapType) |
void | addGlobalEvents (FindGlobalEvents::globalEventMapType) |
void | addSCMain (FunctionDecl *) |
void | addEntryFunctionGPUMacroMap (entryFunctionGPUMacroMapType) |
void | updateModuleDecl () |
void | populateNestedModules () |
ModuleInstance * | getInstance (const std::string &instance_name) |
ModuleInstance * | getInstance (Decl *instance_decl) |
ModuleInstance * | getRootModuleInstance () const |
entryFunctionGPUMacroMapType | getEntryFunctionGPUMacroMap () |
eventMapType | getEventMapType () |
std::vector< ModuleInstance * > & | getInstances () |
unsigned int | getNumEvents () |
std::vector< Transition * > | getGSauto () |
void | dump (raw_ostream &) |
Private Member Functions | |
Model (const Model &) | |
std::map<std::string, EventContainer *> systemc_clang::Model::eventMapType |
std::pair<std::string, EventContainer *> systemc_clang::Model::eventPairType |
std::map<ModuleInstance *, std::vector<ModuleInstance *> > systemc_clang::Model::moduleInstanceMapType |
std::pair<ModuleInstance *, std::vector<ModuleInstance *> > systemc_clang::Model::moduleInstancePairType |
std::vector<modulePairType> systemc_clang::Model::moduleMapType |
std::pair<std::string, ModuleInstance *> systemc_clang::Model::modulePairType |
|
private |
void Model::addEntryFunctionGPUMacroMap | ( | entryFunctionGPUMacroMapType | e | ) |
void Model::addGlobalEvents | ( | FindGlobalEvents::globalEventMapType | eventMap | ) |
void Model::addInstance | ( | ModuleInstance * | mod | ) |
void Model::addSimulationTime | ( | FindSimTime::simulationTimeMapType | simTime | ) |
Model::entryFunctionGPUMacroMapType Model::getEntryFunctionGPUMacroMap | ( | ) |
Model::eventMapType Model::getEventMapType | ( | ) |
std::vector< Transition * > systemc_clang::Model::getGSauto | ( | ) |
ModuleInstance * Model::getInstance | ( | const std::string & | instance_name | ) |
ModuleInstance * Model::getInstance | ( | Decl * | instance_decl | ) |
std::vector< ModuleInstance * > & Model::getInstances | ( | ) |
ModuleInstance * Model::getRootModuleInstance | ( | ) | const |
void Model::populateNestedModules | ( | ) |
This is a ModuleInstance that has no parent. This means that it is a root note.
void systemc_clang::Model::updateModuleDecl | ( | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |