Home
last modified time | relevance | path

Searched refs:SpvType (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVGlobalRegistry.cpp142 if (SpvType) in getOrCreateConstIntReg()
151 unsigned BitWidth = SpvType ? getScalarOrVectorBitWidth(SpvType) : 32; in getOrCreateConstIntReg()
168 assert(SpvType); in getOrCreateConstInt()
202 if (SpvType) in buildConstantInt()
211 unsigned BitWidth = SpvType ? getScalarOrVectorBitWidth(SpvType) : 32; in buildConstantInt()
223 assert(SpvType); in buildConstantInt()
229 assert(SpvType); in buildConstantInt()
248 if (!SpvType) { in buildConstantFP()
434 .addUse(getSPIRVTypeID(SpvType)); in getOrCreateConstNullPtr()
444 if (SpvType) in buildConstantSampler()
[all …]
H A DSPIRVGlobalRegistry.h220 uint64_t Val, SPIRVType *SpvType, MachineIRBuilder *MIRBuilder,
224 SPIRVType *SpvType,
230 SPIRVType *SpvType, bool EmitIR,
240 SPIRVType *SpvType = nullptr);
242 SPIRVType *SpvType,
245 SPIRVType *SpvType,
248 SPIRVType *SpvType, bool EmitIR = true);
250 SPIRVType *SpvType, bool EmitIR = true);
252 SPIRVType *SpvType);
256 SPIRVType *SpvType);
[all …]
H A DSPIRVPreLegalizer.cpp345 SPIRVType *SpvType = GR.getSPIRVTypeForVReg(ValReg); in createNewIdReg() local
346 assert(SpvType && "VReg is expected to have SPIRV type"); in createNewIdReg()
347 bool IsFloat = SpvType->getOpcode() == SPIRV::OpTypeFloat; in createNewIdReg()
349 SpvType->getOpcode() == SPIRV::OpTypeVector && in createNewIdReg()
350 GR.getSPIRVTypeForVReg(SpvType->getOperand(1).getReg())->getOpcode() == in createNewIdReg()