systemc-clang 2.0.0
Parsing SystemC constructs
|
#include <EntryFunctionContainer.h>
Public Types | |
typedef std::vector< WaitContainer * > | waitContainerListType |
typedefs | |
typedef std::vector< NotifyContainer * > | notifyContainerListType |
typedef std::pair< int, SuspensionAutomata::transitionVectorType > | instanceSautoPairType |
typedef std::map< int, SuspensionAutomata::transitionVectorType > | instanceSautoMapType |
typedef std::pair< int, SuspensionAutomata::susCFGVectorType > | instanceSusCFGPairType |
typedef std::map< int, SuspensionAutomata::susCFGVectorType > | instanceSusCFGMapType |
typedef std::tuple< std::string, clang::ValueDecl *, clang::MemberExpr *, clang::VarDecl *, clang::ArraySubscriptExpr *, clang::ForStmt * > | SensitivityTupleType |
typedef std::pair< std::string, std::vector< SensitivityTupleType > > | SensitivityPairType |
typedef std::map< std::string, std::vector< SensitivityTupleType > > | SenseMapType |
Public Member Functions | |
EntryFunctionContainer () | |
EntryFunctionContainer (std::string, PROCESS_TYPE, clang::CXXMethodDecl *, clang::Stmt *) | |
EntryFunctionContainer (const EntryFunctionContainer &) | |
virtual | ~EntryFunctionContainer () |
Destructor. | |
std::string | getName () |
clang::CXXMethodDecl * | getEntryMethod () |
PROCESS_TYPE | getProcessType () |
waitContainerListType | getWaitCalls () |
notifyContainerListType | getNotifyCalls () |
SenseMapType | getSenseMap () |
SuspensionAutomata::susCFGVectorType | getSusCFG () |
SuspensionAutomata::transitionVectorType | getSusAuto () |
instanceSautoMapType | getInstanceSautoMap () |
instanceSusCFGMapType | getInstanceSusCFGMap () |
void | addSensitivityInfo (SenseMapType &) |
void | addWaits (FindWait &) |
void | addNotifys (FindNotify &) |
void | addSusCFGAuto (SuspensionAutomata &) |
void | setName (std::string) |
void | setProcessType (PROCESS_TYPE) |
void | setEntryMethod (clang::CXXMethodDecl *) |
void | dumpSusCFG (llvm::raw_ostream &) |
void | dumpSauto (llvm::raw_ostream &) |
void | dump (llvm::raw_ostream &) |
void | addResetSignal (std::pair< std::string, const clang::Expr * > reset_signal) |
void | addResetEdge (std::pair< std::string, const clang::Expr * > reset_edge) |
void | addResetType (bool reset_type) |
const std::pair< std::string, const clang::Expr * > | getResetSignal () const |
const std::pair< std::string, const clang::Expr * > | getResetEdge () const |
bool | isResetAsync () const |
Public Attributes | |
std::string | entry_name_ |
PROCESS_TYPE | process_type_ |
clang::CXXMethodDecl * | entry_method_decl_ |
waitContainerListType | _waitCalls |
notifyContainerListType | _notifyCalls |
SenseMapType | senseMap_ |
std::vector< Transition * > | _susAuto |
std::vector< SusCFG * > | _susCFG |
std::pair< std::string, const clang::Expr * > | reset_signal_ |
Reset information. | |
std::pair< std::string, const clang::Expr * > | reset_edge_ |
bool | reset_type_async_ |
Definition at line 65 of file EntryFunctionContainer.h.
std::map<int, SuspensionAutomata::transitionVectorType> systemc_clang::EntryFunctionContainer::instanceSautoMapType |
Definition at line 74 of file EntryFunctionContainer.h.
std::pair<int, SuspensionAutomata::transitionVectorType> systemc_clang::EntryFunctionContainer::instanceSautoPairType |
Definition at line 72 of file EntryFunctionContainer.h.
std::map<int, SuspensionAutomata::susCFGVectorType> systemc_clang::EntryFunctionContainer::instanceSusCFGMapType |
Definition at line 79 of file EntryFunctionContainer.h.
std::pair<int, SuspensionAutomata::susCFGVectorType> systemc_clang::EntryFunctionContainer::instanceSusCFGPairType |
Definition at line 77 of file EntryFunctionContainer.h.
Definition at line 69 of file EntryFunctionContainer.h.
std::map<std::string, std::vector<SensitivityTupleType> > systemc_clang::EntryFunctionContainer::SenseMapType |
Definition at line 88 of file EntryFunctionContainer.h.
std::pair<std::string, std::vector<SensitivityTupleType> > systemc_clang::EntryFunctionContainer::SensitivityPairType |
Definition at line 86 of file EntryFunctionContainer.h.
std::tuple<std::string, clang::ValueDecl *, clang::MemberExpr *, clang::VarDecl*, clang::ArraySubscriptExpr *, clang::ForStmt *> systemc_clang::EntryFunctionContainer::SensitivityTupleType |
Definition at line 84 of file EntryFunctionContainer.h.
typedefs
Definition at line 68 of file EntryFunctionContainer.h.
EntryFunctionContainer::EntryFunctionContainer | ( | ) |
Definition at line 10 of file EntryFunctionContainer.cpp.
systemc_clang::EntryFunctionContainer::EntryFunctionContainer | ( | std::string | , |
PROCESS_TYPE | , | ||
clang::CXXMethodDecl * | , | ||
clang::Stmt * | ) |
EntryFunctionContainer::EntryFunctionContainer | ( | const EntryFunctionContainer & | from | ) |
Definition at line 19 of file EntryFunctionContainer.cpp.
|
virtual |
Destructor.
Definition at line 6 of file EntryFunctionContainer.cpp.
void EntryFunctionContainer::addNotifys | ( | FindNotify & | f | ) |
Definition at line 131 of file EntryFunctionContainer.cpp.
void EntryFunctionContainer::addResetEdge | ( | std::pair< std::string, const clang::Expr * > | reset_edge | ) |
Definition at line 38 of file EntryFunctionContainer.cpp.
void EntryFunctionContainer::addResetSignal | ( | std::pair< std::string, const clang::Expr * > | reset_signal | ) |
Definition at line 33 of file EntryFunctionContainer.cpp.
void EntryFunctionContainer::addResetType | ( | bool | reset_type | ) |
Definition at line 43 of file EntryFunctionContainer.cpp.
void EntryFunctionContainer::addSensitivityInfo | ( | SenseMapType & | sm | ) |
Definition at line 98 of file EntryFunctionContainer.cpp.
void EntryFunctionContainer::addSusCFGAuto | ( | SuspensionAutomata & | s | ) |
Definition at line 114 of file EntryFunctionContainer.cpp.
void EntryFunctionContainer::addWaits | ( | FindWait & | f | ) |
Definition at line 102 of file EntryFunctionContainer.cpp.
void EntryFunctionContainer::dump | ( | llvm::raw_ostream & | os = llvm::dbgs() | ) |
Definition at line 188 of file EntryFunctionContainer.cpp.
void EntryFunctionContainer::dumpSauto | ( | llvm::raw_ostream & | ) |
Definition at line 177 of file EntryFunctionContainer.cpp.
void EntryFunctionContainer::dumpSusCFG | ( | llvm::raw_ostream & | ) |
Definition at line 144 of file EntryFunctionContainer.cpp.
clang::CXXMethodDecl * EntryFunctionContainer::getEntryMethod | ( | ) |
Definition at line 66 of file EntryFunctionContainer.cpp.
instanceSautoMapType systemc_clang::EntryFunctionContainer::getInstanceSautoMap | ( | ) |
instanceSusCFGMapType systemc_clang::EntryFunctionContainer::getInstanceSusCFGMap | ( | ) |
string EntryFunctionContainer::getName | ( | ) |
Definition at line 60 of file EntryFunctionContainer.cpp.
EntryFunctionContainer::notifyContainerListType EntryFunctionContainer::getNotifyCalls | ( | ) |
Definition at line 76 of file EntryFunctionContainer.cpp.
PROCESS_TYPE EntryFunctionContainer::getProcessType | ( | ) |
Definition at line 80 of file EntryFunctionContainer.cpp.
const std::pair< std::string, const clang::Expr * > EntryFunctionContainer::getResetEdge | ( | ) | const |
Definition at line 48 of file EntryFunctionContainer.cpp.
const std::pair< std::string, const clang::Expr * > EntryFunctionContainer::getResetSignal | ( | ) | const |
Definition at line 54 of file EntryFunctionContainer.cpp.
EntryFunctionContainer::SenseMapType EntryFunctionContainer::getSenseMap | ( | ) |
Definition at line 62 of file EntryFunctionContainer.cpp.
SuspensionAutomata::transitionVectorType EntryFunctionContainer::getSusAuto | ( | ) |
Definition at line 86 of file EntryFunctionContainer.cpp.
SuspensionAutomata::susCFGVectorType EntryFunctionContainer::getSusCFG | ( | ) |
Definition at line 82 of file EntryFunctionContainer.cpp.
EntryFunctionContainer::waitContainerListType EntryFunctionContainer::getWaitCalls | ( | ) |
Definition at line 71 of file EntryFunctionContainer.cpp.
bool EntryFunctionContainer::isResetAsync | ( | ) | const |
Definition at line 58 of file EntryFunctionContainer.cpp.
void EntryFunctionContainer::setEntryMethod | ( | clang::CXXMethodDecl * | d | ) |
Definition at line 94 of file EntryFunctionContainer.cpp.
void EntryFunctionContainer::setName | ( | std::string | ) |
Definition at line 90 of file EntryFunctionContainer.cpp.
void EntryFunctionContainer::setProcessType | ( | PROCESS_TYPE | p | ) |
Definition at line 92 of file EntryFunctionContainer.cpp.
notifyContainerListType systemc_clang::EntryFunctionContainer::_notifyCalls |
Definition at line 144 of file EntryFunctionContainer.h.
std::vector<Transition *> systemc_clang::EntryFunctionContainer::_susAuto |
Definition at line 149 of file EntryFunctionContainer.h.
std::vector<SusCFG *> systemc_clang::EntryFunctionContainer::_susCFG |
Definition at line 150 of file EntryFunctionContainer.h.
waitContainerListType systemc_clang::EntryFunctionContainer::_waitCalls |
Definition at line 143 of file EntryFunctionContainer.h.
clang::CXXMethodDecl* systemc_clang::EntryFunctionContainer::entry_method_decl_ |
Definition at line 140 of file EntryFunctionContainer.h.
std::string systemc_clang::EntryFunctionContainer::entry_name_ |
Definition at line 138 of file EntryFunctionContainer.h.
PROCESS_TYPE systemc_clang::EntryFunctionContainer::process_type_ |
Definition at line 139 of file EntryFunctionContainer.h.
std::pair<std::string, const clang::Expr*> systemc_clang::EntryFunctionContainer::reset_edge_ |
Definition at line 154 of file EntryFunctionContainer.h.
std::pair<std::string, const clang::Expr*> systemc_clang::EntryFunctionContainer::reset_signal_ |
Reset information.
Definition at line 153 of file EntryFunctionContainer.h.
bool systemc_clang::EntryFunctionContainer::reset_type_async_ |
Definition at line 155 of file EntryFunctionContainer.h.
SenseMapType systemc_clang::EntryFunctionContainer::senseMap_ |
Definition at line 147 of file EntryFunctionContainer.h.