Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Target/SPIRV/
H A DSPIRVGlobalRegistry.cpp123 const IntegerType *LLVMIntTy; in getOrCreateConstIntReg() local
125 LLVMIntTy = cast<IntegerType>(getTypeForSPIRVType(SpvType)); in getOrCreateConstIntReg()
127 LLVMIntTy = IntegerType::getInt32Ty(CurMF->getFunction().getContext()); in getOrCreateConstIntReg()
130 ConstantInt *CI = ConstantInt::get(const_cast<IntegerType *>(LLVMIntTy), Val); in getOrCreateConstIntReg()
137 assignTypeToVReg(LLVMIntTy, Res, *MIRBuilder); in getOrCreateConstIntReg()
182 const IntegerType *LLVMIntTy; in buildConstantInt() local
184 LLVMIntTy = cast<IntegerType>(getTypeForSPIRVType(SpvType)); in buildConstantInt()
186 LLVMIntTy = IntegerType::getInt32Ty(MF.getFunction().getContext()); in buildConstantInt()
189 ConstantInt::get(const_cast<IntegerType *>(LLVMIntTy), Val); in buildConstantInt()
195 assignTypeToVReg(LLVMIntTy, Res, MIRBuilder, in buildConstantInt()