#include <CParsedFile.h>
Public Member Functions | |
CParsedFile (Chare *c) | |
~CParsedFile (void) | |
void | print (int indent) |
void | addNode (Entry *e) |
void | doProcess (XStr &classname, XStr &decls, XStr &defs) |
Static Public Attributes | |
static XStr * | className = NULL |
Private Member Functions | |
void | mapCEntry () |
void | generateConnectEntryList (void) |
void | generateEntryList (void) |
void | generateCode (XStr &decls, XStr &defs) |
void | generateEntries (XStr &decls, XStr &defs) |
void | generateConnectEntries (XStr &output) |
void | generateInitFunction (XStr &decls, XStr &defs) |
void | generatePupFunction (XStr &decls, XStr &defs) |
void | generateTraceEp (XStr &decls, XStr &defs) |
void | generateRegisterEp (XStr &decls, XStr &defs) |
void | generateDependencyMergePoints (XStr &output) |
Create a merging point for each of the places where multiple dependencies lead into some future task. | |
Private Attributes | |
std::list< Entry * > | nodeList |
std::list< CEntry * > | entryList |
std::list< SdagConstruct * > | connectEntryList |
Chare * | container |
Definition at line 15 of file CParsedFile.h.
xi::CParsedFile::CParsedFile | ( | Chare * | c | ) | [inline] |
Definition at line 35 of file CParsedFile.h.
xi::CParsedFile::~CParsedFile | ( | void | ) | [inline] |
Definition at line 36 of file CParsedFile.h.
void xi::CParsedFile::mapCEntry | ( | void | ) | [private] |
Definition at line 80 of file CParsedFile.C.
References container, entryList, and xi::Chare::lookforCEntry().
Referenced by doProcess().
void xi::CParsedFile::generateConnectEntryList | ( | void | ) | [private] |
void xi::CParsedFile::generateEntryList | ( | void | ) | [private] |
Definition at line 86 of file CParsedFile.C.
References entryList, and nodeList.
Referenced by doProcess().
Definition at line 92 of file CParsedFile.C.
References nodeList.
Referenced by doProcess().
Definition at line 99 of file CParsedFile.C.
References entryList.
Referenced by doProcess().
void xi::CParsedFile::generateConnectEntries | ( | XStr & | output | ) | [private] |
Definition at line 106 of file CParsedFile.C.
References container, xi::endMethod(), entryList, xi::generateVarSignature(), name, xi::numEntries, and xi::numWhens.
Referenced by doProcess().
Definition at line 149 of file CParsedFile.C.
References xi::Chare::baseName(), container, xi::templateGuardBegin(), xi::templateGuardEnd(), and xi::TEntity::tspec().
Referenced by doProcess().
Definition at line 181 of file CParsedFile.C.
References container, and nodeList.
Referenced by doProcess().
Definition at line 166 of file CParsedFile.C.
References container, xi::endMethod(), xi::generateVarSignature(), name, nodeList, and xi::Chare::sdagPUPReg.
Referenced by doProcess().
void xi::CParsedFile::generateDependencyMergePoints | ( | XStr & | decls | ) | [private] |
Create a merging point for each of the places where multiple dependencies lead into some future task.
Used by Isaac's critical path detection
Definition at line 131 of file CParsedFile.C.
References xi::numOlists, and xi::numWhens.
Referenced by doProcess().
void xi::CParsedFile::print | ( | int | indent | ) |
void xi::CParsedFile::addNode | ( | Entry * | e | ) | [inline] |
Definition at line 38 of file CParsedFile.h.
References nodeList.
Referenced by xi::SdagCollection::addNode().
Definition at line 50 of file CParsedFile.C.
References className, generateCode(), generateDependencyMergePoints(), generateEntries(), generateEntryList(), generateInitFunction(), generatePupFunction(), generateRegisterEp(), xi::SdagConstruct::generateTrace(), generateTraceEp(), xi::SdagConstruct::labelNodes(), xi::XStr::line_append_padding(), mapCEntry(), nodeList, xi::SdagConstruct::numberNodes(), and xi::SdagConstruct::propagateState().
Referenced by xi::Chare::genDecls().
std::list<Entry*> xi::CParsedFile::nodeList [private] |
Definition at line 28 of file CParsedFile.h.
Referenced by addNode(), doProcess(), generateCode(), generateEntryList(), generateRegisterEp(), and generateTraceEp().
std::list<CEntry*> xi::CParsedFile::entryList [private] |
Definition at line 29 of file CParsedFile.h.
Referenced by generateEntries(), generateEntryList(), generateInitFunction(), and mapCEntry().
std::list<SdagConstruct*> xi::CParsedFile::connectEntryList [private] |
Definition at line 30 of file CParsedFile.h.
Chare* xi::CParsedFile::container [private] |
Definition at line 31 of file CParsedFile.h.
Referenced by generateInitFunction(), generatePupFunction(), generateRegisterEp(), generateTraceEp(), and mapCEntry().
XStr * xi::CParsedFile::className = NULL [static] |
Definition at line 34 of file CParsedFile.h.
Referenced by doProcess(), xi::WhenConstruct::generateCode(), xi::SerialConstruct::generateCode(), xi::OverlapConstruct::generateCode(), xi::OListConstruct::generateCode(), xi::ForConstruct::generateCode(), xi::ElseConstruct::generateCode(), xi::CaseListConstruct::generateCode(), xi::CaseConstruct::generateCode(), and xi::SerialConstruct::generateTrace().