Home
last modified time | relevance | path

Searched refs:TheId (Results 1 – 14 of 14) sorted by relevance

/external/spirv-llvm/lib/SPIRV/libSPIRV/
DSPIRVValue.h60 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 …]
DSPIRVType.h62 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 …]
DSPIRVInstruction.cpp50 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()
DSPIRVEntry.cpp112 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 …]
DSPIRVFunction.h52 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);
DSPIRVInstruction.h107 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 …]
DSPIRVEntry.h206 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 …]
DSPIRVBasicBlock.cpp51 SPIRVBasicBlock::SPIRVBasicBlock(SPIRVId TheId, SPIRVFunction *Func) in SPIRVBasicBlock() argument
52 :SPIRVValue(Func->getModule(), 2, OpLabel, TheId), ParentF(Func) { in SPIRVBasicBlock()
DSPIRVFunction.cpp49 SPIRVFunctionParameter::SPIRVFunctionParameter(SPIRVType *TheType, SPIRVId TheId, in SPIRVFunctionParameter() argument
52 TheType, TheId), in SPIRVFunctionParameter()
DSPIRVType.cpp261 SPIRVTypeArray::SPIRVTypeArray(SPIRVModule *M, SPIRVId TheId, SPIRVType *TheElemType, in SPIRVTypeArray() argument
263 :SPIRVType(M, 4, OpTypeArray, TheId), ElemType(TheElemType), in SPIRVTypeArray()
DSPIRVDecorate.h237 SPIRVDecorationGroup(SPIRVModule *TheModule, SPIRVId TheId) in SPIRVDecorationGroup() argument
238 :SPIRVEntry(TheModule, WC, OC, TheId){ in SPIRVDecorationGroup()
DSPIRVBasicBlock.h53 SPIRVBasicBlock(SPIRVId TheId, SPIRVFunction *Func);
DSPIRVModule.h125 virtual SPIRVValue *getValue(SPIRVId TheId)const = 0;
130 virtual SPIRVType *getValueType(SPIRVId TheId)const = 0;
DSPIRVModule.cpp98 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()