Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Target/SPIRV/
H A DSPIRVGlobalRegistry.cpp122 const IntegerType *LLVMIntTy; in getOrCreateConstIntReg() local
124 LLVMIntTy = cast<IntegerType>(getTypeForSPIRVType(SpvType)); in getOrCreateConstIntReg()
126 LLVMIntTy = IntegerType::getInt32Ty(CurMF->getFunction().getContext()); in getOrCreateConstIntReg()
129 ConstantInt *CI = ConstantInt::get(const_cast<IntegerType *>(LLVMIntTy), Val); in getOrCreateConstIntReg()
136 assignTypeToVReg(LLVMIntTy, Res, *MIRBuilder); in getOrCreateConstIntReg()
181 const IntegerType *LLVMIntTy; in buildConstantInt() local
183 LLVMIntTy = cast<IntegerType>(getTypeForSPIRVType(SpvType)); in buildConstantInt()
185 LLVMIntTy = IntegerType::getInt32Ty(MF.getFunction().getContext()); in buildConstantInt()
188 ConstantInt::get(const_cast<IntegerType *>(LLVMIntTy), Val); in buildConstantInt()
194 assignTypeToVReg(LLVMIntTy, Res, MIRBuilder, in buildConstantInt()