Home
last modified time | relevance | path

Searched refs:SPIRVId (Results 1 – 17 of 17) sorted by relevance

/external/spirv-llvm/lib/SPIRV/libSPIRV/
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()
198 SPIRVId TheId, const std::vector<SPIRVWord> &TheOps, SPIRVBasicBlock *TheBB, in create()
212 SPIRVId TheId, SPIRVBasicBlock *TheBB, in init()
443 SPIRVVariable(SPIRVType *TheType, SPIRVId TheId, in SPIRVVariable()
506 std::vector<SPIRVId> Initializer;
513 SPIRVStore(SPIRVId PointerId, SPIRVId ValueId,
561 SPIRVId PtrId;
[all …]
DSPIRVType.h62 SPIRVId TheId) in SPIRVType()
109 SPIRVTypeVoid(SPIRVModule *M, SPIRVId TheId) in SPIRVTypeVoid()
120 SPIRVTypeBool(SPIRVModule *M, SPIRVId TheId) in SPIRVTypeBool()
132 SPIRVTypeInt(SPIRVModule *M, SPIRVId TheId, unsigned TheBitWidth, in SPIRVTypeInt()
167 SPIRVTypeFloat(SPIRVModule *M, SPIRVId TheId, unsigned TheBitWidth) in SPIRVTypeFloat()
197 SPIRVTypePointer(SPIRVModule *M, SPIRVId TheId, in SPIRVTypePointer()
233 SPIRVId ElemTypeId;
255 SPIRVTypeVector(SPIRVModule *M, SPIRVId TheId, SPIRVType *TheCompType, in SPIRVTypeVector()
296 SPIRVTypeArray(SPIRVModule *M, SPIRVId TheId, SPIRVType *TheElemType,
319 SPIRVId Length; // Array Length
[all …]
DSPIRVModule.h98 virtual bool exist(SPIRVId) const = 0;
99 virtual bool exist(SPIRVId, SPIRVEntry **)const = 0;
100 template<class T> T* get(SPIRVId Id) const { in get()
102 virtual SPIRVEntry *getEntry(SPIRVId) const = 0;
113 virtual SPIRVExtInstSetKind getBuiltinSet(SPIRVId) const = 0;
125 virtual SPIRVValue *getValue(SPIRVId TheId)const = 0;
126 virtual std::vector<SPIRVValue *> getValues(const std::vector<SPIRVId>&)const
128 virtual std::vector<SPIRVId> getIds(const std::vector<SPIRVEntry *>&)const = 0;
129 virtual std::vector<SPIRVId> getIds(const std::vector<SPIRVValue *>&)const = 0;
130 virtual SPIRVType *getValueType(SPIRVId TheId)const = 0;
[all …]
DSPIRVModule.cpp78 bool exist(SPIRVId) const;
79 bool exist(SPIRVId, SPIRVEntry **) const;
80 SPIRVId getId(SPIRVId Id = SPIRVID_INVALID, unsigned Increment = 1);
81 virtual SPIRVEntry *getEntry(SPIRVId Id) const;
90 SPIRVExtInstSetKind getBuiltinSet(SPIRVId SetId) const;
98 virtual SPIRVValue *getValue(SPIRVId TheId) const;
99 virtual std::vector<SPIRVValue *> getValues(const std::vector<SPIRVId>&)const;
100 virtual std::vector<SPIRVId> getIds(const std::vector<SPIRVEntry *>&)const;
101 virtual std::vector<SPIRVId> getIds(const std::vector<SPIRVValue *>&)const;
102 virtual SPIRVType *getValueType(SPIRVId TheId)const;
[all …]
DSPIRVValue.h60 SPIRVType *TheType, SPIRVId TheId) in SPIRVValue()
73 SPIRVId TheId) in SPIRVValue()
130 SPIRVConstant(SPIRVModule *M, SPIRVType *TheType, SPIRVId TheId, in SPIRVConstant()
138 SPIRVConstant(SPIRVModule *M, SPIRVType *TheType, SPIRVId TheId, float TheValue) in SPIRVConstant()
145 SPIRVConstant(SPIRVModule *M, SPIRVType *TheType, SPIRVId TheId, double TheValue) in SPIRVConstant()
198 SPIRVConstantEmpty(SPIRVModule *M, SPIRVType *TheType, SPIRVId TheId) in SPIRVConstantEmpty()
215 SPIRVConstantBool(SPIRVModule *M, SPIRVType *TheType, SPIRVId TheId) in SPIRVConstantBool()
233 SPIRVConstantNull(SPIRVModule *M, SPIRVType *TheType, SPIRVId TheId) in SPIRVConstantNull()
256 SPIRVUndef(SPIRVModule *M, SPIRVType *TheType, SPIRVId TheId) in SPIRVUndef()
271 SPIRVConstantComposite(SPIRVModule *M, SPIRVType *TheType, SPIRVId TheId, in SPIRVConstantComposite()
[all …]
DSPIRVEntry.h206 SPIRVId TheId) in SPIRVEntry()
231 bool exist(SPIRVId)const;
233 T* get(SPIRVId TheId)const { return static_cast<T*>(getEntry(TheId));} in get()
234 SPIRVEntry *getEntry(SPIRVId) const;
235 SPIRVEntry *getOrCreate(SPIRVId TheId) const;
236 SPIRVValue *getValue(SPIRVId TheId)const;
237 std::vector<SPIRVValue *> getValues(const std::vector<SPIRVId>&)const;
238 std::vector<SPIRVId> getIds(const std::vector<SPIRVValue *>)const;
239 SPIRVType *getValueType(SPIRVId TheId)const;
240 std::vector<SPIRVType *> getValueTypes(const std::vector<SPIRVId>&)const;
[all …]
DSPIRVFunction.h52 SPIRVFunctionParameter(SPIRVType *TheType, SPIRVId TheId,
86 SPIRVFunction(SPIRVModule *M, SPIRVTypeFunction *FunctionType, SPIRVId TheId)
105 SPIRVId getArgumentId(size_t i)const { return Parameters[i]->getId();}
141 SPIRVFunctionParameter *addArgument(unsigned TheArgNo, SPIRVId TheId) {
150 void addAllArguments(SPIRVId FirstArgId) {
DSPIRVEntry.cpp112 SPIRVEntry::exist(SPIRVId TheId)const { in exist()
117 SPIRVEntry::getOrCreate(SPIRVId TheId)const { in getOrCreate()
126 SPIRVEntry::getValue(SPIRVId TheId)const { in getValue()
131 SPIRVEntry::getValueType(SPIRVId TheId)const { in getValueType()
208 SPIRVEntry::getValues(const std::vector<SPIRVId>& IdVec)const { in getValues()
216 SPIRVEntry::getValueTypes(const std::vector<SPIRVId>& IdVec)const { in getValueTypes()
223 std::vector<SPIRVId>
225 std::vector<SPIRVId> IdVec; in getIds()
232 SPIRVEntry::getEntry(SPIRVId TheId) const { in getEntry()
244 SPIRVEntry::validateValues(const std::vector<SPIRVId> &Ids)const { in validateValues()
[all …]
DSPIRVInstruction.cpp50 SPIRVType *TheType, SPIRVId TheId, SPIRVBasicBlock *TheBB) in SPIRVInstruction()
57 SPIRVType *TheType, SPIRVId TheId, SPIRVBasicBlock *TheBB, SPIRVModule *TheBM) in SPIRVInstruction()
64 SPIRVId TheId, SPIRVBasicBlock *TheBB) in SPIRVInstruction()
96 SPIRVFunctionCall::SPIRVFunctionCall(SPIRVId TheId, SPIRVFunction *TheFunction, in SPIRVFunctionCall()
DSPIRVDecorate.h237 SPIRVDecorationGroup(SPIRVModule *TheModule, SPIRVId TheId) in SPIRVDecorationGroup()
270 const std::vector<SPIRVId> &TheTargets) in SPIRVGroupDecorateGeneric()
287 std::vector<SPIRVId> Targets;
295 const std::vector<SPIRVId> &TheTargets) in SPIRVGroupDecorate()
309 const std::vector<SPIRVId> &TheTargets) in SPIRVGroupMemberDecorate()
DSPIRVType.cpp261 SPIRVTypeArray::SPIRVTypeArray(SPIRVModule *M, SPIRVId TheId, SPIRVType *TheElemType, in SPIRVTypeArray()
289 SPIRVId PointerId; in decode()
DSPIRVBasicBlock.cpp51 SPIRVBasicBlock::SPIRVBasicBlock(SPIRVId TheId, SPIRVFunction *Func) in SPIRVBasicBlock()
DSPIRVBasicBlock.h53 SPIRVBasicBlock(SPIRVId TheId, SPIRVFunction *Func);
DSPIRVFunction.cpp49 SPIRVFunctionParameter::SPIRVFunctionParameter(SPIRVType *TheType, SPIRVId TheId, in SPIRVFunctionParameter()
DSPIRVEnum.h51 typedef uint32_t SPIRVId; typedef
57 isValidId(SPIRVId Id) { return Id != SPIRVID_INVALID && Id != 0;} in isValidId()
DSPIRVStream.h126 SPIRVId Id;
/external/spirv-llvm/lib/SPIRV/
DSPIRVWriter.cpp228 SPIRVId ExtSetId;
310 SPIRVId addInt32(int);
1676 SPIRVId