PPL Logo

xi::Entry Class Reference

#include <xi-Entry.h>

Inheritance diagram for xi::Entry:

Inheritance graph
[legend]
Collaboration diagram for xi::Entry:

Collaboration graph
[legend]

Public Member Functions

XStr proxyName (void)
XStr indexName (void)
void addEStateVar (CStateVar *sv)
void setAccelParam (ParamList *apl)
void setAccelCodeBody (XStr *acb)
void setAccelCallbackName (XStr *acbn)
 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)
void setChare (Chare *c)
int paramIsMarshalled (void)
int getStackSize (void)
int isThreaded (void)
int isSync (void)
int isIget (void)
int isConstructor (void)
bool isMigrationConstructor ()
int isExclusive (void)
int isImmediate (void)
int isSkipscheduler (void)
int isInline (void)
int isLocal (void)
int isCreate (void)
int isCreateHome (void)
int isCreateHere (void)
int isPython (void)
int isNoTrace (void)
int isAppWork (void)
int isNoKeep (void)
int isSdag (void)
bool isTramTarget (void)
int isAccel (void)
int isMemCritical (void)
int isReductionTarget (void)
void print (XStr &str)
void check ()
void genIndexDecls (XStr &str)
void genDecls (XStr &str)
void genDefs (XStr &str)
void genReg (XStr &str)
XStr genRegEp (bool isForRedn=false)
void preprocess ()
void preprocessSDAG ()
char * getEntryName ()
void generateEntryList (std::list< CEntry * > &, WhenConstruct *)
void collectSdagCode (SdagCollection *sc)
void propagateState (int)
void lookforCEntry (CEntry *centry)
int getLine ()
void genTramRegs (XStr &str)
void genTramPups (XStr &scope, XStr &decls, XStr &defs)
CharegetContainer (void) const

Data Fields

XStrgenClosureTypeName
XStrgenClosureTypeNameProxy
XStrgenClosureTypeNameProxyTemp
int line
int entryCount
int first_line_
int last_line_
int numRdmaSendParams
int numRdmaRecvParams
XStrlabel
char * name
TParamListtargs
SdagConstructsdagCon
std::list< CStateVar * > stateVars
CEntryentryPtr
const char * intExpr
ParamListparam
int isWhenEntry
bool containsWhenConstruct
int tramInstanceIndex
ParamListaccelParam
XStraccelCodeBody
XStraccelCallbackName
int accel_numScalars
int accel_numArrays
int accel_dmaList_numReadOnly
int accel_dmaList_numReadWrite
int accel_dmaList_numWriteOnly
int accel_dmaList_scalarNeedsWrite

Private Member Functions

void genCall (XStr &dest, const XStr &preCall, bool redn_wrapper=false, bool usesImplBuf=false)
void genRegularCall (XStr &dest, const XStr &preCall, bool redn_wrapper=false, bool usesImplBuf=false, bool isRdmaPost=false)
XStr epStr (bool isForRedn=false, bool templateCall=false)
XStr epIdx (int fromProxy=1, bool isForRedn=false)
XStr epRegFn (int fromProxy=1, bool isForRedn=false)
XStr chareIdx (int fromProxy=1)
void genEpIdxDecl (XStr &str)
void genEpIdxDef (XStr &str)
void genClosure (XStr &str, bool isDef)
void genClosureEntryDefs (XStr &str)
void genClosureEntryDecls (XStr &str)
void genChareDecl (XStr &str)
void genChareStaticConstructorDecl (XStr &str)
void genChareStaticConstructorDefs (XStr &str)
void genChareDefs (XStr &str)
void genArrayDefs (XStr &str)
void genArrayStaticConstructorDecl (XStr &str)
void genArrayStaticConstructorDefs (XStr &str)
void genArrayDecl (XStr &str)
void genGroupDecl (XStr &str)
void genGroupStaticConstructorDecl (XStr &str)
void genGroupStaticConstructorDefs (XStr &str)
void genGroupDefs (XStr &str)
void genPythonDecls (XStr &str)
void genPythonDefs (XStr &str)
void genPythonStaticDefs (XStr &str)
void genPythonStaticDocs (XStr &str)
void genTramTypes ()
void genTramDefs (XStr &str)
void genTramInstantiation (XStr &str)
void genAccelFullParamList (XStr &str, int makeRefs)
void genAccelFullCallList (XStr &str)
void genAccelIndexWrapperDecl_general (XStr &str)
void genAccelIndexWrapperDef_general (XStr &str)
void genAccelIndexWrapperDecl_spe (XStr &str)
void genAccelIndexWrapperDef_spe (XStr &str)
int genAccels_spe_c_funcBodies (XStr &str)
void genAccels_spe_c_regFuncs (XStr &str)
void genAccels_ppe_c_regFuncs (XStr &str)
XStr aggregatorIndexType ()
XStr dataItemType ()
XStr tramBaseType ()
XStr aggregatorType ()
XStr aggregatorGlobalType (XStr &scope)
XStr aggregatorName ()
XStr paramType (int withDefaultVals, int withEO=0, int useConst=1, int rValue=0)
XStr paramComma (int withDefaultVals, int withEO=0)
XStr eo (int withDefaultVals, int priorComma=1)
XStr syncPreCall (void)
XStr syncPostCall (void)
XStr marshallMsg (void)
XStr callThread (const XStr &procName, int prependEntryName=0)

Private Attributes

int attribs
TyperetType
Valuestacksize
const char * pythonDoc
int hasCallMarshall
std::list< CStateVar * > estateVars

Detailed Description

Definition at line 43 of file xi-Entry.h.


Constructor & Destructor Documentation

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 
)


Member Function Documentation

XStr xi::Entry::proxyName ( void   ) 

Definition at line 18 of file xi-Entry.C.

References xi::Member::container, and xi::Chare::proxyName().

Here is the call graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

void xi::Entry::genCall ( XStr dest,
const XStr preCall,
bool  redn_wrapper = false,
bool  usesImplBuf = false 
) [private]

void xi::Entry::genRegularCall ( XStr dest,
const XStr preCall,
bool  redn_wrapper = false,
bool  usesImplBuf = false,
bool  isRdmaPost = false 
) [private]

XStr xi::Entry::epStr ( bool  isForRedn = false,
bool  templateCall = false 
) [private]

XStr xi::Entry::epIdx ( int  fromProxy = 1,
bool  isForRedn = false 
) [private]

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().

Here is the call graph for this function:

Here is the caller graph for this function:

XStr xi::Entry::epRegFn ( int  fromProxy = 1,
bool  isForRedn = false 
) [private]

Definition at line 311 of file xi-Entry.C.

References epStr(), and indexName().

Referenced by genIndexDecls().

Here is the call graph for this function:

Here is the caller graph for this function:

XStr xi::Entry::chareIdx ( int  fromProxy = 1  )  [private]

Definition at line 318 of file xi-Entry.C.

References indexName().

Referenced by genChareStaticConstructorDefs(), and genGroupStaticConstructorDefs().

Here is the call graph for this function:

Here is the caller graph for this function:

void xi::Entry::genEpIdxDecl ( XStr str  )  [private]

void xi::Entry::genEpIdxDef ( XStr str  )  [private]

void xi::Entry::genClosure ( XStr str,
bool  isDef 
) [private]

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.

Here is the call graph for this function:

void xi::Entry::genClosureEntryDecls ( XStr str  )  [private, virtual]

Reimplemented from xi::AstNode.

Definition at line 2072 of file xi-Entry.C.

References genClosure().

Here is the call graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

void xi::Entry::genArrayDefs ( XStr str  )  [private]

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

void xi::Entry::genArrayDecl ( XStr str  )  [private]

void xi::Entry::genGroupDecl ( XStr str  )  [private]

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

void xi::Entry::genGroupDefs ( XStr str  )  [private]

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the caller graph for this function:

void xi::Entry::genAccelFullParamList ( XStr str,
int  makeRefs 
) [private]

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().

Here is the call graph for this function:

Here is the caller graph for this function:

void xi::Entry::genAccelIndexWrapperDecl_general ( XStr str  )  [private]

Definition at line 1329 of file xi-Entry.C.

References epStr(), and genAccelFullParamList().

Referenced by genIndexDecls().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

void xi::Entry::genAccelIndexWrapperDecl_spe ( XStr str  )  [private]

Definition at line 1353 of file xi-Entry.C.

References epStr(), and genAccelFullParamList().

Referenced by genIndexDecls().

Here is the call graph for this function:

Here is the caller graph for this function:

void xi::Entry::genAccelIndexWrapperDef_spe ( XStr str  )  [private]

int xi::Entry::genAccels_spe_c_funcBodies ( XStr str  )  [private, virtual]

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

XStr xi::Entry::tramBaseType (  )  [private]

Definition at line 1104 of file xi-Entry.C.

References dataItemType().

Referenced by genTramRegs().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

XStr xi::Entry::aggregatorGlobalType ( XStr scope  )  [private]

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().

Here is the call graph for this function:

Here is the caller graph for this function:

XStr xi::Entry::aggregatorName (  )  [private]

Definition at line 1010 of file xi-Entry.C.

References epStr().

Referenced by genTramDefs(), and genTramTypes().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

XStr xi::Entry::paramComma ( int  withDefaultVals,
int  withEO = 0 
) [private]

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().

Here is the call graph for this function:

Here is the caller graph for this function:

XStr xi::Entry::eo ( int  withDefaultVals,
int  priorComma = 1 
) [private]

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

XStr xi::Entry::callThread ( const XStr procName,
int  prependEntryName = 0 
) [private]

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().

Here is the call graph for this function:

Here is the caller graph for this function:

void xi::Entry::addEStateVar ( CStateVar sv  )  [inline]

Definition at line 149 of file xi-Entry.h.

References estateVars, and stateVars.

void xi::Entry::setAccelParam ( ParamList apl  ) 

Definition at line 3032 of file xi-Entry.C.

References accelParam.

void xi::Entry::setAccelCodeBody ( XStr acb  ) 

Definition at line 3033 of file xi-Entry.C.

References accelCodeBody.

void xi::Entry::setAccelCallbackName ( XStr acbn  ) 

Definition at line 3034 of file xi-Entry.C.

References accelCallbackName.

void xi::Entry::setChare ( Chare c  )  [virtual]

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().

Here is the call graph for this function:

Here is the caller graph for this function:

int xi::Entry::getStackSize ( void   ) 

Definition at line 3030 of file xi-Entry.C.

References xi::Value::getIntVal(), and stacksize.

Referenced by callThread().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the caller graph for this function:

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().

Here is the caller graph for this function:

int xi::Entry::isIget ( void   ) 

Definition at line 3038 of file xi-Entry.C.

References attribs.

Referenced by check(), genArrayDecl(), genArrayDefs(), genDecls(), and genDefs().

Here is the caller graph for this function:

int xi::Entry::isConstructor ( void   ) 

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().

Here is the call graph for this function:

Here is the caller graph for this function:

int xi::Entry::isExclusive ( void   ) 

Definition at line 3043 of file xi-Entry.C.

References attribs.

Referenced by check(), genDefs(), and setChare().

Here is the caller graph for this function:

int xi::Entry::isImmediate ( void   ) 

Definition at line 3044 of file xi-Entry.C.

References attribs.

Referenced by check(), and genGroupDefs().

Here is the caller graph for this function:

int xi::Entry::isSkipscheduler ( void   ) 

Definition at line 3045 of file xi-Entry.C.

References attribs.

Referenced by genArrayDefs(), genChareDefs(), and genGroupDefs().

Here is the caller graph for this function:

int xi::Entry::isInline ( void   ) 

Definition at line 3046 of file xi-Entry.C.

References attribs.

Referenced by genArrayDecl(), genArrayDefs(), genChareDefs(), genGroupDefs(), and genTramDefs().

Here is the caller graph for this function:

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().

Here is the caller graph for this function:

int xi::Entry::isCreate ( void   ) 

Definition at line 3048 of file xi-Entry.C.

References attribs.

int xi::Entry::isCreateHome ( void   ) 

Definition at line 3049 of file xi-Entry.C.

References attribs.

Referenced by genArrayDefs().

Here is the caller graph for this function:

int xi::Entry::isCreateHere ( void   ) 

Definition at line 3050 of file xi-Entry.C.

References attribs.

Referenced by genArrayDefs().

Here is the caller graph for this function:

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().

Here is the caller graph for this function:

int xi::Entry::isNoTrace ( void   ) 

Definition at line 3052 of file xi-Entry.C.

References attribs.

Referenced by genArrayDefs(), and genGroupDefs().

Here is the caller graph for this function:

int xi::Entry::isAppWork ( void   ) 

Definition at line 3053 of file xi-Entry.C.

References attribs.

Referenced by genArrayDefs(), and genGroupDefs().

Here is the caller graph for this function:

int xi::Entry::isNoKeep ( void   ) 

Definition at line 3054 of file xi-Entry.C.

References attribs.

Referenced by genDefs().

Here is the caller graph for this function:

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().

Here is the caller graph for this function:

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().

Here is the caller graph for this function:

int xi::Entry::isAccel ( void   ) 

int xi::Entry::isMemCritical ( void   ) 

Definition at line 3061 of file xi-Entry.C.

References attribs.

int xi::Entry::isReductionTarget ( void   ) 

Definition at line 3062 of file xi-Entry.C.

References attribs.

Referenced by genDefs(), genIndexDecls(), and genReg().

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

void xi::Entry::check ( void   )  [virtual]

void xi::Entry::genIndexDecls ( XStr str  )  [virtual]

<

Note:
: Should this be generated as private?
<
Note:
: Should this be generated as private?

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.

Here is the call graph for this function:

void xi::Entry::genDecls ( XStr str  )  [virtual]

void xi::Entry::genDefs ( XStr str  )  [virtual]

void xi::Entry::genReg ( XStr str  )  [virtual]

XStr xi::Entry::genRegEp ( bool  isForRedn = false  ) 

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().

Here is the call graph for this function:

Here is the caller graph for this function:

void xi::Entry::preprocess (  )  [virtual]

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.

Here is the call graph for this function:

char * xi::Entry::getEntryName (  ) 

Definition at line 3064 of file xi-Entry.C.

References name.

Referenced by xi::WhenConstruct::generateEntryName().

Here is the caller graph for this function:

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().

Here is the call graph for this function:

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.

Here is the call graph for this function:

int xi::Entry::getLine (  ) 

Definition at line 3065 of file xi-Entry.C.

References line.

Referenced by xi::SdagEntryConstruct::generateCode().

Here is the caller graph for this function:

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().

Here is the call graph for this function:

void xi::Entry::genTramPups ( XStr scope,
XStr decls,
XStr defs 
) [virtual]

Reimplemented from xi::AstNode.

Definition at line 1131 of file xi-Entry.C.

References aggregatorGlobalType(), xi::Member::container, xi::Chare::genRecursivePup(), and isTramTarget().

Here is the call graph for this function:

Chare * xi::Entry::getContainer ( void   )  const


Field Documentation

Definition at line 45 of file xi-Entry.h.

Referenced by genClosure().

Definition at line 46 of file xi-Entry.h.

Referenced by genClosure(), and genDefs().

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 50 of file xi-Entry.h.

Referenced by Entry(), and xi::ParamList::marshall().

Definition at line 56 of file xi-Entry.h.

Referenced by check(), getStackSize(), and print().

const char* xi::Entry::pythonDoc [private]

Definition at line 57 of file xi-Entry.h.

Referenced by Entry(), and genPythonStaticDocs().

Definition at line 65 of file xi-Entry.h.

Referenced by genDefs(), genIndexDecls(), and setChare().

Definition at line 133 of file xi-Entry.h.

Referenced by addEStateVar().

Definition at line 136 of file xi-Entry.h.

Referenced by genReg().

Definition at line 138 of file xi-Entry.h.

Referenced by genReg().

Definition at line 142 of file xi-Entry.h.

Referenced by addEStateVar(), and xi::WhenConstruct::generateEntryName().

Definition at line 143 of file xi-Entry.h.

Referenced by xi::WhenConstruct::generateCode().

const char* xi::Entry::intExpr

Definition at line 144 of file xi-Entry.h.

Referenced by xi::WhenConstruct::generateCode().

Definition at line 154 of file xi-Entry.h.

Referenced by genTramDefs(), and genTramTypes().

Definition at line 158 of file xi-Entry.h.

Referenced by setAccelCodeBody().

Definition at line 159 of file xi-Entry.h.

Referenced by setAccelCallbackName().

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().


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

Generated on Mon Sep 21 08:35:15 2020 for Charm++ by  doxygen 1.5.5