#include <xi-SdagConstruct.h>
Definition at line 35 of file xi-SdagConstruct.h.
xi::SdagConstruct::SdagConstruct | ( | EToken | t, | |
SdagConstruct * | construct1 | |||
) |
Definition at line 21 of file CSdagConstruct.C.
References constructs, and init().
xi::SdagConstruct::SdagConstruct | ( | EToken | t, | |
SdagConstruct * | construct1, | |||
SdagConstruct * | aList | |||
) |
Definition at line 26 of file CSdagConstruct.C.
References constructs, and init().
xi::SdagConstruct::SdagConstruct | ( | EToken | t, | |
XStr * | txt, | |||
SdagConstruct * | c1, | |||
SdagConstruct * | c2, | |||
SdagConstruct * | c3, | |||
SdagConstruct * | c4, | |||
SdagConstruct * | constructAppend, | |||
EntryList * | el | |||
) |
Definition at line 33 of file CSdagConstruct.C.
References con1, con2, con3, con4, constructs, elist, init(), and text.
xi::SdagConstruct::SdagConstruct | ( | EToken | t, | |
const char * | str | |||
) |
xi::SdagConstruct::SdagConstruct | ( | EToken | t | ) |
Definition at line 10 of file xi-SdagConstruct.C.
References init().
Definition at line 12 of file xi-SdagConstruct.C.
References init().
xi::SdagConstruct::SdagConstruct | ( | EToken | t, | |
const char * | entryStr, | |||
const char * | codeStr, | |||
ParamList * | pl | |||
) |
Definition at line 46 of file CSdagConstruct.C.
References init(), param, and text.
xi::SdagConstruct::~SdagConstruct | ( | ) | [virtual] |
void xi::SdagConstruct::generateCall | ( | XStr & | op, | |
std::list< EncapState * > & | cur, | |||
std::list< EncapState * > & | next, | |||
const XStr * | name, | |||
const char * | nameSuffix = 0 | |||
) | [protected] |
Referenced by xi::WhileConstruct::generateCode(), xi::WhenConstruct::generateCode(), xi::SListConstruct::generateCode(), xi::SerialConstruct::generateCode(), xi::SdagEntryConstruct::generateCode(), xi::OverlapConstruct::generateCode(), xi::OListConstruct::generateCode(), xi::IfConstruct::generateCode(), xi::ForallConstruct::generateCode(), xi::ForConstruct::generateCode(), xi::ElseConstruct::generateCode(), xi::CaseListConstruct::generateCode(), and xi::CaseConstruct::generateCode().
Definition at line 589 of file CSdagConstruct.C.
References entry, xi::Entry::getContainer(), xi::indentBy(), xi::Chare::isArray(), and traceName.
Referenced by xi::SerialConstruct::generateCode().
void xi::SdagConstruct::generateBeginTime | ( | XStr & | defs | ) | [protected] |
Definition at line 631 of file CSdagConstruct.C.
Referenced by xi::WhenConstruct::generateCode(), xi::OverlapConstruct::generateCode(), xi::OListConstruct::generateCode(), xi::IfConstruct::generateCode(), xi::ForConstruct::generateCode(), xi::ElseConstruct::generateCode(), and xi::CaseConstruct::generateCode().
Definition at line 650 of file CSdagConstruct.C.
References nameStr.
Referenced by xi::WhenConstruct::generateCode(), xi::OverlapConstruct::generateCode(), xi::IfConstruct::generateCode(), xi::ForConstruct::generateCode(), xi::ElseConstruct::generateCode(), and xi::CaseConstruct::generateCode().
Definition at line 657 of file CSdagConstruct.C.
References label, and nameStr.
Referenced by xi::OListConstruct::generateCode().
void xi::SdagConstruct::generateChildrenCode | ( | XStr & | decls, | |
XStr & | defs, | |||
Entry * | entry | |||
) | [protected] |
Definition at line 266 of file CSdagConstruct.C.
References constructs.
Referenced by generateCode(), xi::WhileConstruct::generateCode(), xi::WhenConstruct::generateCode(), xi::SListConstruct::generateCode(), xi::SdagEntryConstruct::generateCode(), xi::OverlapConstruct::generateCode(), xi::OListConstruct::generateCode(), xi::IfConstruct::generateCode(), xi::ForallConstruct::generateCode(), xi::ForConstruct::generateCode(), xi::ElseConstruct::generateCode(), xi::CaseListConstruct::generateCode(), and xi::CaseConstruct::generateCode().
void xi::SdagConstruct::generateChildrenEntryList | ( | std::list< CEntry * > & | CEntrylist, | |
WhenConstruct * | thisWhen | |||
) | [protected] |
void xi::SdagConstruct::propagateStateToChildren | ( | std::list< EncapState * > | , | |
std::list< CStateVar * > & | , | |||
std::list< CStateVar * > & | , | |||
int | ||||
) | [protected] |
Reimplemented in xi::SerialConstruct.
Referenced by xi::BlockConstruct::propagateState(), xi::SListConstruct::propagateState(), xi::OListConstruct::propagateState(), xi::ForallConstruct::propagateState(), and xi::CaseListConstruct::propagateState().
Definition at line 285 of file CSdagConstruct.C.
References xi::CStateVar::arrayLength, encapState, encapStateChild, xi::indentBy(), xi::CStateVar::isBgParentLog, xi::CStateVar::isCounter, xi::CStateVar::isFirstRdma, xi::CStateVar::isMsg, xi::CStateVar::isRdma, xi::CStateVar::isSpeculator, xi::EncapState::name, xi::CStateVar::name, xi::CStateVar::type, and xi::EncapState::vars.
Referenced by xi::WhileConstruct::generateCode(), xi::WhenConstruct::generateCode(), xi::SerialConstruct::generateCode(), xi::IfConstruct::generateCode(), xi::ForallConstruct::generateCode(), and xi::ForConstruct::generateCode().
Definition at line 354 of file CSdagConstruct.C.
References encapState, encapStateChild, and xi::indentBy().
Referenced by xi::WhileConstruct::generateCode(), xi::WhenConstruct::generateCode(), xi::SerialConstruct::generateCode(), xi::IfConstruct::generateCode(), xi::ForallConstruct::generateCode(), and xi::ForConstruct::generateCode().
void xi::SdagConstruct::init | ( | EToken & | t | ) |
Definition at line 53 of file CSdagConstruct.C.
References con1, con2, con3, con4, constructs, elist, label_str, traceName, and type.
Referenced by SdagConstruct().
void xi::SdagConstruct::setEntry | ( | Entry * | e | ) |
Definition at line 14 of file xi-SdagConstruct.C.
References con1, con2, con3, con4, constructs, entry, and setEntry().
Referenced by Builder::Entry::generateAst(), and setEntry().
void xi::SdagConstruct::numberNodes | ( | void | ) | [virtual] |
Reimplemented in xi::CaseConstruct, xi::CaseListConstruct, xi::ElseConstruct, xi::ForConstruct, xi::ForallConstruct, xi::IfConstruct, xi::OListConstruct, xi::OverlapConstruct, xi::SdagEntryConstruct, xi::SerialConstruct, xi::SListConstruct, xi::WhenConstruct, and xi::WhileConstruct.
Definition at line 70 of file CSdagConstruct.C.
References c, and constructs.
Referenced by xi::CParsedFile::doProcess(), xi::WhileConstruct::numberNodes(), xi::WhenConstruct::numberNodes(), xi::SListConstruct::numberNodes(), xi::SerialConstruct::numberNodes(), xi::SdagEntryConstruct::numberNodes(), xi::OverlapConstruct::numberNodes(), xi::OListConstruct::numberNodes(), xi::IfConstruct::numberNodes(), xi::ForallConstruct::numberNodes(), xi::ForConstruct::numberNodes(), xi::ElseConstruct::numberNodes(), xi::CaseListConstruct::numberNodes(), and xi::CaseConstruct::numberNodes().
void xi::SdagConstruct::labelNodes | ( | ) | [virtual] |
Reimplemented in xi::IfConstruct, and xi::SdagEntryConstruct.
Definition at line 90 of file CSdagConstruct.C.
References c, constructs, createLabel(), label, label_str, and nodeNum.
Referenced by xi::CParsedFile::doProcess(), xi::SdagEntryConstruct::labelNodes(), and xi::IfConstruct::labelNodes().
Definition at line 80 of file CSdagConstruct.C.
References text.
Referenced by labelNodes(), and xi::SdagEntryConstruct::labelNodes().
virtual void xi::SdagConstruct::generateEntryList | ( | std::list< CEntry * > & | , | |
WhenConstruct * | ||||
) | [virtual] |
Reimplemented in xi::WhenConstruct.
Referenced by xi::Entry::check(), and xi::Entry::setChare().
void xi::SdagConstruct::propagateState | ( | int | uniqueVarNum | ) |
Definition at line 177 of file CSdagConstruct.C.
References constructs, encapState, encapStateChild, entry, xi::EncapState::isBgParentLog, xi::CStateVar::isBgParentLog, xi::EncapState::isMessage, xi::ParamList::isVoid(), xi::EncapState::name, xi::Entry::param, param, xi::Entry::paramIsMarshalled(), stateVars, stateVarsChildren, and xi::EncapState::type.
Referenced by xi::CParsedFile::doProcess().
virtual void xi::SdagConstruct::propagateState | ( | std::list< EncapState * > | , | |
std::list< CStateVar * > & | , | |||
std::list< CStateVar * > & | , | |||
int | ||||
) | [virtual] |
Reimplemented in xi::CaseListConstruct, xi::ForallConstruct, xi::IfConstruct, xi::OListConstruct, xi::SListConstruct, xi::WhenConstruct, and xi::BlockConstruct.
Reimplemented in xi::CaseConstruct, xi::CaseListConstruct, xi::ElseConstruct, xi::ForConstruct, xi::ForallConstruct, xi::IfConstruct, xi::OListConstruct, xi::OverlapConstruct, xi::SdagEntryConstruct, xi::SerialConstruct, xi::SListConstruct, xi::WhenConstruct, and xi::WhileConstruct.
Definition at line 262 of file CSdagConstruct.C.
References generateChildrenCode().
Referenced by xi::IfConstruct::generateCode().
void xi::SdagConstruct::setNext | ( | SdagConstruct * | n, | |
int | boe | |||
) |
Definition at line 513 of file CSdagConstruct.C.
References con2, constructs, nextBeginOrEnd, xi::SCASE, xi::SCASELIST, xi::SELSE, setNext(), xi::SFOR, xi::SFORALL, xi::SIF, xi::SOLIST, xi::SOVERLAP, xi::SSDAGENTRY, xi::SSERIAL, xi::SSLIST, xi::SWHEN, xi::SWHILE, and type.
Referenced by setNext().
void xi::SdagConstruct::buildTypes | ( | std::list< EncapState * > & | state | ) |
Referenced by xi::WhenConstruct::generateCode(), xi::SListConstruct::generateCode(), xi::SdagEntryConstruct::generateCode(), and xi::WhenConstruct::generateWhenCode().
void xi::SdagConstruct::generateTrace | ( | ) | [virtual] |
Reimplemented in xi::SerialConstruct.
Definition at line 577 of file CSdagConstruct.C.
References c, con1, con2, con3, constructs, and generateTrace().
Referenced by xi::CParsedFile::doProcess(), generateTrace(), and xi::SerialConstruct::generateTrace().
void xi::SdagConstruct::generateRegisterEp | ( | XStr & | defs | ) |
Definition at line 663 of file CSdagConstruct.C.
References con1, con2, con3, constructs, generateRegisterEp(), and traceName.
Referenced by generateRegisterEp().
Definition at line 674 of file CSdagConstruct.C.
References con1, con2, con3, constructs, xi::endMethod(), generateTraceEp(), xi::generateVarSignature(), xi::Chare::indexName(), and traceName.
Referenced by generateTraceEp().
Definition at line 616 of file CSdagConstruct.C.
References xi::indentBy().
Referenced by xi::SerialConstruct::generateCode(), xi::SdagEntryConstruct::generateCode(), xi::CEntry::generateCode(), and generateEndSeq().
void xi::SdagConstruct::generateTlineEndCall | ( | XStr & | defs | ) | [static] |
Definition at line 636 of file CSdagConstruct.C.
Referenced by xi::SdagEntryConstruct::generateCode(), xi::CEntry::generateCode(), generateEndSeq(), and xi::WhenConstruct::generateWhenCode().
void xi::SdagConstruct::generateBeginExec | ( | XStr & | defs, | |
const char * | name | |||
) | [static] |
Definition at line 621 of file CSdagConstruct.C.
Referenced by xi::SerialConstruct::generateCode(), xi::SdagEntryConstruct::generateCode(), and xi::WhenConstruct::generateWhenCode().
void xi::SdagConstruct::generateEndExec | ( | XStr & | defs | ) | [static] |
Definition at line 626 of file CSdagConstruct.C.
Referenced by xi::SerialConstruct::generateCode(), xi::CEntry::generateCode(), and generateEndSeq().
void xi::SdagConstruct::generateEndSeq | ( | XStr & | defs | ) | [static] |
Definition at line 641 of file CSdagConstruct.C.
References generateEndExec(), generateTlineEndCall(), and generateTraceEndCall().
Referenced by xi::SdagEntryConstruct::generateCode().
void xi::SdagConstruct::generateDummyBeginExecute | ( | XStr & | defs, | |
int | indent, | |||
Entry * | entry | |||
) | [static] |
Definition at line 604 of file CSdagConstruct.C.
References xi::Entry::getContainer(), xi::indentBy(), and xi::Chare::isArray().
Referenced by xi::SdagEntryConstruct::generateCode(), and xi::CEntry::generateCode().
std::list<SdagConstruct*>* xi::SdagConstruct::constructs [protected] |
Definition at line 59 of file xi-SdagConstruct.h.
Referenced by generateChildrenCode(), xi::WhileConstruct::generateCode(), xi::WhenConstruct::generateCode(), xi::SListConstruct::generateCode(), xi::SdagEntryConstruct::generateCode(), xi::OverlapConstruct::generateCode(), xi::OListConstruct::generateCode(), xi::IfConstruct::generateCode(), xi::ForallConstruct::generateCode(), xi::ForConstruct::generateCode(), xi::ElseConstruct::generateCode(), xi::CaseListConstruct::generateCode(), xi::CaseConstruct::generateCode(), generateRegisterEp(), generateTrace(), generateTraceEp(), init(), labelNodes(), numberNodes(), propagateState(), xi::CaseListConstruct::propagateState(), SdagConstruct(), setEntry(), setNext(), and ~SdagConstruct().
std::list<CStateVar*>* xi::SdagConstruct::stateVars [protected] |
Definition at line 60 of file xi-SdagConstruct.h.
Referenced by xi::SdagEntryConstruct::generateCode(), xi::BlockConstruct::propagateState(), propagateState(), xi::SListConstruct::propagateState(), xi::OListConstruct::propagateState(), xi::ForallConstruct::propagateState(), and xi::CaseListConstruct::propagateState().
std::list<EncapState*> xi::SdagConstruct::encapState [protected] |
Definition at line 61 of file xi-SdagConstruct.h.
Referenced by xi::WhileConstruct::generateCode(), xi::WhenConstruct::generateCode(), xi::SListConstruct::generateCode(), xi::SerialConstruct::generateCode(), xi::SdagEntryConstruct::generateCode(), xi::OverlapConstruct::generateCode(), xi::OListConstruct::generateCode(), xi::IfConstruct::generateCode(), xi::ForallConstruct::generateCode(), xi::ForConstruct::generateCode(), xi::ElseConstruct::generateCode(), xi::CaseListConstruct::generateCode(), xi::CaseConstruct::generateCode(), xi::WhenConstruct::generateWhenCode(), xi::BlockConstruct::propagateState(), propagateState(), xi::SListConstruct::propagateState(), xi::OListConstruct::propagateState(), xi::ForallConstruct::propagateState(), xi::CaseListConstruct::propagateState(), unravelClosuresBegin(), and unravelClosuresEnd().
std::list<EncapState*> xi::SdagConstruct::encapStateChild [protected] |
Definition at line 61 of file xi-SdagConstruct.h.
Referenced by xi::WhileConstruct::generateCode(), xi::WhenConstruct::generateCode(), xi::SListConstruct::generateCode(), xi::SdagEntryConstruct::generateCode(), xi::OverlapConstruct::generateCode(), xi::OListConstruct::generateCode(), xi::IfConstruct::generateCode(), xi::ForallConstruct::generateCode(), xi::ForConstruct::generateCode(), xi::ElseConstruct::generateCode(), xi::CaseListConstruct::generateCode(), xi::CaseConstruct::generateCode(), xi::WhenConstruct::generateWhenCode(), xi::BlockConstruct::propagateState(), propagateState(), xi::SListConstruct::propagateState(), xi::OListConstruct::propagateState(), xi::ForallConstruct::propagateState(), xi::CaseListConstruct::propagateState(), unravelClosuresBegin(), and unravelClosuresEnd().
std::list<CStateVar*>* xi::SdagConstruct::stateVarsChildren [protected] |
Definition at line 62 of file xi-SdagConstruct.h.
Referenced by xi::BlockConstruct::propagateState(), propagateState(), xi::SListConstruct::propagateState(), xi::OListConstruct::propagateState(), xi::ForallConstruct::propagateState(), and xi::CaseListConstruct::propagateState().
const char* xi::SdagConstruct::label_str [protected] |
Definition at line 63 of file xi-SdagConstruct.h.
Referenced by xi::CaseConstruct::CaseConstruct(), xi::CaseListConstruct::CaseListConstruct(), xi::ElseConstruct::ElseConstruct(), xi::ForallConstruct::ForallConstruct(), xi::ForConstruct::ForConstruct(), xi::IfConstruct::IfConstruct(), init(), labelNodes(), xi::OListConstruct::OListConstruct(), xi::OverlapConstruct::OverlapConstruct(), xi::SerialConstruct::SerialConstruct(), xi::SListConstruct::SListConstruct(), xi::WhenConstruct::WhenConstruct(), and xi::WhileConstruct::WhileConstruct().
Entry* xi::SdagConstruct::entry [protected] |
Definition at line 64 of file xi-SdagConstruct.h.
Referenced by xi::SdagEntryConstruct::generateCode(), generateTraceBeginCall(), propagateState(), and setEntry().
Definition at line 70 of file xi-SdagConstruct.h.
Referenced by xi::WhenConstruct::generateCode(), labelNodes(), xi::WhileConstruct::numberNodes(), xi::WhenConstruct::numberNodes(), xi::SListConstruct::numberNodes(), xi::SerialConstruct::numberNodes(), xi::SdagEntryConstruct::numberNodes(), xi::OverlapConstruct::numberNodes(), xi::OListConstruct::numberNodes(), xi::IfConstruct::numberNodes(), xi::ForallConstruct::numberNodes(), xi::ForConstruct::numberNodes(), xi::ElseConstruct::numberNodes(), xi::CaseListConstruct::numberNodes(), xi::CaseConstruct::numberNodes(), xi::OListConstruct::propagateState(), xi::ForallConstruct::propagateState(), and xi::CaseListConstruct::propagateState().
Definition at line 71 of file xi-SdagConstruct.h.
Referenced by xi::WhileConstruct::generateCode(), xi::WhenConstruct::generateCode(), xi::SListConstruct::generateCode(), xi::SerialConstruct::generateCode(), xi::OverlapConstruct::generateCode(), xi::OListConstruct::generateCode(), xi::IfConstruct::generateCode(), xi::ForallConstruct::generateCode(), xi::ForConstruct::generateCode(), xi::ElseConstruct::generateCode(), xi::CaseListConstruct::generateCode(), xi::CaseConstruct::generateCode(), generateListEventBracket(), xi::SerialConstruct::generateTrace(), xi::WhenConstruct::generateWhenCode(), labelNodes(), and xi::SdagEntryConstruct::labelNodes().
char xi::SdagConstruct::nameStr[128] |
Definition at line 74 of file xi-SdagConstruct.h.
Referenced by xi::WhenConstruct::generateCode(), xi::SerialConstruct::generateCode(), xi::OverlapConstruct::generateCode(), xi::OListConstruct::generateCode(), xi::IfConstruct::generateCode(), xi::ForConstruct::generateCode(), xi::ElseConstruct::generateCode(), xi::CaseListConstruct::generateCode(), xi::CaseConstruct::generateCode(), generateEventBracket(), and generateListEventBracket().
Definition at line 75 of file xi-SdagConstruct.h.
Referenced by generateRegisterEp(), xi::SerialConstruct::generateTrace(), generateTraceBeginCall(), generateTraceEp(), init(), and xi::SerialConstruct::SerialConstruct().
Definition at line 76 of file xi-SdagConstruct.h.
Referenced by xi::WhileConstruct::generateCode(), xi::WhenConstruct::generateCode(), xi::SListConstruct::generateCode(), xi::SerialConstruct::generateCode(), xi::OverlapConstruct::generateCode(), xi::OListConstruct::generateCode(), xi::IfConstruct::generateCode(), xi::ForallConstruct::generateCode(), xi::ForConstruct::generateCode(), xi::ElseConstruct::generateCode(), xi::CaseListConstruct::generateCode(), and xi::CaseConstruct::generateCode().
Definition at line 77 of file xi-SdagConstruct.h.
Referenced by Builder::Entry::generateAst(), propagateState(), and SdagConstruct().
Definition at line 79 of file xi-SdagConstruct.h.
Referenced by createLabel(), xi::WhileConstruct::generateCode(), xi::SerialConstruct::generateCode(), xi::SdagEntryConstruct::generateCode(), xi::IfConstruct::generateCode(), xi::ForallConstruct::generateCode(), xi::ForConstruct::generateCode(), xi::SdagEntryConstruct::labelNodes(), xi::ForallConstruct::propagateState(), SdagConstruct(), xi::SerialConstruct::SerialConstruct(), and ~SdagConstruct().
Definition at line 80 of file xi-SdagConstruct.h.
Referenced by xi::WhileConstruct::generateCode(), xi::WhenConstruct::generateCode(), xi::SListConstruct::generateCode(), xi::SerialConstruct::generateCode(), xi::OverlapConstruct::generateCode(), xi::OListConstruct::generateCode(), xi::IfConstruct::generateCode(), xi::ForallConstruct::generateCode(), xi::ForConstruct::generateCode(), xi::ElseConstruct::generateCode(), xi::CaseListConstruct::generateCode(), xi::CaseConstruct::generateCode(), and setNext().
Definition at line 81 of file xi-SdagConstruct.h.
Referenced by xi::WhenConstruct::generateCode(), xi::WhenConstruct::generateWhenCode(), init(), and SdagConstruct().
Definition at line 82 of file xi-SdagConstruct.h.
Referenced by Builder::Entry::generateAst(), xi::WhileConstruct::generateCode(), xi::SdagEntryConstruct::generateCode(), xi::IfConstruct::generateCode(), xi::ForallConstruct::generateCode(), xi::ForConstruct::generateCode(), generateRegisterEp(), generateTrace(), xi::SerialConstruct::generateTrace(), generateTraceEp(), init(), xi::SdagEntryConstruct::labelNodes(), xi::ForallConstruct::propagateState(), SdagConstruct(), and setEntry().
Definition at line 82 of file xi-SdagConstruct.h.
Referenced by xi::IfConstruct::generateCode(), xi::ForallConstruct::generateCode(), xi::ForConstruct::generateCode(), generateRegisterEp(), generateTrace(), generateTraceEp(), init(), xi::IfConstruct::labelNodes(), xi::IfConstruct::numberNodes(), SdagConstruct(), setEntry(), and setNext().
Definition at line 82 of file xi-SdagConstruct.h.
Referenced by xi::ForallConstruct::generateCode(), xi::ForConstruct::generateCode(), generateRegisterEp(), generateTrace(), generateTraceEp(), init(), SdagConstruct(), and setEntry().
Definition at line 82 of file xi-SdagConstruct.h.
Referenced by xi::ForallConstruct::generateCode(), init(), SdagConstruct(), and setEntry().