Home
last modified time | relevance | path

Searched refs:SPIRVType (Results 1 – 9 of 9) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVGlobalRegistry.h61 SPIRVType *
192 SPIRVType *getOpTypeVector(uint32_t NumElems, SPIRVType *ElemType,
195 SPIRVType *getOpTypeArray(uint32_t NumElems, SPIRVType *ElemType,
211 SPIRVType *getOpTypeFunction(SPIRVType *RetType,
215 SPIRVType *
276 SPIRVType *getOrCreateSPIRVVectorType(SPIRVType *BaseType,
279 SPIRVType *getOrCreateSPIRVVectorType(SPIRVType *BaseType,
282 SPIRVType *getOrCreateSPIRVArrayType(SPIRVType *BaseType,
293 SPIRVType *
302 SPIRVType *getOrCreateOpTypeSampledImage(SPIRVType *ImageType,
[all …]
H A DSPIRVGlobalRegistry.cpp40 SPIRVType *SpirvType = in assignVectTypeToVReg()
50 SPIRVType *SpirvType = in assignTypeToVReg()
354 SPIRVType *SpvBaseType = in getOrCreateIntCompositeOrNull()
443 SPIRVType *SampTy; in buildConstantSampler()
620 SPIRVType *RetType, const SmallVectorImpl<SPIRVType *> &ArgTypes, in getOpTypeFunction()
683 SPIRVType *El = in createSPIRVType()
706 SPIRVType *SpvElementType; in createSPIRVType()
876 SPIRVType *
1022 SPIRVType *
1053 SPIRVType *
[all …]
H A DSPIRVInstructionSelector.cpp82 bool spvSelect(Register ResVReg, const SPIRVType *ResType,
117 bool selectCmp(Register ResVReg, const SPIRVType *ResType,
144 const SPIRVType *intTy, const SPIRVType *boolTy) const;
647 SPIRVType *VarTy = GR.getOrCreateSPIRVPointerType( in selectMemOperation()
753 SPIRVType *SpvValTy = GR.getSPIRVTypeForVReg(Val); in selectAtomicCmpXchg()
834 SPIRVType *SrcPtrTy = GR.getSPIRVTypeForVReg(SrcPtr); in selectAddrSpaceCast()
1049 const SPIRVType *SpvI32Ty = in buildI32Constant()
1508 SPIRVType *PointerBaseType; in selectGlobalValue()
1510 SPIRVType *ArrayElementType = in selectGlobalValue()
1519 SPIRVType *ResType = GR.getOrCreateSPIRVPointerType( in selectGlobalValue()
[all …]
H A DSPIRVBuiltins.cpp46 const SPIRVType *ReturnType;
276 static std::tuple<Register, SPIRVType *>
824 SPIRVType *RelationType; in generateRelationalInst()
937 const SPIRVType *PointerSizeType = in genWorkgroupQuery()
1281 SPIRVType *SampledImageType = in generateReadImageInst()
1368 SPIRVType *SampledImageType = in generateSampleImageInst()
1600 static SPIRVType *
1906 SPIRVType *ReturnType = nullptr; in lowerBuiltin()
2043 static SPIRVType *
2049 const SPIRVType *SampledType = in getImageType()
[all …]
H A DSPIRVCallLowering.cpp197 static SPIRVType *getArgSPIRVType(const Function &F, unsigned ArgIdx, in getArgSPIRVType()
272 SmallVector<SPIRVType *, 4> ArgTypeVRegs; in lowerFormalArguments()
354 SPIRVType *RetTy = GR->getOrCreateSPIRVType(FTy->getReturnType(), MIRBuilder); in lowerFormalArguments()
355 SPIRVType *FuncTy = GR->getOrCreateOpTypeFunctionWithArgs( in lowerFormalArguments()
440 SPIRVType *SPIRVTy = GR->getOrCreateSPIRVType(Arg.Ty, MIRBuilder); in lowerCall()
475 SPIRVType *RetType = in lowerCall()
H A DSPIRVPreLegalizer.cpp140 SPIRVType *BaseTy = GR->getOrCreateSPIRVType( in insertBitcasts()
142 SPIRVType *AssignedPtrType = GR->getOrCreateSPIRVPointerType( in insertBitcasts()
168 static SPIRVType *propagateSPIRVType(MachineInstr *MI, SPIRVGlobalRegistry *GR, in propagateSPIRVType()
171 SPIRVType *SpirvTy = nullptr; in propagateSPIRVType()
218 Register insertAssignInstr(Register Reg, Type *Ty, SPIRVType *SpirvTy, in insertAssignInstr()
268 SPIRVType *BaseTy = GR->getOrCreateSPIRVType( in generateAssignInstrs()
270 SPIRVType *AssignedPtrType = GR->getOrCreateSPIRVPointerType( in generateAssignInstrs()
345 SPIRVType *SpvType = GR.getSPIRVTypeForVReg(ValReg); in createNewIdReg()
H A DSPIRVBuiltins.h60 SPIRVType *lowerBuiltinType(const Type *Type,
H A DSPIRVLegalizerInfo.cpp280 static Register convertPtrToInt(Register Reg, LLT ConvTy, SPIRVType *SpirvType, in convertPtrToInt()
312 SPIRVType *SpirvTy = GR->getOrCreateSPIRVType(LLVMTy, Helper.MIRBuilder); in legalizeCustom()
H A DSPIRVModuleAnalysis.cpp744 SPIRVType *TypeDef = MRI.getVRegDef(MI.getOperand(2).getReg()); in addInstrRequirements()
827 SPIRVType *TypeDef = MRI.getVRegDef(TypeReg); in addInstrRequirements()