Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DValueTypes.cpp20 LLVMContext &Context = LLVMTy->getContext(); in changeExtendedTypeToInteger()
26 LLVMContext &Context = LLVMTy->getContext(); in changeExtendedVectorElementTypeToInteger()
33 LLVMContext &Context = LLVMTy->getContext(); in changeExtendedVectorElementType()
39 VT.LLVMTy = IntegerType::get(Context, BitWidth); in getExtendedIntegerVT()
47 ResultVT.LLVMTy = in getExtendedVectorVT()
62 return LLVMTy->isFPOrFPVectorTy(); in isExtendedFloatingPoint()
67 return LLVMTy->isIntOrIntVectorTy(); in isExtendedInteger()
72 return LLVMTy->isIntegerTy(); in isExtendedScalarInteger()
77 return LLVMTy->isVectorTy(); in isExtendedVector()
139 return cast<VectorType>(LLVMTy)->getElementCount(); in getExtendedVectorElementCount()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/SPIRV/
H A DSPIRVGlobalRegistry.cpp251 assert(LLVMTy->isVectorTy()); in getOrCreateConsIntVector()
698 SPIRVToLLVMType[SpirvType] = LLVMTy; in finishCreatingSPIRVType()
706 Register Reg = DT.find(LLVMTy, CurMF); in getOrCreateSPIRVIntegerType()
714 return finishCreatingSPIRVType(LLVMTy, MIB); in getOrCreateSPIRVIntegerType()
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()
774 Type *LLVMTy = in getOrCreateSPIRVPointerType() local
777 Register Reg = DT.find(LLVMTy, CurMF); in getOrCreateSPIRVPointerType()
[all …]
H A DSPIRVLegalizerInfo.cpp291 Type *LLVMTy = IntegerType::get(MI.getMF()->getFunction().getContext(), in legalizeCustom() local
293 SPIRVType *SpirvTy = GR->getOrCreateSPIRVType(LLVMTy, Helper.MIRBuilder); in legalizeCustom()
H A DSPIRVPreLegalizer.cpp421 Type *LLVMTy = IntegerType::get(MF.getFunction().getContext(), 1); in processSwitches() local
422 SPIRVType *SpirvTy = GR->getOrCreateSPIRVType(LLVMTy, MIB); in processSwitches()
H A DSPIRVGlobalRegistry.h201 SPIRVType *finishCreatingSPIRVType(const Type *LLVMTy, SPIRVType *SpirvType);
H A DSPIRVInstructionSelector.cpp874 Type *LLVMTy = IntegerType::get(GR.CurMF->getFunction().getContext(), 32); in buildI32Constant() local
878 auto ConstInt = ConstantInt::get(LLVMTy, Val); in buildI32Constant()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DValueTypes.h37 Type *LLVMTy = nullptr; member
51 return LLVMTy != VT.LLVMTy;
473 return (intptr_t)(LLVMTy); in getRawBits()
481 return L.LLVMTy < R.LLVMTy; in operator()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGCall.cpp2686 llvm::Type* LLVMTy = CGM.getTypes().ConvertType(RetTy); in EmitFunctionProlog() local
2687 llvm::Constant* Zero = llvm::Constant::getNullValue(LLVMTy); in EmitFunctionProlog()