/external/spirv-llvm/lib/SPIRV/libSPIRV/ |
D | SPIRVValue.h | 60 SPIRVType *TheType, SPIRVId TheId) in SPIRVValue() argument 61 :SPIRVEntry(M, TheWordCount, TheOpCode, TheId), Type(TheType) { in SPIRVValue() 73 SPIRVId TheId) in SPIRVValue() argument 74 :SPIRVEntry(M, TheWordCount, TheOpCode, TheId), Type(NULL) { in SPIRVValue() 130 SPIRVConstant(SPIRVModule *M, SPIRVType *TheType, SPIRVId TheId, in SPIRVConstant() argument 132 :SPIRVValue(M, 0, OpConstant, TheType, TheId){ in SPIRVConstant() 138 SPIRVConstant(SPIRVModule *M, SPIRVType *TheType, SPIRVId TheId, float TheValue) in SPIRVConstant() argument 139 :SPIRVValue(M, 0, OpConstant, TheType, TheId){ in SPIRVConstant() 145 SPIRVConstant(SPIRVModule *M, SPIRVType *TheType, SPIRVId TheId, double TheValue) in SPIRVConstant() argument 146 :SPIRVValue(M, 0, OpConstant, TheType, TheId){ in SPIRVConstant() [all …]
|
D | SPIRVType.h | 62 SPIRVId TheId) in SPIRVType() argument 63 :SPIRVEntry(M, TheWordCount, TheOpCode, TheId){} in SPIRVType() 109 SPIRVTypeVoid(SPIRVModule *M, SPIRVId TheId) in SPIRVTypeVoid() argument 110 :SPIRVType(M, 2, OpTypeVoid, TheId){} in SPIRVTypeVoid() 120 SPIRVTypeBool(SPIRVModule *M, SPIRVId TheId) in SPIRVTypeBool() argument 121 :SPIRVType(M, 2, OpTypeBool, TheId){} in SPIRVTypeBool() 132 SPIRVTypeInt(SPIRVModule *M, SPIRVId TheId, unsigned TheBitWidth, in SPIRVTypeInt() argument 134 :SPIRVType(M, 4, OC , TheId), BitWidth(TheBitWidth), in SPIRVTypeInt() 167 SPIRVTypeFloat(SPIRVModule *M, SPIRVId TheId, unsigned TheBitWidth) in SPIRVTypeFloat() argument 168 :SPIRVType(M, 3, OC, TheId), BitWidth(TheBitWidth){} in SPIRVTypeFloat() [all …]
|
D | SPIRVInstruction.cpp | 50 SPIRVType *TheType, SPIRVId TheId, SPIRVBasicBlock *TheBB) in SPIRVInstruction() argument 51 :SPIRVValue(TheBB->getModule(), TheWordCount, TheOC, TheType, TheId), in SPIRVInstruction() 57 SPIRVType *TheType, SPIRVId TheId, SPIRVBasicBlock *TheBB, SPIRVModule *TheBM) in SPIRVInstruction() argument 58 : SPIRVValue(TheBM, TheWordCount, TheOC, TheType, TheId), BB(TheBB){ in SPIRVInstruction() 64 SPIRVId TheId, SPIRVBasicBlock *TheBB) in SPIRVInstruction() argument 65 :SPIRVValue(TheBB->getModule(), TheWordCount, TheOC, TheId), BB(TheBB){ in SPIRVInstruction() 96 SPIRVFunctionCall::SPIRVFunctionCall(SPIRVId TheId, SPIRVFunction *TheFunction, in SPIRVFunctionCall() argument 100 TheId, TheArgs, BB), FunctionId(TheFunction->getId()){ in SPIRVFunctionCall()
|
D | SPIRVEntry.cpp | 112 SPIRVEntry::exist(SPIRVId TheId)const { in exist() 113 return Module->exist(TheId); in exist() 117 SPIRVEntry::getOrCreate(SPIRVId TheId)const { in getOrCreate() 119 bool Found = Module->exist(TheId, &Entry); in getOrCreate() 121 return Module->addForward(TheId, nullptr); in getOrCreate() 126 SPIRVEntry::getValue(SPIRVId TheId)const { in getValue() 127 return get<SPIRVValue>(TheId); in getValue() 131 SPIRVEntry::getValueType(SPIRVId TheId)const { in getValueType() 132 return get<SPIRVValue>(TheId)->getType(); in getValueType() 232 SPIRVEntry::getEntry(SPIRVId TheId) const { in getEntry() [all …]
|
D | SPIRVFunction.h | 52 SPIRVFunctionParameter(SPIRVType *TheType, SPIRVId TheId, 86 SPIRVFunction(SPIRVModule *M, SPIRVTypeFunction *FunctionType, SPIRVId TheId) 87 :SPIRVValue(M, 5, OpFunction, FunctionType->getReturnType(), TheId), 89 addAllArguments(TheId + 1); 141 SPIRVFunctionParameter *addArgument(unsigned TheArgNo, SPIRVId TheId) { 144 TheId, this, TheArgNo);
|
D | SPIRVInstruction.h | 107 SPIRVId TheId, SPIRVBasicBlock *TheBB); 110 SPIRVType *TheType, SPIRVId TheId, SPIRVBasicBlock *TheBB, 113 SPIRVInstruction(unsigned TheWordCount, Op TheOC, SPIRVId TheId, 190 SPIRVId TheId, SPIRVBasicBlock *TheBB, in create() argument 193 Inst->init(TheType, TheId, TheBB, TheModule); in create() 198 SPIRVId TheId, const std::vector<SPIRVWord> &TheOps, SPIRVBasicBlock *TheBB, in create() argument 201 Inst->init(TheType, TheId, TheBB, TheModule); in create() 212 SPIRVId TheId, SPIRVBasicBlock *TheBB, in init() argument 220 setId(hasId() ? TheId : SPIRVID_INVALID); in init() 443 SPIRVVariable(SPIRVType *TheType, SPIRVId TheId, in SPIRVVariable() argument [all …]
|
D | SPIRVEntry.h | 206 SPIRVId TheId) in SPIRVEntry() argument 207 :Module(M), OpCode(TheOpCode), Id(TheId), Attrib(SPIRVEA_DEFAULT), in SPIRVEntry() 233 T* get(SPIRVId TheId)const { return static_cast<T*>(getEntry(TheId));} in get() argument 235 SPIRVEntry *getOrCreate(SPIRVId TheId) const; 236 SPIRVValue *getValue(SPIRVId TheId)const; 239 SPIRVType *getValueType(SPIRVId TheId)const; 285 void setId(SPIRVId TheId) { Id = TheId;} in setId() argument 437 SPIRVId TheId, const std::string &TheName); 482 SPIRVString(SPIRVModule *M, SPIRVId TheId, const std::string &TheStr) in SPIRVString() argument 483 :SPIRVEntry(M, FixedWC + getSizeInWords(TheStr), OC, TheId), Str(TheStr){} in SPIRVString() [all …]
|
D | SPIRVBasicBlock.cpp | 51 SPIRVBasicBlock::SPIRVBasicBlock(SPIRVId TheId, SPIRVFunction *Func) in SPIRVBasicBlock() argument 52 :SPIRVValue(Func->getModule(), 2, OpLabel, TheId), ParentF(Func) { in SPIRVBasicBlock()
|
D | SPIRVFunction.cpp | 49 SPIRVFunctionParameter::SPIRVFunctionParameter(SPIRVType *TheType, SPIRVId TheId, in SPIRVFunctionParameter() argument 52 TheType, TheId), in SPIRVFunctionParameter()
|
D | SPIRVType.cpp | 261 SPIRVTypeArray::SPIRVTypeArray(SPIRVModule *M, SPIRVId TheId, SPIRVType *TheElemType, in SPIRVTypeArray() argument 263 :SPIRVType(M, 4, OpTypeArray, TheId), ElemType(TheElemType), in SPIRVTypeArray()
|
D | SPIRVDecorate.h | 237 SPIRVDecorationGroup(SPIRVModule *TheModule, SPIRVId TheId) in SPIRVDecorationGroup() argument 238 :SPIRVEntry(TheModule, WC, OC, TheId){ in SPIRVDecorationGroup()
|
D | SPIRVBasicBlock.h | 53 SPIRVBasicBlock(SPIRVId TheId, SPIRVFunction *Func);
|
D | SPIRVModule.h | 125 virtual SPIRVValue *getValue(SPIRVId TheId)const = 0; 130 virtual SPIRVType *getValueType(SPIRVId TheId)const = 0;
|
D | SPIRVModule.cpp | 98 virtual SPIRVValue *getValue(SPIRVId TheId) const; 102 virtual SPIRVType *getValueType(SPIRVId TheId)const; 1444 SPIRVModuleImpl::getValue(SPIRVId TheId)const { in getValue() 1445 return get<SPIRVValue>(TheId); in getValue() 1449 SPIRVModuleImpl::getValueType(SPIRVId TheId)const { in getValueType() 1450 return get<SPIRVValue>(TheId)->getType(); in getValueType()
|