#include <xi-Entry.h>
Definition at line 43 of file xi-Entry.h.
xi::Entry::Entry | ( | int | l, | |
int | a, | |||
Type * | r, | |||
const char * | n, | |||
ParamList * | p, | |||
Value * | sz = 0 , |
|||
SdagConstruct * | sc = 0 , |
|||
const char * | e = 0 , |
|||
int | fl = -1 , |
|||
int | ll = -1 | |||
) |
Definition at line 142 of file xi-Entry.C.
References attribs, xi::Member::container, containsWhenConstruct, xi::Parameter::entry, xi::ParamList::entry, entryCount, xi::Parameter::getRdma(), xi::ParamList::isMarshalled(), isPython(), isThreaded(), isWhenEntry, line, xi::ParamList::next, numRdmaRecvParams, numRdmaSendParams, xi::ParamList::param, param, xi::python_doc, and pythonDoc.
XStr xi::Entry::proxyName | ( | void | ) |
Definition at line 18 of file xi-Entry.C.
References xi::Member::container, and xi::Chare::proxyName().
XStr xi::Entry::indexName | ( | void | ) |
Definition at line 19 of file xi-Entry.C.
References xi::Member::container, and xi::Chare::indexName().
Referenced by chareIdx(), epIdx(), epRegFn(), genAccels_ppe_c_regFuncs(), genAccels_spe_c_funcBodies(), genAccels_spe_c_regFuncs(), and genDefs().
void xi::Entry::genCall | ( | XStr & | dest, | |
const XStr & | preCall, | |||
bool | redn_wrapper = false , |
|||
bool | usesImplBuf = false | |||
) | [private] |
Definition at line 2331 of file xi-Entry.C.
References xi::Chare::baseName(), xi::ParamList::beginRednWrapperUnmarshall(), xi::ParamList::beginUnmarshall(), xi::ParamList::beginUnmarshallSDAGCall(), xi::Member::container, epStr(), xi::fortranify(), xi::fortranMode, genAccelFullCallList(), genRegularCall(), xi::ParamList::hasRecvRdma(), isAccel(), xi::Chare::isArray(), xi::ParamList::isCkArgMsgPtr(), xi::ParamList::isCkMigMsgPtr(), isConstructor(), xi::Chare::isMainChare(), xi::ParamList::isMarshalled(), xi::ParamList::isVoid(), isWhenEntry, name, param, sdagCon, and xi::ParamList::unmarshallAddress().
Referenced by genDefs().
void xi::Entry::genRegularCall | ( | XStr & | dest, | |
const XStr & | preCall, | |||
bool | redn_wrapper = false , |
|||
bool | usesImplBuf = false , |
|||
bool | isRdmaPost = false | |||
) | [private] |
Definition at line 2435 of file xi-Entry.C.
References xi::Chare::baseName(), xi::Member::container, containsWhenConstruct, xi::TVarList::genShort(), xi::ParamList::hasRdma(), xi::ParamList::hasRecvRdma(), xi::Chare::isArray(), isConstructor(), xi::Chare::isForElement(), xi::ParamList::isMarshalled(), xi::ParamList::isMessage(), isMigrationConstructor(), xi::ParamList::isVoid(), isWhenEntry, name, numRdmaRecvParams, param, sdagCon, xi::ParamList::storePostedRdmaPtrs(), xi::Member::tspec, and xi::ParamList::unmarshall().
Referenced by genCall().
Definition at line 278 of file xi-Entry.C.
References entryCount, xi::TVarList::genShort(), xi::ParamList::getBaseName(), xi::ParamList::isMessage(), xi::ParamList::isVoid(), name, param, xi::XStr::replace(), and xi::Member::tspec.
Referenced by aggregatorGlobalType(), aggregatorName(), aggregatorType(), epIdx(), epRegFn(), genAccelIndexWrapperDecl_general(), genAccelIndexWrapperDecl_spe(), genAccelIndexWrapperDef_general(), genAccelIndexWrapperDef_spe(), genAccels_ppe_c_regFuncs(), genAccels_spe_c_funcBodies(), genAccels_spe_c_regFuncs(), genCall(), genDefs(), genIndexDecls(), genRegEp(), marshallMsg(), and preprocess().
Definition at line 300 of file xi-Entry.C.
References epStr(), indexName(), and xi::Member::tspec.
Referenced by genArrayDefs(), genArrayStaticConstructorDefs(), genChareDefs(), genChareStaticConstructorDefs(), genDefs(), genGroupDefs(), genGroupStaticConstructorDefs(), genIndexDecls(), and genReg().
Definition at line 311 of file xi-Entry.C.
References epStr(), and indexName().
Referenced by genIndexDecls().
Definition at line 318 of file xi-Entry.C.
References indexName().
Referenced by genChareStaticConstructorDefs(), and genGroupStaticConstructorDefs().
void xi::Entry::genEpIdxDecl | ( | XStr & | str | ) | [private] |
void xi::Entry::genEpIdxDef | ( | XStr & | str | ) | [private] |
Definition at line 2080 of file xi-Entry.C.
References xi::Chare::baseName(), xi::ParamList::beginUnmarshallSDAG(), xi::XStr::clear(), xi::Member::container, xi::Type::deref(), entryCount, genClosureTypeName, genClosureTypeNameProxy, genClosureTypeNameProxyTemp, xi::generateTemplateSpec(), xi::TVarList::genShort(), xi::Type::getBaseName(), xi::Parameter::isArray(), isConstructor(), xi::Parameter::isFirstRdma(), isLocal(), xi::Parameter::isMessage(), xi::Parameter::isRdma(), xi::Chare::isTemplated(), xi::Parameter::isVoid(), name, xi::Parameter::name, xi::ParamList::next, param, xi::Parameter::podType, sdagCon, xi::Chare::sdagPUPReg, xi::Member::tspec, xi::TEntity::tspec(), and xi::Parameter::type.
Referenced by genClosureEntryDecls(), and genClosureEntryDefs().
void xi::Entry::genClosureEntryDefs | ( | XStr & | str | ) | [private, virtual] |
Reimplemented from xi::AstNode.
Definition at line 2074 of file xi-Entry.C.
References xi::Member::container, genClosure(), xi::Chare::isTemplated(), xi::templateGuardBegin(), xi::templateGuardEnd(), and xi::Member::tspec.
void xi::Entry::genClosureEntryDecls | ( | XStr & | str | ) | [private, virtual] |
Reimplemented from xi::AstNode.
Definition at line 2072 of file xi-Entry.C.
References genClosure().
void xi::Entry::genChareDecl | ( | XStr & | str | ) | [private] |
Definition at line 354 of file xi-Entry.C.
References genChareStaticConstructorDecl(), xi::generateTemplateSpec(), isConstructor(), name, paramType(), retType, and xi::Member::tspec.
Referenced by genDecls().
void xi::Entry::genChareStaticConstructorDecl | ( | XStr & | str | ) | [private] |
Definition at line 401 of file xi-Entry.C.
References xi::Member::container, eo(), xi::ParamList::isVoid(), param, paramComma(), and xi::Chare::proxyName().
Referenced by genChareDecl().
void xi::Entry::genChareStaticConstructorDefs | ( | XStr & | str | ) | [private] |
Definition at line 411 of file xi-Entry.C.
References chareIdx(), xi::Member::container, eo(), epIdx(), xi::ParamList::isVoid(), xi::Member::makeDecl(), marshallMsg(), param, paramComma(), and xi::Chare::proxyName().
Referenced by genChareDefs().
void xi::Entry::genChareDefs | ( | XStr & | str | ) | [private] |
Definition at line 364 of file xi-Entry.C.
References epIdx(), genChareStaticConstructorDefs(), xi::ParamList::hasRdma(), isConstructor(), isInline(), isSkipscheduler(), isSync(), xi::Member::makeDecl(), marshallMsg(), name, param, paramType(), retType, syncPostCall(), and syncPreCall().
Referenced by genDefs().
void xi::Entry::genArrayDefs | ( | XStr & | str | ) | [private] |
Definition at line 498 of file xi-Entry.C.
References xi::Parameter::arrLen, xi::Chare::baseName(), xi::Parameter::byConst, xi::Parameter::byReference, xi::Parameter::conditional, xi::Member::container, epIdx(), genArrayStaticConstructorDefs(), xi::TVarList::genShort(), isAppWork(), isConstructor(), isCreateHere(), isCreateHome(), xi::Chare::isForElement(), xi::Chare::isForSection(), isIget(), isInline(), isLocal(), isNoTrace(), xi::Parameter::isRdma(), isSkipscheduler(), isSync(), xi::Chare::isTemplated(), xi::Member::makeDecl(), marshallMsg(), name, xi::ParamList::next, p, xi::ParamList::param, param, paramType(), retType, syncPostCall(), syncPreCall(), xi::Member::tspec, xi::Parameter::type, and xi::ParamList::unmarshallForward().
Referenced by genDefs().
void xi::Entry::genArrayStaticConstructorDecl | ( | XStr & | str | ) | [private] |
Definition at line 650 of file xi-Entry.C.
References xi::Member::container, xi::die(), eo(), xi::forAll, xi::forIndividual, xi::forSection, xi::Chare::getForWhom(), xi::Chare::isArray(), and paramComma().
Referenced by genArrayDecl().
void xi::Entry::genArrayStaticConstructorDefs | ( | XStr & | str | ) | [private] |
Definition at line 697 of file xi-Entry.C.
References xi::Member::container, xi::die(), eo(), epIdx(), xi::forAll, xi::forIndividual, genTramInstantiation(), xi::Chare::getForWhom(), xi::Chare::isArray(), xi::Member::makeDecl(), marshallMsg(), and paramComma().
Referenced by genArrayDefs().
void xi::Entry::genArrayDecl | ( | XStr & | str | ) | [private] |
Definition at line 445 of file xi-Entry.C.
References xi::Parameter::arrLen, xi::Parameter::byReference, xi::Parameter::conditional, xi::Member::container, genArrayStaticConstructorDecl(), xi::generateTemplateSpec(), xi::TVarList::genLong(), isConstructor(), xi::Chare::isForElement(), isIget(), isInline(), isLocal(), xi::Parameter::isRdma(), isSync(), isTramTarget(), name, xi::ParamList::next, p, xi::ParamList::param, param, paramType(), retType, xi::Member::tspec, and xi::Parameter::type.
Referenced by genDecls().
void xi::Entry::genGroupDecl | ( | XStr & | str | ) | [private] |
Definition at line 782 of file xi-Entry.C.
References xi::Member::container, eo(), xi::generateTemplateSpec(), genGroupStaticConstructorDecl(), isConstructor(), xi::Chare::isForElement(), xi::Chare::isForSection(), isLocal(), xi::Chare::isNodeGroup(), isSync(), isTramTarget(), name, paramComma(), paramType(), retType, and xi::Member::tspec.
Referenced by genDecls().
void xi::Entry::genGroupStaticConstructorDecl | ( | XStr & | str | ) | [private] |
Definition at line 1138 of file xi-Entry.C.
References xi::Member::container, xi::Chare::isForElement(), xi::Chare::isForSection(), xi::ParamList::isVoid(), param, paramType(), and xi::Chare::proxyName().
Referenced by genGroupDecl().
void xi::Entry::genGroupStaticConstructorDefs | ( | XStr & | str | ) | [private] |
Definition at line 1148 of file xi-Entry.C.
References chareIdx(), xi::Member::container, epIdx(), genTramInstantiation(), xi::Chare::isForElement(), xi::Chare::isForSection(), xi::Chare::isNodeGroup(), xi::ParamList::isVoid(), xi::Member::makeDecl(), marshallMsg(), param, paramType(), and xi::Chare::proxyName().
Referenced by genGroupDefs().
void xi::Entry::genGroupDefs | ( | XStr & | str | ) | [private] |
Definition at line 811 of file xi-Entry.C.
References xi::Chare::baseName(), xi::Member::container, eo(), epIdx(), genGroupStaticConstructorDefs(), xi::ParamList::hasRdma(), isAppWork(), isConstructor(), xi::Chare::isForElement(), xi::Chare::isForSection(), isImmediate(), isInline(), isLocal(), xi::Chare::isNodeGroup(), isNoTrace(), isSkipscheduler(), isSync(), xi::Member::makeDecl(), marshallMsg(), name, param, paramComma(), paramType(), retType, syncPostCall(), syncPreCall(), and xi::ParamList::unmarshall().
Referenced by genDefs().
void xi::Entry::genPythonDecls | ( | XStr & | str | ) | [private, virtual] |
Reimplemented from xi::Member.
Definition at line 1179 of file xi-Entry.C.
References xi::Chare::baseName(), xi::Member::container, isPython(), name, and print().
void xi::Entry::genPythonDefs | ( | XStr & | str | ) | [private, virtual] |
Reimplemented from xi::Member.
Definition at line 1189 of file xi-Entry.C.
References xi::Chare::baseName(), xi::Member::container, isPython(), name, and print().
void xi::Entry::genPythonStaticDefs | ( | XStr & | str | ) | [private, virtual] |
Reimplemented from xi::Member.
Definition at line 1222 of file xi-Entry.C.
References xi::Chare::baseName(), xi::Member::container, isPython(), and name.
void xi::Entry::genPythonStaticDocs | ( | XStr & | str | ) | [private, virtual] |
Reimplemented from xi::Member.
Definition at line 1229 of file xi-Entry.C.
References isPython(), name, and pythonDoc.
void xi::Entry::genTramTypes | ( | ) | [private, virtual] |
Reimplemented from xi::Member.
Definition at line 1016 of file xi-Entry.C.
References aggregatorName(), aggregatorType(), xi::Member::container, dataItemType(), xi::XStr::get_string(), isTramTarget(), tramInstanceIndex, and xi::Chare::tramInstances.
void xi::Entry::genTramDefs | ( | XStr & | str | ) | [private] |
Definition at line 1033 of file xi-Entry.C.
References aggregatorName(), aggregatorType(), xi::Member::container, xi::Chare::isArray(), xi::Chare::isGroup(), isInline(), isLocal(), xi::Member::makeDecl(), xi::Parameter::name, name, xi::ParamList::param, param, paramType(), retType, and tramInstanceIndex.
Referenced by genDefs().
void xi::Entry::genTramInstantiation | ( | XStr & | str | ) | [private] |
Definition at line 1073 of file xi-Entry.C.
References xi::Member::container, xi::tramBufferSize, and xi::Chare::tramInstances.
Referenced by genArrayStaticConstructorDefs(), and genGroupStaticConstructorDefs().
Definition at line 1239 of file xi-Entry.C.
References xi::Parameter::ACCEL_BUFFER_TYPE_READWRITE, xi::Parameter::ACCEL_BUFFER_TYPE_WRITEONLY, accelParam, xi::Chare::baseName(), xi::Member::container, xi::Parameter::getAccelBufferType(), xi::Type::getBaseName(), xi::Parameter::getName(), xi::Parameter::getType(), isAccel(), xi::Parameter::isArray(), xi::Type::isVoid(), xi::ParamList::next, xi::ParamList::param, and param.
Referenced by genAccelIndexWrapperDecl_general(), genAccelIndexWrapperDecl_spe(), genAccelIndexWrapperDef_general(), and genAccelIndexWrapperDef_spe().
void xi::Entry::genAccelFullCallList | ( | XStr & | str | ) | [private] |
Definition at line 1296 of file xi-Entry.C.
References accelParam, xi::Parameter::getAccelInstName(), xi::Parameter::getName(), xi::Parameter::getType(), isAccel(), xi::Type::isVoid(), xi::ParamList::next, xi::ParamList::param, and param.
Referenced by genCall().
void xi::Entry::genAccelIndexWrapperDecl_general | ( | XStr & | str | ) | [private] |
Definition at line 1329 of file xi-Entry.C.
References epStr(), and genAccelFullParamList().
Referenced by genIndexDecls().
void xi::Entry::genAccelIndexWrapperDef_general | ( | XStr & | str | ) | [private] |
Definition at line 1335 of file xi-Entry.C.
References epStr(), genAccelFullParamList(), and xi::Member::makeDecl().
Referenced by genDefs().
void xi::Entry::genAccelIndexWrapperDecl_spe | ( | XStr & | str | ) | [private] |
Definition at line 1353 of file xi-Entry.C.
References epStr(), and genAccelFullParamList().
Referenced by genIndexDecls().
void xi::Entry::genAccelIndexWrapperDef_spe | ( | XStr & | str | ) | [private] |
Definition at line 1368 of file xi-Entry.C.
References xi::Parameter::ACCEL_BUFFER_TYPE_READONLY, xi::Parameter::ACCEL_BUFFER_TYPE_READWRITE, xi::Parameter::ACCEL_BUFFER_TYPE_WRITEONLY, accel_dmaList_numReadOnly, accel_dmaList_numReadWrite, accel_dmaList_numWriteOnly, accel_dmaList_scalarNeedsWrite, accel_numArrays, accel_numScalars, accelParam, xi::Chare::baseName(), xi::Member::container, xi::die(), epStr(), first_line_, genAccelFullParamList(), xi::Parameter::getAccelBufferType(), xi::Parameter::getAccelInstName(), xi::Parameter::getArrayLen(), xi::Type::getBaseName(), xi::Parameter::getName(), xi::Parameter::getType(), xi::Chare::indexName(), xi::Parameter::isArray(), xi::Type::isVoid(), xi::Member::makeDecl(), xi::ParamList::next, xi::ParamList::param, and param.
Referenced by genDefs().
Reimplemented from xi::AstNode.
Definition at line 1772 of file xi-Entry.C.
References xi::Parameter::ACCEL_BUFFER_TYPE_READONLY, xi::Parameter::ACCEL_BUFFER_TYPE_READWRITE, xi::Parameter::ACCEL_BUFFER_TYPE_WRITEONLY, accel_dmaList_numReadOnly, accel_dmaList_scalarNeedsWrite, accel_numScalars, accelParam, epStr(), xi::Parameter::getAccelBufferType(), xi::Type::getBaseName(), xi::Parameter::getName(), xi::Parameter::getType(), indexName(), isAccel(), xi::Parameter::isArray(), xi::Type::isVoid(), xi::ParamList::next, xi::ParamList::param, and param.
void xi::Entry::genAccels_spe_c_regFuncs | ( | XStr & | str | ) | [private, virtual] |
Reimplemented from xi::AstNode.
Definition at line 1951 of file xi-Entry.C.
References epStr(), indexName(), and isAccel().
void xi::Entry::genAccels_ppe_c_regFuncs | ( | XStr & | str | ) | [private, virtual] |
Reimplemented from xi::AstNode.
Definition at line 1959 of file xi-Entry.C.
References epStr(), indexName(), and isAccel().
XStr xi::Entry::aggregatorIndexType | ( | ) | [private] |
Definition at line 956 of file xi-Entry.C.
References xi::Member::container, xi::Chare::isArray(), and xi::Chare::isGroup().
Referenced by aggregatorGlobalType(), aggregatorType(), and dataItemType().
XStr xi::Entry::dataItemType | ( | ) | [private] |
Definition at line 968 of file xi-Entry.C.
References aggregatorIndexType(), xi::Member::container, xi::Chare::isArray(), xi::Chare::isGroup(), xi::ParamList::param, param, and xi::Parameter::type.
Referenced by genTramRegs(), genTramTypes(), and tramBaseType().
XStr xi::Entry::tramBaseType | ( | ) | [private] |
Definition at line 1104 of file xi-Entry.C.
References dataItemType().
Referenced by genTramRegs().
XStr xi::Entry::aggregatorType | ( | ) | [private] |
Definition at line 979 of file xi-Entry.C.
References aggregatorIndexType(), xi::Chare::baseName(), xi::Member::container, epStr(), xi::Chare::indexName(), xi::Chare::isArray(), xi::Chare::isGroup(), xi::ParamList::param, param, and xi::Parameter::type.
Referenced by genTramDefs(), genTramRegs(), and genTramTypes().
Definition at line 994 of file xi-Entry.C.
References aggregatorIndexType(), xi::Chare::baseName(), xi::Member::container, epStr(), xi::Chare::indexName(), xi::Chare::isArray(), xi::Chare::isGroup(), xi::ParamList::param, param, and xi::Parameter::type.
Referenced by genTramPups().
XStr xi::Entry::aggregatorName | ( | ) | [private] |
Definition at line 1010 of file xi-Entry.C.
References epStr().
Referenced by genTramDefs(), and genTramTypes().
XStr xi::Entry::paramType | ( | int | withDefaultVals, | |
int | withEO = 0 , |
|||
int | useConst = 1 , |
|||
int | rValue = 0 | |||
) | [private] |
Definition at line 236 of file xi-Entry.C.
References eo(), xi::ParamList::isVoid(), param, and xi::ParamList::print().
Referenced by genArrayDecl(), genArrayDefs(), genChareDecl(), genChareDefs(), genGroupDecl(), genGroupDefs(), genGroupStaticConstructorDecl(), genGroupStaticConstructorDefs(), genIndexDecls(), genReg(), genRegEp(), genTramDefs(), and paramComma().
Definition at line 245 of file xi-Entry.C.
References xi::ParamList::isVoid(), param, and paramType().
Referenced by genArrayStaticConstructorDecl(), genArrayStaticConstructorDefs(), genChareStaticConstructorDecl(), genChareStaticConstructorDefs(), genGroupDecl(), and genGroupDefs().
Definition at line 253 of file xi-Entry.C.
References xi::ParamList::isMessage(), and param.
Referenced by genArrayStaticConstructorDecl(), genArrayStaticConstructorDefs(), genChareStaticConstructorDecl(), genChareStaticConstructorDefs(), genGroupDecl(), genGroupDefs(), and paramType().
XStr xi::Entry::syncPreCall | ( | void | ) | [private] |
Definition at line 325 of file xi-Entry.C.
References xi::Type::isMessage(), xi::Type::isVoid(), and retType.
Referenced by genArrayDefs(), genChareDefs(), and genGroupDefs().
XStr xi::Entry::syncPostCall | ( | void | ) | [private] |
Definition at line 336 of file xi-Entry.C.
References xi::Type::isMessage(), xi::Type::isVoid(), and retType.
Referenced by genArrayDefs(), genChareDefs(), and genGroupDefs().
XStr xi::Entry::marshallMsg | ( | void | ) | [private] |
Definition at line 271 of file xi-Entry.C.
References epStr(), xi::ParamList::marshall(), and param.
Referenced by genArrayDefs(), genArrayStaticConstructorDefs(), genChareDefs(), genChareStaticConstructorDefs(), genGroupDefs(), and genGroupStaticConstructorDefs().
Definition at line 2298 of file xi-Entry.C.
References xi::Chare::baseName(), xi::Member::container, xi::die(), first_line_, getStackSize(), isConstructor(), isMigrationConstructor(), xi::Member::makeDecl(), and name.
Referenced by genDefs().
void xi::Entry::addEStateVar | ( | CStateVar * | sv | ) | [inline] |
void xi::Entry::setAccelParam | ( | ParamList * | apl | ) |
void xi::Entry::setAccelCodeBody | ( | XStr * | acb | ) |
void xi::Entry::setAccelCallbackName | ( | XStr * | acbn | ) |
void xi::Entry::setChare | ( | Chare * | c | ) | [virtual] |
Reimplemented from xi::Member.
Definition at line 182 of file xi-Entry.C.
References PUP::a, xi::Member::container, entryCount, xi::fortranMode, xi::SdagConstruct::generateEntryList(), hasCallMarshall, xi::Array::hasVoidConstructor, xi::Chare::isArray(), isConstructor(), isExclusive(), xi::Chare::isMainChare(), xi::ParamList::isMarshalled(), isSdag(), isSync(), isThreaded(), xi::ParamList::isVoid(), line, xi::Chare::lookforCEntry(), xi::Chare::nextEntry(), param, sdagCon, xi::Member::setChare(), xi::Chare::setSdag(), and PUP::t.
Referenced by xi::Chare::genDecls(), and xi::Chare::preprocess().
int xi::Entry::paramIsMarshalled | ( | void | ) |
Definition at line 3028 of file xi-Entry.C.
References xi::ParamList::isMarshalled(), and param.
Referenced by xi::SdagEntryConstruct::generateCode(), xi::WhenConstruct::generateEntryName(), and xi::SdagConstruct::propagateState().
int xi::Entry::getStackSize | ( | void | ) |
Definition at line 3030 of file xi-Entry.C.
References xi::Value::getIntVal(), and stacksize.
Referenced by callThread().
int xi::Entry::isThreaded | ( | void | ) |
Definition at line 3036 of file xi-Entry.C.
References attribs.
Referenced by check(), Entry(), genDefs(), genIndexDecls(), print(), and setChare().
int xi::Entry::isSync | ( | void | ) |
Definition at line 3037 of file xi-Entry.C.
References attribs.
Referenced by check(), genArrayDecl(), genArrayDefs(), genChareDefs(), genDefs(), genGroupDecl(), genGroupDefs(), print(), and setChare().
int xi::Entry::isIget | ( | void | ) |
Definition at line 3038 of file xi-Entry.C.
References attribs.
Referenced by check(), genArrayDecl(), genArrayDefs(), genDecls(), and genDefs().
int xi::Entry::isConstructor | ( | void | ) |
Definition at line 3039 of file xi-Entry.C.
References xi::Chare::baseName(), xi::Member::container, xi::XStr::get_string(), and name.
Referenced by callThread(), check(), genArrayDecl(), genArrayDefs(), genCall(), genChareDecl(), genChareDefs(), genClosure(), genDefs(), xi::SdagEntryConstruct::generateCode(), genGroupDecl(), genGroupDefs(), genIndexDecls(), genReg(), genRegularCall(), isMigrationConstructor(), and setChare().
bool xi::Entry::isMigrationConstructor | ( | ) |
Definition at line 3042 of file xi-Entry.C.
References attribs, and isConstructor().
Referenced by callThread(), genDecls(), genDefs(), genReg(), genRegEp(), and genRegularCall().
int xi::Entry::isExclusive | ( | void | ) |
Definition at line 3043 of file xi-Entry.C.
References attribs.
Referenced by check(), genDefs(), and setChare().
int xi::Entry::isImmediate | ( | void | ) |
Definition at line 3044 of file xi-Entry.C.
References attribs.
Referenced by check(), and genGroupDefs().
int xi::Entry::isSkipscheduler | ( | void | ) |
Definition at line 3045 of file xi-Entry.C.
References attribs.
Referenced by genArrayDefs(), genChareDefs(), and genGroupDefs().
int xi::Entry::isInline | ( | void | ) |
Definition at line 3046 of file xi-Entry.C.
References attribs.
Referenced by genArrayDecl(), genArrayDefs(), genChareDefs(), genGroupDefs(), and genTramDefs().
int xi::Entry::isLocal | ( | void | ) |
Definition at line 3047 of file xi-Entry.C.
References attribs.
Referenced by check(), genArrayDecl(), genArrayDefs(), genClosure(), genDefs(), genGroupDecl(), genGroupDefs(), and genTramDefs().
int xi::Entry::isCreate | ( | void | ) |
int xi::Entry::isCreateHome | ( | void | ) |
Definition at line 3049 of file xi-Entry.C.
References attribs.
Referenced by genArrayDefs().
int xi::Entry::isCreateHere | ( | void | ) |
Definition at line 3050 of file xi-Entry.C.
References attribs.
Referenced by genArrayDefs().
int xi::Entry::isPython | ( | void | ) |
Definition at line 3051 of file xi-Entry.C.
References attribs.
Referenced by check(), Entry(), genPythonDecls(), genPythonDefs(), genPythonStaticDefs(), and genPythonStaticDocs().
int xi::Entry::isNoTrace | ( | void | ) |
Definition at line 3052 of file xi-Entry.C.
References attribs.
Referenced by genArrayDefs(), and genGroupDefs().
int xi::Entry::isAppWork | ( | void | ) |
Definition at line 3053 of file xi-Entry.C.
References attribs.
Referenced by genArrayDefs(), and genGroupDefs().
int xi::Entry::isNoKeep | ( | void | ) |
Definition at line 3054 of file xi-Entry.C.
References attribs.
Referenced by genDefs().
int xi::Entry::isSdag | ( | void | ) | [virtual] |
Reimplemented from xi::Member.
Definition at line 3055 of file xi-Entry.C.
References sdagCon.
Referenced by check(), collectSdagCode(), preprocessSDAG(), and setChare().
bool xi::Entry::isTramTarget | ( | void | ) | [virtual] |
Reimplemented from xi::Member.
Definition at line 3056 of file xi-Entry.C.
References attribs.
Referenced by check(), genArrayDecl(), genDefs(), genGroupDecl(), genTramPups(), genTramRegs(), and genTramTypes().
int xi::Entry::isAccel | ( | void | ) |
Definition at line 3059 of file xi-Entry.C.
References attribs.
Referenced by genAccelFullCallList(), genAccelFullParamList(), genAccels_ppe_c_regFuncs(), genAccels_spe_c_funcBodies(), genAccels_spe_c_regFuncs(), genCall(), genDefs(), genIndexDecls(), and preprocess().
int xi::Entry::isMemCritical | ( | void | ) |
int xi::Entry::isReductionTarget | ( | void | ) |
Definition at line 3062 of file xi-Entry.C.
References attribs.
Referenced by genDefs(), genIndexDecls(), and genReg().
void xi::Entry::print | ( | XStr & | str | ) | [virtual] |
Implements xi::Printable.
Definition at line 21 of file xi-Entry.C.
References isSync(), isThreaded(), name, param, xi::Value::print(), xi::ParamList::print(), xi::Type::print(), retType, and stacksize.
Referenced by genDecls(), genDefs(), genIndexDecls(), genPythonDecls(), and genPythonDefs().
void xi::Entry::check | ( | void | ) | [virtual] |
Reimplemented from xi::AstNode.
Definition at line 38 of file xi-Entry.C.
References attribs, xi::ParamList::checkParamList(), xi::Member::container, containsWhenConstruct, xi::Construct::external, first_line_, xi::SdagConstruct::generateEntryList(), xi::Parameter::getType(), xi::Chare::isArray(), xi::Type::isBuiltin(), xi::Chare::isChare(), xi::ParamList::isCkArgMsgPtr(), isConstructor(), isExclusive(), xi::Chare::isGroup(), isIget(), isImmediate(), isLocal(), xi::Chare::isMainChare(), xi::ParamList::isMarshalled(), xi::Chare::isNodeGroup(), xi::Chare::isPython(), isPython(), isSdag(), isSync(), isThreaded(), isTramTarget(), xi::ParamList::isVoid(), xi::Type::isVoid(), xi::Chare::lookforCEntry(), xi::ParamList::next, xi::ParamList::param, param, retType, sdagCon, and stacksize.
void xi::Entry::genIndexDecls | ( | XStr & | str | ) | [virtual] |
<
Reimplemented from xi::Member.
Definition at line 1967 of file xi-Entry.C.
References xi::Chare::baseName(), xi::Member::container, epIdx(), epRegFn(), epStr(), genAccelIndexWrapperDecl_general(), genAccelIndexWrapperDecl_spe(), xi::generateTemplateSpec(), hasCallMarshall, isAccel(), isConstructor(), xi::ParamList::isMarshalled(), isReductionTarget(), isThreaded(), name, param, paramType(), xi::ParamList::print(), print(), retType, and xi::Member::tspec.
void xi::Entry::genDecls | ( | XStr & | str | ) | [virtual] |
Reimplemented from xi::AstNode.
Definition at line 2051 of file xi-Entry.C.
References xi::Member::container, xi::Construct::external, genArrayDecl(), genChareDecl(), genGroupDecl(), xi::Chare::isArray(), xi::Chare::isForElement(), xi::Chare::isGroup(), isIget(), isMigrationConstructor(), and print().
void xi::Entry::genDefs | ( | XStr & | str | ) | [virtual] |
Reimplemented from xi::AstNode.
Definition at line 2530 of file xi-Entry.C.
References xi::Chare::baseName(), xi::ParamList::beginUnmarshall(), callThread(), xi::Member::container, xi::Type::deref(), xi::ParamList::endUnmarshall(), epIdx(), epStr(), xi::Construct::external, xi::forAll, xi::fortranify(), xi::fortranMode, genAccelIndexWrapperDef_general(), genAccelIndexWrapperDef_spe(), genArrayDefs(), genCall(), genChareDefs(), genClosureTypeNameProxy, genGroupDefs(), xi::TVarList::genLong(), genRegEp(), xi::TVarList::genShort(), genTramDefs(), xi::Chare::getForWhom(), xi::Parameter::getType(), hasCallMarshall, xi::ParamList::hasConditional(), xi::Chare::indexList(), indexName(), isAccel(), xi::Chare::isArray(), xi::Chare::isChare(), isConstructor(), isExclusive(), xi::Chare::isForElement(), xi::Chare::isGroup(), isIget(), isLocal(), xi::Chare::isMainChare(), xi::ParamList::isMarshalled(), xi::Type::isMessage(), xi::ParamList::isMessage(), isMigrationConstructor(), isNoKeep(), isReductionTarget(), isSync(), xi::Chare::isTemplated(), isThreaded(), isTramTarget(), xi::Type::isVoid(), xi::ParamList::isVoid(), isWhenEntry, xi::Member::makeDecl(), name, xi::ParamList::param, param, xi::Type::print(), print(), xi::ParamList::printAddress(), xi::ParamList::printValue(), xi::Chare::proxyName(), xi::ParamList::pupAllValues(), retType, sdagCon, xi::templateGuardBegin(), xi::templateGuardEnd(), xi::TEntity::tspec(), and xi::Member::tspec.
void xi::Entry::genReg | ( | XStr & | str | ) | [virtual] |
Reimplemented from xi::AstNode.
Definition at line 2918 of file xi-Entry.C.
References xi::Member::container, epIdx(), xi::Construct::external, isConstructor(), xi::Chare::isMainChare(), isMigrationConstructor(), isReductionTarget(), xi::ParamList::isVoid(), label, name, param, paramType(), retType, targs, and xi::Member::tspec.
Definition at line 2864 of file xi-Entry.C.
References attribs, epStr(), xi::ParamList::genMsgProxyName(), xi::TVarList::genShort(), xi::ParamList::hasConditional(), xi::internalMode, xi::ParamList::isMarshalled(), isMigrationConstructor(), xi::ParamList::isVoid(), name, param, paramType(), and xi::Member::tspec.
Referenced by genDefs().
void xi::Entry::preprocess | ( | ) | [virtual] |
Reimplemented from xi::AstNode.
Definition at line 2941 of file xi-Entry.C.
References xi::Parameter::ACCEL_BUFFER_TYPE_READONLY, xi::Parameter::ACCEL_BUFFER_TYPE_READWRITE, xi::Parameter::ACCEL_BUFFER_TYPE_WRITEONLY, accel_dmaList_numReadOnly, accel_dmaList_numReadWrite, accel_dmaList_numWriteOnly, accel_dmaList_scalarNeedsWrite, accel_numArrays, accel_numScalars, accelParam, xi::Member::container, xi::Construct::containerModule, epStr(), first_line_, xi::Parameter::getAccelBufferType(), xi::Parameter::getName(), xi::Parameter::getType(), xi::ParamList::hasConditional(), isAccel(), xi::Parameter::isArray(), xi::Parameter::isConditional(), xi::Type::isVoid(), list, PUP::m, Prefix::Message, xi::ParamList::next, xi::ParamList::param, param, xi::Module::prependConstruct(), xi::Construct::setModule(), and strdup().
void xi::Entry::preprocessSDAG | ( | ) | [virtual] |
Reimplemented from xi::Member.
Definition at line 225 of file xi-Entry.C.
References attribs, xi::Member::container, xi::Chare::isNodeGroup(), isSdag(), and isWhenEntry.
char * xi::Entry::getEntryName | ( | ) |
Definition at line 3064 of file xi-Entry.C.
References name.
Referenced by xi::WhenConstruct::generateEntryName().
void xi::Entry::generateEntryList | ( | std::list< CEntry * > & | , | |
WhenConstruct * | ||||
) |
void xi::Entry::collectSdagCode | ( | SdagCollection * | sc | ) | [virtual] |
Reimplemented from xi::Member.
Definition at line 265 of file xi-Entry.C.
References xi::SdagCollection::addNode(), and isSdag().
void xi::Entry::propagateState | ( | int | ) |
void xi::Entry::lookforCEntry | ( | CEntry * | centry | ) | [virtual] |
Reimplemented from xi::Member.
Definition at line 127 of file xi-Entry.C.
References xi::CEntry::addCandidate(), xi::CEntry::decl_entry, xi::CEntry::entry, isWhenEntry, name, param, and xi::CEntry::paramlist.
int xi::Entry::getLine | ( | ) |
Definition at line 3065 of file xi-Entry.C.
References line.
Referenced by xi::SdagEntryConstruct::generateCode().
void xi::Entry::genTramRegs | ( | XStr & | str | ) | [virtual] |
Reimplemented from xi::AstNode.
Definition at line 1111 of file xi-Entry.C.
References aggregatorType(), dataItemType(), xi::XStr::get_string(), isTramTarget(), and tramBaseType().
Reimplemented from xi::AstNode.
Definition at line 1131 of file xi-Entry.C.
References aggregatorGlobalType(), xi::Member::container, xi::Chare::genRecursivePup(), and isTramTarget().
Chare * xi::Entry::getContainer | ( | void | ) | const |
Reimplemented from xi::Member.
Definition at line 3066 of file xi-Entry.C.
References xi::Member::container.
Referenced by xi::generateClosureSignature(), xi::SdagEntryConstruct::generateCode(), xi::CEntry::generateCode(), xi::SdagConstruct::generateDummyBeginExecute(), xi::generateLocalWrapper(), xi::SdagConstruct::generateTraceBeginCall(), xi::generateVarSignature(), and xi::ParamList::marshall().
Definition at line 47 of file xi-Entry.h.
Referenced by xi::ParamList::beginRednWrapperUnmarshall(), xi::ParamList::beginUnmarshallSDAGCall(), genClosure(), xi::CEntry::generateCode(), and xi::generateLocalWrapper().
Reimplemented from xi::AstNode.
Definition at line 48 of file xi-Entry.h.
Referenced by Entry(), getLine(), and setChare().
Definition at line 48 of file xi-Entry.h.
Referenced by Entry(), epStr(), genClosure(), and setChare().
Definition at line 49 of file xi-Entry.h.
Referenced by callThread(), check(), genAccelIndexWrapperDef_spe(), and preprocess().
Definition at line 49 of file xi-Entry.h.
Definition at line 51 of file xi-Entry.h.
Referenced by xi::ParamList::beginUnmarshall(), xi::ParamList::beginUnmarshallSDAGCall(), Entry(), genRegularCall(), and xi::ParamList::marshall().
int xi::Entry::attribs [private] |
Definition at line 54 of file xi-Entry.h.
Referenced by check(), Entry(), genRegEp(), isAccel(), isAppWork(), isCreate(), isCreateHere(), isCreateHome(), isExclusive(), isIget(), isImmediate(), isInline(), isLocal(), isMemCritical(), isMigrationConstructor(), isNoKeep(), isNoTrace(), isPython(), isReductionTarget(), isSkipscheduler(), isSync(), isThreaded(), isTramTarget(), and preprocessSDAG().
Type* xi::Entry::retType [private] |
Definition at line 55 of file xi-Entry.h.
Referenced by check(), genArrayDecl(), genArrayDefs(), genChareDecl(), genChareDefs(), genDefs(), genGroupDecl(), genGroupDefs(), genIndexDecls(), genReg(), genTramDefs(), print(), syncPostCall(), and syncPreCall().
Value* xi::Entry::stacksize [private] |
const char* xi::Entry::pythonDoc [private] |
int xi::Entry::hasCallMarshall [private] |
std::list<CStateVar*> xi::Entry::estateVars [private] |
char* xi::Entry::name |
Definition at line 137 of file xi-Entry.h.
Referenced by callThread(), epStr(), genArrayDecl(), genArrayDefs(), genCall(), genChareDecl(), genChareDefs(), genClosure(), genDefs(), genGroupDecl(), genGroupDefs(), genIndexDecls(), genPythonDecls(), genPythonDefs(), genPythonStaticDefs(), genPythonStaticDocs(), genReg(), genRegEp(), genRegularCall(), genTramDefs(), getEntryName(), isConstructor(), lookforCEntry(), and print().
Definition at line 141 of file xi-Entry.h.
Referenced by check(), genCall(), genClosure(), genDefs(), genRegularCall(), isSdag(), xi::xi::SdagConCall< void >::operator()(), xi::SdagConCall< T >::operator()(), setChare(), and xi::ParamList::unmarshall().
Definition at line 142 of file xi-Entry.h.
Referenced by addEStateVar(), and xi::WhenConstruct::generateEntryName().
const char* xi::Entry::intExpr |
Definition at line 145 of file xi-Entry.h.
Referenced by aggregatorGlobalType(), aggregatorType(), check(), dataItemType(), Entry(), eo(), epStr(), genAccelFullCallList(), genAccelFullParamList(), genAccelIndexWrapperDef_spe(), genAccels_spe_c_funcBodies(), genArrayDecl(), genArrayDefs(), genCall(), genChareDefs(), genChareStaticConstructorDecl(), genChareStaticConstructorDefs(), genClosure(), genDefs(), xi::SdagEntryConstruct::generateCode(), xi::WhenConstruct::generateEntryName(), genGroupDefs(), genGroupStaticConstructorDecl(), genGroupStaticConstructorDefs(), genIndexDecls(), genReg(), genRegEp(), genRegularCall(), genTramDefs(), lookforCEntry(), marshallMsg(), paramComma(), paramIsMarshalled(), paramType(), preprocess(), print(), xi::SdagConstruct::propagateState(), and setChare().
Definition at line 146 of file xi-Entry.h.
Referenced by Entry(), genCall(), genDefs(), genRegularCall(), lookforCEntry(), preprocessSDAG(), and xi::ParamList::unmarshall().
Definition at line 147 of file xi-Entry.h.
Referenced by check(), Entry(), xi::SdagEntryConstruct::generateCode(), xi::generateLocalWrapper(), and genRegularCall().
Definition at line 157 of file xi-Entry.h.
Referenced by genAccelFullCallList(), genAccelFullParamList(), genAccelIndexWrapperDef_spe(), genAccels_spe_c_funcBodies(), preprocess(), and setAccelParam().
Definition at line 165 of file xi-Entry.h.
Referenced by genAccelIndexWrapperDef_spe(), genAccels_spe_c_funcBodies(), and preprocess().
Definition at line 166 of file xi-Entry.h.
Referenced by genAccelIndexWrapperDef_spe(), and preprocess().
Definition at line 167 of file xi-Entry.h.
Referenced by genAccelIndexWrapperDef_spe(), genAccels_spe_c_funcBodies(), and preprocess().
Definition at line 168 of file xi-Entry.h.
Referenced by genAccelIndexWrapperDef_spe(), and preprocess().
Definition at line 169 of file xi-Entry.h.
Referenced by genAccelIndexWrapperDef_spe(), and preprocess().
Definition at line 170 of file xi-Entry.h.
Referenced by genAccelIndexWrapperDef_spe(), genAccels_spe_c_funcBodies(), and preprocess().