Home | History | Annotate | Download | only in libSPIRV

Lines Matching refs:SPIRVType

59 class SPIRVType;
130 virtual SPIRVType *getValueType(SPIRVId TheId)const = 0;
131 virtual std::vector<SPIRVType *> getValueTypes(const std::vector<SPIRVId>&)
183 virtual SPIRVForward *addForward(SPIRVType *Ty) = 0;
184 virtual SPIRVForward *addForward(SPIRVId, SPIRVType *Ty) = 0;
191 virtual SPIRVTypeArray *addArrayType(SPIRVType *, SPIRVConstant *) = 0;
194 virtual SPIRVTypeFunction *addFunctionType(SPIRVType *,
195 const std::vector<SPIRVType *> &) = 0;
196 virtual SPIRVTypeImage *addImageType(SPIRVType *,
198 virtual SPIRVTypeImage *addImageType(SPIRVType *,
205 virtual SPIRVTypePointer *addPointerType(SPIRVStorageClassKind, SPIRVType *) = 0;
208 virtual SPIRVTypeVector *addVectorType(SPIRVType *, SPIRVWord) = 0;
210 virtual SPIRVType *addOpaqueGenericType(Op) = 0;
217 virtual SPIRVValue *addCompositeConstant(SPIRVType *,
220 virtual SPIRVValue *addConstant(SPIRVType *, uint64_t) = 0;
224 virtual SPIRVValue *addNullConstant(SPIRVType *) = 0;
225 virtual SPIRVValue *addUndef(SPIRVType *TheType) = 0;
226 virtual SPIRVValue *addSamplerConstant(SPIRVType *TheType, SPIRVWord AddrMode,
228 virtual SPIRVValue* addPipeStorageConstant(SPIRVType* TheType,
232 virtual SPIRVInstruction *addPtrAccessChainInst(SPIRVType *, SPIRVValue *,
237 virtual SPIRVInstruction *addBinaryInst(Op, SPIRVType *, SPIRVValue *,
242 virtual SPIRVInstruction *addExtInst(SPIRVType *, SPIRVWord, SPIRVWord,
244 virtual SPIRVInstruction *addExtInst(SPIRVType *, SPIRVWord, SPIRVWord,
257 virtual SPIRVInstruction *addCompositeExtractInst(SPIRVType *, SPIRVValue *,
261 virtual SPIRVInstruction *addCopyObjectInst(SPIRVType *, SPIRVValue *,
267 virtual SPIRVInstruction *addCmpInst(Op, SPIRVType *, SPIRVValue *,
272 virtual SPIRVInstruction *addGroupInst(Op OpCode, SPIRVType *Type,
276 SPIRVBasicBlock* BB, SPIRVType *Ty) = 0;
278 const std::vector<SPIRVWord>& Ops, SPIRVBasicBlock* BB, SPIRVType *Ty) = 0;
284 virtual SPIRVInstruction *addPhiInst(SPIRVType *, std::vector<SPIRVValue *>,
296 virtual SPIRVInstruction *addUnaryInst(Op, SPIRVType *, SPIRVValue *,
298 virtual SPIRVInstruction *addVariable(SPIRVType *, bool, SPIRVLinkageTypeKind,
301 virtual SPIRVValue *addVectorShuffleInst(SPIRVType *Type, SPIRVValue *Vec1,