systemc-clang 2.0.0
Parsing SystemC constructs
Loading...
Searching...
No Matches
systemc_clang::EntryFunctionContainer Class Reference

#include <EntryFunctionContainer.h>

Public Types

typedef std::vector< WaitContainer * > waitContainerListType
 typedefs
 
typedef std::vector< NotifyContainer * > notifyContainerListType
 
typedef std::pair< int, SuspensionAutomata::transitionVectorTypeinstanceSautoPairType
 
typedef std::map< int, SuspensionAutomata::transitionVectorTypeinstanceSautoMapType
 
typedef std::pair< int, SuspensionAutomata::susCFGVectorTypeinstanceSusCFGPairType
 
typedef std::map< int, SuspensionAutomata::susCFGVectorTypeinstanceSusCFGMapType
 
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_
 

Detailed Description

Definition at line 65 of file EntryFunctionContainer.h.

Member Typedef Documentation

◆ instanceSautoMapType

◆ instanceSautoPairType

◆ instanceSusCFGMapType

◆ instanceSusCFGPairType

◆ notifyContainerListType

◆ SenseMapType

Definition at line 88 of file EntryFunctionContainer.h.

◆ SensitivityPairType

Definition at line 86 of file EntryFunctionContainer.h.

◆ SensitivityTupleType

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.

◆ waitContainerListType

Constructor & Destructor Documentation

◆ EntryFunctionContainer() [1/3]

EntryFunctionContainer::EntryFunctionContainer ( )

Definition at line 10 of file EntryFunctionContainer.cpp.

◆ EntryFunctionContainer() [2/3]

systemc_clang::EntryFunctionContainer::EntryFunctionContainer ( std::string ,
PROCESS_TYPE ,
clang::CXXMethodDecl * ,
clang::Stmt *  )

◆ EntryFunctionContainer() [3/3]

EntryFunctionContainer::EntryFunctionContainer ( const EntryFunctionContainer & from)

Definition at line 19 of file EntryFunctionContainer.cpp.

◆ ~EntryFunctionContainer()

EntryFunctionContainer::~EntryFunctionContainer ( )
virtual

Destructor.

Definition at line 6 of file EntryFunctionContainer.cpp.

Member Function Documentation

◆ addNotifys()

void EntryFunctionContainer::addNotifys ( FindNotify & f)

Definition at line 131 of file EntryFunctionContainer.cpp.

◆ addResetEdge()

void EntryFunctionContainer::addResetEdge ( std::pair< std::string, const clang::Expr * > reset_edge)

Definition at line 38 of file EntryFunctionContainer.cpp.

◆ addResetSignal()

void EntryFunctionContainer::addResetSignal ( std::pair< std::string, const clang::Expr * > reset_signal)

Definition at line 33 of file EntryFunctionContainer.cpp.

◆ addResetType()

void EntryFunctionContainer::addResetType ( bool reset_type)

Definition at line 43 of file EntryFunctionContainer.cpp.

◆ addSensitivityInfo()

void EntryFunctionContainer::addSensitivityInfo ( SenseMapType & sm)

Definition at line 98 of file EntryFunctionContainer.cpp.

◆ addSusCFGAuto()

void EntryFunctionContainer::addSusCFGAuto ( SuspensionAutomata & s)

Definition at line 114 of file EntryFunctionContainer.cpp.

◆ addWaits()

void EntryFunctionContainer::addWaits ( FindWait & f)

Definition at line 102 of file EntryFunctionContainer.cpp.

◆ dump()

void EntryFunctionContainer::dump ( llvm::raw_ostream & os = llvm::dbgs())

Definition at line 188 of file EntryFunctionContainer.cpp.

◆ dumpSauto()

void EntryFunctionContainer::dumpSauto ( llvm::raw_ostream & )

Definition at line 177 of file EntryFunctionContainer.cpp.

◆ dumpSusCFG()

void EntryFunctionContainer::dumpSusCFG ( llvm::raw_ostream & )

Definition at line 144 of file EntryFunctionContainer.cpp.

◆ getEntryMethod()

clang::CXXMethodDecl * EntryFunctionContainer::getEntryMethod ( )

Definition at line 66 of file EntryFunctionContainer.cpp.

◆ getInstanceSautoMap()

instanceSautoMapType systemc_clang::EntryFunctionContainer::getInstanceSautoMap ( )

◆ getInstanceSusCFGMap()

instanceSusCFGMapType systemc_clang::EntryFunctionContainer::getInstanceSusCFGMap ( )

◆ getName()

string EntryFunctionContainer::getName ( )

Definition at line 60 of file EntryFunctionContainer.cpp.

◆ getNotifyCalls()

EntryFunctionContainer::notifyContainerListType EntryFunctionContainer::getNotifyCalls ( )

Definition at line 76 of file EntryFunctionContainer.cpp.

◆ getProcessType()

PROCESS_TYPE EntryFunctionContainer::getProcessType ( )

Definition at line 80 of file EntryFunctionContainer.cpp.

◆ getResetEdge()

const std::pair< std::string, const clang::Expr * > EntryFunctionContainer::getResetEdge ( ) const

Definition at line 48 of file EntryFunctionContainer.cpp.

◆ getResetSignal()

const std::pair< std::string, const clang::Expr * > EntryFunctionContainer::getResetSignal ( ) const

Definition at line 54 of file EntryFunctionContainer.cpp.

◆ getSenseMap()

EntryFunctionContainer::SenseMapType EntryFunctionContainer::getSenseMap ( )

Definition at line 62 of file EntryFunctionContainer.cpp.

◆ getSusAuto()

SuspensionAutomata::transitionVectorType EntryFunctionContainer::getSusAuto ( )

Definition at line 86 of file EntryFunctionContainer.cpp.

◆ getSusCFG()

SuspensionAutomata::susCFGVectorType EntryFunctionContainer::getSusCFG ( )

Definition at line 82 of file EntryFunctionContainer.cpp.

◆ getWaitCalls()

EntryFunctionContainer::waitContainerListType EntryFunctionContainer::getWaitCalls ( )

Definition at line 71 of file EntryFunctionContainer.cpp.

◆ isResetAsync()

bool EntryFunctionContainer::isResetAsync ( ) const

Definition at line 58 of file EntryFunctionContainer.cpp.

◆ setEntryMethod()

void EntryFunctionContainer::setEntryMethod ( clang::CXXMethodDecl * d)

Definition at line 94 of file EntryFunctionContainer.cpp.

◆ setName()

void EntryFunctionContainer::setName ( std::string )

Definition at line 90 of file EntryFunctionContainer.cpp.

◆ setProcessType()

void EntryFunctionContainer::setProcessType ( PROCESS_TYPE p)

Definition at line 92 of file EntryFunctionContainer.cpp.

Member Data Documentation

◆ _notifyCalls

notifyContainerListType systemc_clang::EntryFunctionContainer::_notifyCalls

Definition at line 144 of file EntryFunctionContainer.h.

◆ _susAuto

std::vector<Transition *> systemc_clang::EntryFunctionContainer::_susAuto

Definition at line 149 of file EntryFunctionContainer.h.

◆ _susCFG

std::vector<SusCFG *> systemc_clang::EntryFunctionContainer::_susCFG

Definition at line 150 of file EntryFunctionContainer.h.

◆ _waitCalls

waitContainerListType systemc_clang::EntryFunctionContainer::_waitCalls

Definition at line 143 of file EntryFunctionContainer.h.

◆ entry_method_decl_

clang::CXXMethodDecl* systemc_clang::EntryFunctionContainer::entry_method_decl_

Definition at line 140 of file EntryFunctionContainer.h.

◆ entry_name_

std::string systemc_clang::EntryFunctionContainer::entry_name_

Definition at line 138 of file EntryFunctionContainer.h.

◆ process_type_

PROCESS_TYPE systemc_clang::EntryFunctionContainer::process_type_

Definition at line 139 of file EntryFunctionContainer.h.

◆ reset_edge_

std::pair<std::string, const clang::Expr*> systemc_clang::EntryFunctionContainer::reset_edge_

Definition at line 154 of file EntryFunctionContainer.h.

◆ reset_signal_

std::pair<std::string, const clang::Expr*> systemc_clang::EntryFunctionContainer::reset_signal_

Reset information.

Definition at line 153 of file EntryFunctionContainer.h.

◆ reset_type_async_

bool systemc_clang::EntryFunctionContainer::reset_type_async_

Definition at line 155 of file EntryFunctionContainer.h.

◆ senseMap_

SenseMapType systemc_clang::EntryFunctionContainer::senseMap_

Definition at line 147 of file EntryFunctionContainer.h.


The documentation for this class was generated from the following files: