Lines Matching refs:LLVMTy

250   const Type *LLVMTy = getTypeForSPIRVType(SpvType);  in getOrCreateConsIntVector()  local
251 assert(LLVMTy->isVectorTy()); in getOrCreateConsIntVector()
252 const FixedVectorType *LLVMVecTy = cast<FixedVectorType>(LLVMTy); in getOrCreateConsIntVector()
694 SPIRVType *SPIRVGlobalRegistry::finishCreatingSPIRVType(const Type *LLVMTy, in finishCreatingSPIRVType() argument
698 SPIRVToLLVMType[SpirvType] = LLVMTy; in finishCreatingSPIRVType()
699 DT.add(LLVMTy, CurMF, getSPIRVTypeID(SpirvType)); in finishCreatingSPIRVType()
705 Type *LLVMTy = IntegerType::get(CurMF->getFunction().getContext(), BitWidth); in getOrCreateSPIRVIntegerType() local
706 Register Reg = DT.find(LLVMTy, CurMF); in getOrCreateSPIRVIntegerType()
714 return finishCreatingSPIRVType(LLVMTy, MIB); in getOrCreateSPIRVIntegerType()
727 Type *LLVMTy = IntegerType::get(CurMF->getFunction().getContext(), 1); in getOrCreateSPIRVBoolType() local
728 Register Reg = DT.find(LLVMTy, CurMF); in getOrCreateSPIRVBoolType()
734 return finishCreatingSPIRVType(LLVMTy, MIB); in getOrCreateSPIRVBoolType()
748 Type *LLVMTy = FixedVectorType::get( in getOrCreateSPIRVVectorType() local
750 Register Reg = DT.find(LLVMTy, CurMF); in getOrCreateSPIRVVectorType()
758 return finishCreatingSPIRVType(LLVMTy, MIB); in getOrCreateSPIRVVectorType()
774 Type *LLVMTy = in getOrCreateSPIRVPointerType() local
777 Register Reg = DT.find(LLVMTy, CurMF); in getOrCreateSPIRVPointerType()
785 return finishCreatingSPIRVType(LLVMTy, MIB); in getOrCreateSPIRVPointerType()
792 const Type *LLVMTy = getTypeForSPIRVType(SpvType); in getOrCreateUndef() local
793 assert(LLVMTy); in getOrCreateUndef()
795 UndefValue *UV = UndefValue::get(const_cast<Type *>(LLVMTy)); in getOrCreateUndef()