#include <xi-Parameter.h>
Definition at line 13 of file xi-Parameter.h.
anonymous enum |
ACCEL_BUFFER_TYPE_UNKNOWN | |
ACCEL_BUFFER_TYPE_MIN | |
ACCEL_BUFFER_TYPE_READWRITE | |
ACCEL_BUFFER_TYPE_READONLY | |
ACCEL_BUFFER_TYPE_WRITEONLY | |
ACCEL_BUFFER_TYPE_MAX |
Definition at line 95 of file xi-Parameter.h.
xi::Parameter::Parameter | ( | int | Nline, | |
Type * | Ntype, | |||
const char * | Nname = 0 , |
|||
const char * | NarrLen = 0 , |
|||
Value * | Nvalue = 0 | |||
) |
Definition at line 48 of file xi-Parameter.C.
References arrLen, byConst, byReference, declaredReference, xi::Type::deref(), xi::Type::isConst(), isMessage(), xi::Type::isNamed(), xi::Type::isReference(), isVoid(), name, type, and val.
void xi::Parameter::pup | ( | XStr & | str | ) |
Definition at line 351 of file xi-Parameter.C.
References byReference, conditional, isArray(), isRdma(), name, pupArray(), and type.
Referenced by xi::ParamList::marshall().
void xi::Parameter::pupArray | ( | XStr & | str | ) |
Definition at line 346 of file xi-Parameter.C.
References name.
Referenced by pup(), and pupRdma().
Definition at line 337 of file xi-Parameter.C.
References isRdma(), name, and pupArray().
Referenced by xi::ParamList::marshall().
void xi::Parameter::copyPtr | ( | XStr & | str | ) |
Definition at line 382 of file xi-Parameter.C.
References isConditional(), and name.
Referenced by xi::ParamList::marshall().
void xi::Parameter::check | ( | void | ) |
Definition at line 299 of file xi-Parameter.C.
References checkPointer(), xi::Type::deref(), dt, and type.
void xi::Parameter::checkPointer | ( | Type * | dt | ) |
Definition at line 304 of file xi-Parameter.C.
References xi::Type::isPointer(), and line.
Referenced by check().
Definition at line 312 of file xi-Parameter.C.
Referenced by marshallRdmaParameters(), and marshallRegArraySizes().
void xi::Parameter::marshallRegArraySizes | ( | XStr & | str | ) |
Definition at line 319 of file xi-Parameter.C.
References xi::Type::deref(), dt, isArray(), marshallArraySizes(), and type.
Referenced by xi::ParamList::marshall().
Definition at line 324 of file xi-Parameter.C.
References arrLen, xi::Type::deref(), dt, isRdma(), marshallArraySizes(), name, and type.
Referenced by xi::ParamList::marshall().
void xi::Parameter::marshallArrayData | ( | XStr & | str | ) |
Definition at line 376 of file xi-Parameter.C.
References isArray(), and name.
Referenced by xi::ParamList::marshall().
void xi::Parameter::marshallRdmaArrayData | ( | XStr & | str | ) |
Definition at line 363 of file xi-Parameter.C.
References isRdma(), and name.
Referenced by xi::ParamList::marshall().
void xi::Parameter::beginUnmarshall | ( | XStr & | str | ) |
Definition at line 612 of file xi-Parameter.C.
References beginUnmarshallArray(), xi::Type::deref(), dt, isArray(), isConditional(), isRdma(), name, and type.
Referenced by xi::ParamList::beginRednWrapperUnmarshall(), xi::ParamList::beginUnmarshall(), and xi::ParamList::beginUnmarshallSDAG().
void xi::Parameter::beginUnmarshallArray | ( | XStr & | str | ) |
Definition at line 586 of file xi-Parameter.C.
References xi::Type::deref(), dt, isRecvRdma(), name, and type.
Referenced by beginUnmarshall(), beginUnmarshallRdma(), beginUnmarshallSDAGCall(), and beginUnmarshallSDAGCallRdma().
Definition at line 597 of file xi-Parameter.C.
References beginUnmarshallArray(), xi::Type::deref(), dt, isRdma(), name, and type.
Referenced by xi::ParamList::beginRednWrapperUnmarshall(), xi::ParamList::beginUnmarshall(), and xi::ParamList::beginUnmarshallSDAG().
void xi::Parameter::beginUnmarshallSDAGRdma | ( | XStr & | str | ) |
void xi::Parameter::beginUnmarshallSDAGCall | ( | XStr & | str | ) |
Definition at line 642 of file xi-Parameter.C.
References beginUnmarshallArray(), xi::Type::deref(), dt, isArray(), isRdma(), name, podType, and type.
Referenced by xi::ParamList::beginRednWrapperUnmarshall(), and xi::ParamList::beginUnmarshallSDAGCall().
Definition at line 624 of file xi-Parameter.C.
References beginUnmarshallArray(), xi::Type::deref(), dt, isFirstRdma(), isRdma(), isRecvRdma(), name, and type.
Referenced by xi::ParamList::beginRednWrapperUnmarshall(), and xi::ParamList::beginUnmarshallSDAGCall().
void xi::Parameter::unmarshallArrayData | ( | XStr & | str | ) |
Definition at line 784 of file xi-Parameter.C.
References xi::Type::deref(), dt, name, and type.
Referenced by unmarshallRdmaArrayData(), and unmarshallRegArrayData().
void xi::Parameter::unmarshallRegArrayData | ( | XStr & | str | ) |
Definition at line 794 of file xi-Parameter.C.
References isArray(), and unmarshallArrayData().
Referenced by xi::ParamList::beginRednWrapperUnmarshall(), and xi::ParamList::beginUnmarshall().
Definition at line 790 of file xi-Parameter.C.
References isRdma(), and unmarshallArrayData().
Referenced by xi::ParamList::beginUnmarshall().
void xi::Parameter::adjustUnmarshalledRdmaPtrsSDAG | ( | XStr & | str | ) |
Definition at line 740 of file xi-Parameter.C.
References isRdma(), and name.
Referenced by xi::ParamList::beginUnmarshallSDAG().
void xi::Parameter::unmarshallRegArrayDataSDAG | ( | XStr & | str | ) |
Definition at line 732 of file xi-Parameter.C.
References xi::Type::deref(), dt, isArray(), name, and type.
Referenced by xi::ParamList::beginUnmarshallSDAG().
void xi::Parameter::unmarshallRdmaArrayDataSDAG | ( | XStr & | str | ) |
Definition at line 747 of file xi-Parameter.C.
References xi::Type::deref(), dt, isRdma(), name, and type.
Referenced by xi::ParamList::beginUnmarshallSDAG().
void xi::Parameter::unmarshallRegArrayDataSDAGCall | ( | XStr & | str | ) |
Definition at line 755 of file xi-Parameter.C.
References xi::Type::deref(), dt, isArray(), name, and type.
Referenced by xi::ParamList::beginRednWrapperUnmarshall(), and xi::ParamList::beginUnmarshallSDAGCall().
void xi::Parameter::unmarshallRdmaArrayDataSDAGCall | ( | XStr & | str | ) |
Definition at line 763 of file xi-Parameter.C.
References xi::Type::deref(), dt, isRdma(), name, and type.
Referenced by xi::ParamList::beginUnmarshallSDAGCall().
void xi::Parameter::pupAllValues | ( | XStr & | str | ) |
Definition at line 878 of file xi-Parameter.C.
References isArray(), isConditional(), isRdma(), and name.
Referenced by xi::ParamList::pupAllValues().
void xi::Parameter::setConditional | ( | int | c | ) |
void xi::Parameter::setRdma | ( | int | r | ) |
void xi::Parameter::setFirstRdma | ( | bool | fr | ) |
int xi::Parameter::print | ( | XStr & | str, | |
int | withDefaultValues = 0 , |
|||
int | useConst = 1 , |
|||
int | fwdNum = 0 | |||
) |
Definition at line 111 of file xi-Parameter.C.
References arrLen, byConst, byReference, conditional, isRdma(), xi::Type::isVoid(), name, xi::Value::print(), type, and val.
Referenced by xi::ParamList::print().
void xi::Parameter::printAddress | ( | XStr & | str | ) |
Definition at line 153 of file xi-Parameter.C.
References name, xi::Type::print(), and type.
Referenced by xi::ParamList::printAddress().
void xi::Parameter::printValue | ( | XStr & | str | ) |
Definition at line 167 of file xi-Parameter.C.
Referenced by xi::ParamList::printValue().
int xi::Parameter::isMessage | ( | void | ) | const |
Definition at line 938 of file xi-Parameter.C.
References xi::Type::isMessage(), and type.
Referenced by xi::Entry::genClosure(), xi::ParamList::isMessage(), Parameter(), and xi::ParamList::ParamList().
int xi::Parameter::isVoid | ( | void | ) | const |
Definition at line 939 of file xi-Parameter.C.
References xi::Type::isVoid(), and type.
Referenced by xi::Entry::genClosure(), xi::ParamList::isVoid(), and Parameter().
int xi::Parameter::isCkArgMsgPtr | ( | void | ) | const |
Definition at line 940 of file xi-Parameter.C.
References xi::Type::isCkArgMsgPtr(), and type.
Referenced by xi::ParamList::isCkArgMsgPtr().
int xi::Parameter::isCkMigMsgPtr | ( | void | ) | const |
Definition at line 941 of file xi-Parameter.C.
References xi::Type::isCkMigMsgPtr(), and type.
Referenced by xi::ParamList::isCkMigMsgPtr().
int xi::Parameter::isArray | ( | void | ) | const |
Definition at line 942 of file xi-Parameter.C.
References arrLen, and isRdma().
Referenced by beginUnmarshall(), beginUnmarshallSDAGCall(), xi::Entry::genAccelFullParamList(), xi::Entry::genAccelIndexWrapperDef_spe(), xi::Entry::genAccels_spe_c_funcBodies(), xi::Entry::genClosure(), xi::ParamList::isArray(), xi::ParamList::marshall(), marshallArrayData(), marshallRegArraySizes(), xi::Entry::preprocess(), pup(), pupAllValues(), xi::ParamList::unmarshall(), xi::ParamList::unmarshallAddress(), unmarshallRegArrayData(), unmarshallRegArrayDataSDAG(), and unmarshallRegArrayDataSDAGCall().
int xi::Parameter::isRdma | ( | void | ) | const |
Definition at line 944 of file xi-Parameter.C.
References rdma.
Referenced by adjustUnmarshalledRdmaPtrsSDAG(), beginUnmarshall(), beginUnmarshallRdma(), beginUnmarshallSDAGCall(), beginUnmarshallSDAGCallRdma(), xi::Entry::genArrayDecl(), xi::Entry::genArrayDefs(), xi::Entry::genClosure(), xi::ParamList::hasRdma(), isArray(), xi::ParamList::isRdma(), marshallRdmaArrayData(), marshallRdmaParameters(), print(), pup(), pupAllValues(), pupRdma(), storePostedRdmaPtrs(), xi::ParamList::unmarshall(), unmarshallRdmaArrayData(), unmarshallRdmaArrayDataSDAG(), and unmarshallRdmaArrayDataSDAGCall().
int xi::Parameter::isSendRdma | ( | void | ) | const |
Definition at line 945 of file xi-Parameter.C.
References rdma.
Referenced by xi::ParamList::hasSendRdma().
int xi::Parameter::isRecvRdma | ( | void | ) | const |
Definition at line 946 of file xi-Parameter.C.
References rdma.
Referenced by beginUnmarshallArray(), beginUnmarshallSDAGCallRdma(), xi::ParamList::hasRecvRdma(), xi::ParamList::isRecvRdma(), and xi::ParamList::unmarshall().
int xi::Parameter::getRdma | ( | void | ) | const |
Definition at line 947 of file xi-Parameter.C.
References rdma.
Referenced by xi::Entry::Entry(), and xi::ParamList::getRdma().
int xi::Parameter::isFirstRdma | ( | void | ) | const |
Definition at line 948 of file xi-Parameter.C.
References firstRdma.
Referenced by beginUnmarshallSDAGCallRdma(), xi::Entry::genClosure(), and xi::ParamList::isFirstRdma().
int xi::Parameter::isConditional | ( | void | ) | const |
Definition at line 943 of file xi-Parameter.C.
References conditional.
Referenced by beginUnmarshall(), copyPtr(), xi::ParamList::hasConditional(), xi::Entry::preprocess(), and pupAllValues().
Type* xi::Parameter::getType | ( | void | ) | [inline] |
Definition at line 84 of file xi-Parameter.h.
References type.
Referenced by xi::Entry::check(), xi::Entry::genAccelFullCallList(), xi::Entry::genAccelFullParamList(), xi::Entry::genAccelIndexWrapperDef_spe(), xi::Entry::genAccels_spe_c_funcBodies(), xi::Entry::genDefs(), xi::Entry::preprocess(), and xi::ParamList::printTypes().
const char* xi::Parameter::getArrayLen | ( | void | ) | const [inline] |
Definition at line 85 of file xi-Parameter.h.
References arrLen.
Referenced by xi::Entry::genAccelIndexWrapperDef_spe(), and xi::ParamList::getArrayLen().
const char* xi::Parameter::getGivenName | ( | void | ) | const [inline] |
Definition at line 86 of file xi-Parameter.h.
References given_name.
Referenced by xi::ParamList::getGivenName().
void xi::Parameter::setGivenName | ( | const char * | s | ) | [inline] |
Definition at line 87 of file xi-Parameter.h.
References given_name.
Referenced by xi::ParamList::setGivenName().
const char* xi::Parameter::getName | ( | void | ) | const [inline] |
Definition at line 88 of file xi-Parameter.h.
References name.
Referenced by xi::Entry::genAccelFullCallList(), xi::Entry::genAccelFullParamList(), xi::Entry::genAccelIndexWrapperDef_spe(), xi::Entry::genAccels_spe_c_funcBodies(), xi::ParamList::getName(), xi::Entry::preprocess(), xi::ParamList::unmarshall(), xi::ParamList::unmarshallAddress(), xi::ParamList::unmarshallForward(), and xi::ParamList::unmarshallSDAGCall().
void xi::Parameter::printMsg | ( | XStr & | str | ) |
Definition at line 933 of file xi-Parameter.C.
References given_name, xi::Type::print(), and type.
Referenced by xi::ParamList::printMsg().
Definition at line 560 of file xi-Parameter.C.
References xi::Type::deref(), dt, isRdma(), name, and type.
Referenced by xi::ParamList::storePostedRdmaPtrs().
void xi::Parameter::setAccelBufferType | ( | int | abt | ) |
Definition at line 961 of file xi-Parameter.C.
References ACCEL_BUFFER_TYPE_MAX, ACCEL_BUFFER_TYPE_UNKNOWN, and accelBufferType.
int xi::Parameter::getAccelBufferType | ( | ) |
Definition at line 967 of file xi-Parameter.C.
References accelBufferType.
Referenced by xi::Entry::genAccelFullParamList(), xi::Entry::genAccelIndexWrapperDef_spe(), xi::Entry::genAccels_spe_c_funcBodies(), and xi::Entry::preprocess().
void xi::Parameter::setAccelInstName | ( | XStr * | ain | ) |
XStr * xi::Parameter::getAccelInstName | ( | void | ) |
Definition at line 969 of file xi-Parameter.C.
References accelInstName.
Referenced by xi::Entry::genAccelFullCallList(), and xi::Entry::genAccelIndexWrapperDef_spe().
friend class ParamList [friend] |
Definition at line 35 of file xi-Parameter.h.
int xi::Parameter::rdma [private] |
Definition at line 14 of file xi-Parameter.h.
Referenced by getRdma(), isRdma(), isRecvRdma(), isSendRdma(), and setRdma().
bool xi::Parameter::firstRdma [private] |
Definition at line 18 of file xi-Parameter.h.
Referenced by xi::Entry::aggregatorGlobalType(), xi::Entry::aggregatorType(), xi::ParamList::beginRednWrapperUnmarshall(), beginUnmarshall(), beginUnmarshallArray(), beginUnmarshallRdma(), beginUnmarshallSDAGCall(), beginUnmarshallSDAGCallRdma(), check(), xi::Entry::dataItemType(), xi::ParamList::declaredReference(), xi::Entry::genArrayDecl(), xi::Entry::genArrayDefs(), xi::Entry::genClosure(), xi::ParamList::genMsgProxyName(), xi::ParamList::getBaseName(), xi::ParamList::getNumStars(), getType(), xi::ParamList::isBuiltin(), isCkArgMsgPtr(), isCkMigMsgPtr(), xi::ParamList::isConst(), isMessage(), xi::ParamList::isNamed(), xi::ParamList::isPointer(), xi::ParamList::isReference(), isVoid(), marshallRdmaParameters(), marshallRegArraySizes(), operator==(), Parameter(), print(), printAddress(), printMsg(), pup(), storePostedRdmaPtrs(), xi::ParamList::unmarshall(), xi::ParamList::unmarshallAddress(), unmarshallArrayData(), unmarshallRdmaArrayDataSDAG(), unmarshallRdmaArrayDataSDAGCall(), unmarshallRegArrayDataSDAG(), unmarshallRegArrayDataSDAGCall(), and xi::ParamList::unmarshallSDAGCall().
const char* xi::Parameter::name |
Definition at line 19 of file xi-Parameter.h.
Referenced by adjustUnmarshalledRdmaPtrsSDAG(), xi::ParamList::beginRednWrapperUnmarshall(), beginUnmarshall(), beginUnmarshallArray(), beginUnmarshallRdma(), beginUnmarshallSDAGCall(), beginUnmarshallSDAGCallRdma(), copyPtr(), xi::Entry::genClosure(), xi::Entry::genTramDefs(), getName(), marshallArrayData(), marshallArraySizes(), marshallRdmaArrayData(), marshallRdmaParameters(), Parameter(), print(), printAddress(), printValue(), pup(), pupAllValues(), pupArray(), pupRdma(), storePostedRdmaPtrs(), unmarshallArrayData(), unmarshallRdmaArrayDataSDAG(), unmarshallRdmaArrayDataSDAGCall(), unmarshallRegArrayDataSDAG(), and unmarshallRegArrayDataSDAGCall().
const char* xi::Parameter::given_name |
Definition at line 20 of file xi-Parameter.h.
Referenced by getGivenName(), printMsg(), and setGivenName().
const char* xi::Parameter::arrLen |
Definition at line 21 of file xi-Parameter.h.
Referenced by xi::Entry::genArrayDecl(), xi::Entry::genArrayDefs(), getArrayLen(), isArray(), marshallArraySizes(), marshallRdmaParameters(), Parameter(), print(), and printValue().
Definition at line 24 of file xi-Parameter.h.
Referenced by xi::ParamList::checkParamList(), and checkPointer().
Definition at line 25 of file xi-Parameter.h.
Referenced by xi::Entry::genArrayDecl(), xi::Entry::genArrayDefs(), xi::ParamList::isReference(), Parameter(), print(), pup(), and setConditional().
Definition at line 26 of file xi-Parameter.h.
Referenced by xi::ParamList::declaredReference(), and Parameter().
Definition at line 27 of file xi-Parameter.h.
Referenced by xi::Entry::genArrayDecl(), xi::Entry::genArrayDefs(), isConditional(), print(), pup(), and setConditional().
Definition at line 28 of file xi-Parameter.h.
Referenced by xi::Entry::genArrayDefs(), xi::ParamList::isConst(), Parameter(), and print().
Definition at line 31 of file xi-Parameter.h.
Referenced by getAccelBufferType(), and setAccelBufferType().
Definition at line 32 of file xi-Parameter.h.
Referenced by getAccelInstName(), and setAccelInstName().
Definition at line 33 of file xi-Parameter.h.
Referenced by beginUnmarshallSDAGCall(), and xi::Entry::genClosure().