Home
last modified time | relevance | path

Searched refs:getTypeForSPIRVType (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVGlobalRegistry.cpp338 const IntegerType *Ty = cast<IntegerType>(getTypeForSPIRVType(SpvType)); in getOrCreateConstInt()
395 const IntegerType *Ty = cast<IntegerType>(getTypeForSPIRVType(SpvType)); in buildConstantInt()
535 const Type *LLVMTy = getTypeForSPIRVType(SpvType); in getOrCreateConstVector()
554 const Type *LLVMTy = getTypeForSPIRVType(SpvType); in getOrCreateConstVector()
571 const Type *LLVMTy = getTypeForSPIRVType(SpvType); in getOrCreateConstIntArray()
635 const Type *LLVMTy = getTypeForSPIRVType(SpvType); in getOrCreateConsIntVector()
651 const Type *Ty = getTypeForSPIRVType(SpvType); in getOrCreateConstNullPtr()
715 const Type *Ty = getTypeForSPIRVType(BaseType); // TODO: check type. in buildGlobalVariable()
849 Type *ET = const_cast<Type *>(getTypeForSPIRVType(ElemType)); in getOpTypeArray()
1546 const Type *ET = getTypeForSPIRVType(ElemType); in getOrCreateOpTypeCoopMatr()
[all …]
H A DSPIRVISelLowering.cpp197 : GR.getTypeForSPIRVType(ElemType) == ResTy; in validatePtrTypes()
317 const Type *DefElemTy = GR.getTypeForSPIRVType(DefElemType); in validateFunCallMachineDef()
H A DSPIRVCallLowering.cpp127 const Type *RetTy = GR->getTypeForSPIRVType(SRetTy); in fixFunctionTypeIfPtrArgs()
130 ArgTys.push_back(const_cast<Type *>(GR->getTypeForSPIRVType(SArgTy))); in fixFunctionTypeIfPtrArgs()
H A DSPIRVGlobalRegistry.h316 const Type *getTypeForSPIRVType(const SPIRVType *Ty) const { in getTypeForSPIRVType() function
H A DSPIRVInstructionSelector.cpp1212 const llvm::Type *LLVMHandleType = GR.getTypeForSPIRVType(HandleType); in selectStore()
2531 APFloat VZero = getZeroFP(GR.getTypeForSPIRVType(ResType)); in buildZerosValF()
2541 APFloat VOne = getOneFP(GR.getTypeForSPIRVType(ResType)); in buildOnesValF()
3292 sampledTypeIsSignedInteger(GR.getTypeForSPIRVType(ImageType)); in generateImageRead()
3432 const Type *ResType = GR.getTypeForSPIRVType(SpirvResType); in buildPointerToResource()
H A DSPIRVPreLegalizer.cpp636 ElemTy = const_cast<Type *>(GR->getTypeForSPIRVType(ElemSpvType)); in generateAssignInstrs()
H A DSPIRVBuiltins.cpp452 cast<FixedVectorType>(GR->getTypeForSPIRVType(BoolType)); in buildBoolRegister()