Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DValueTypes.cpp21 LLVMContext &Context = LLVMTy->getContext(); in changeExtendedTypeToInteger()
27 LLVMContext &Context = LLVMTy->getContext(); in changeExtendedVectorElementTypeToInteger()
34 LLVMContext &Context = LLVMTy->getContext(); in changeExtendedVectorElementType()
40 VT.LLVMTy = IntegerType::get(Context, BitWidth); in getExtendedIntegerVT()
48 ResultVT.LLVMTy = in getExtendedVectorVT()
56 ResultVT.LLVMTy = VectorType::get(VT.getTypeForEVT(Context), EC); in getExtendedVectorVT()
63 return LLVMTy->isFPOrFPVectorTy(); in isExtendedFloatingPoint()
68 return LLVMTy->isIntOrIntVectorTy(); in isExtendedInteger()
73 return LLVMTy->isIntegerTy(); in isExtendedScalarInteger()
78 return LLVMTy->isVectorTy(); in isExtendedVector()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVGlobalRegistry.cpp444 const Type *LLVMTy = getTypeForSPIRVType(SpvType); in getOrCreateConstVector() local
445 assert(LLVMTy->isVectorTy()); in getOrCreateConstVector()
446 const FixedVectorType *LLVMVecTy = cast<FixedVectorType>(LLVMTy); in getOrCreateConstVector()
463 const Type *LLVMTy = getTypeForSPIRVType(SpvType); in getOrCreateConstVector() local
464 assert(LLVMTy->isVectorTy()); in getOrCreateConstVector()
465 const FixedVectorType *LLVMVecTy = cast<FixedVectorType>(LLVMTy); in getOrCreateConstVector()
480 const Type *LLVMTy = getTypeForSPIRVType(SpvType); in getOrCreateConstIntArray() local
481 assert(LLVMTy->isArrayTy()); in getOrCreateConstIntArray()
482 const ArrayType *LLVMArrTy = cast<ArrayType>(LLVMTy); in getOrCreateConstIntArray()
543 const Type *LLVMTy = getTypeForSPIRVType(SpvType); in getOrCreateConsIntVector() local
[all …]
H A DSPIRVLegalizerInfo.cpp354 Type *LLVMTy = IntegerType::get(MI.getMF()->getFunction().getContext(), in legalizeCustom() local
356 SPIRVType *SpirvTy = GR->getOrCreateSPIRVType(LLVMTy, Helper.MIRBuilder); in legalizeCustom()
H A DSPIRVGlobalRegistry.h439 SPIRVType *finishCreatingSPIRVType(const Type *LLVMTy, SPIRVType *SpirvType);
503 unsigned SPIRVOPcode, Type *LLVMTy);
H A DSPIRVInstructionSelector.cpp1581 Type *LLVMTy = IntegerType::get(GR.CurMF->getFunction().getContext(), 32); in buildI32Constant() local
1585 auto ConstInt = ConstantInt::get(LLVMTy, Val); in buildI32Constant()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DValueTypes.h37 Type *LLVMTy = nullptr; member
51 return LLVMTy != VT.LLVMTy;
501 return (intptr_t)(LLVMTy); in getRawBits()
509 return L.LLVMTy < R.LLVMTy; in operator()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTypes.cpp148 llvm::Type *LLVMTy) { in typeRequiresSplitIntoByteArray() argument
149 if (!LLVMTy) in typeRequiresSplitIntoByteArray()
150 LLVMTy = ConvertType(ASTTy); in typeRequiresSplitIntoByteArray()
154 CharUnits::fromQuantity(getDataLayout().getTypeAllocSize(LLVMTy)); in typeRequiresSplitIntoByteArray()
159 llvm::Type *LLVMTy) { in convertTypeForLoadStore() argument
160 if (!LLVMTy) in convertTypeForLoadStore()
161 LLVMTy = ConvertType(T); in convertTypeForLoadStore()
167 if (LLVMTy->isIntegerTy(1)) in convertTypeForLoadStore()
174 return LLVMTy; in convertTypeForLoadStore()
H A DCodeGenTypes.h132 llvm::Type *LLVMTy = nullptr);
146 llvm::Type *convertTypeForLoadStore(QualType T, llvm::Type *LLVMTy = nullptr);
H A DCodeGenFunction.cpp249 llvm::Type *LLVMTy) { in convertTypeForLoadStore() argument
250 return CGM.getTypes().convertTypeForLoadStore(ASTTy, LLVMTy); in convertTypeForLoadStore()
H A DCGCall.cpp2933 llvm::Type* LLVMTy = CGM.getTypes().ConvertType(RetTy); in EmitFunctionProlog() local
2934 llvm::Constant* Zero = llvm::Constant::getNullValue(LLVMTy); in EmitFunctionProlog()
H A DCodeGenFunction.h2580 llvm::Type *LLVMTy = nullptr);