Home
last modified time | relevance | path

Searched refs:getIntNTy (Results 1 – 25 of 96) sorted by relevance

1234

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandLargeFpConvert.cpp104 Value *A0 = Builder.CreateFPToUI(FloatVal, Builder.getIntNTy(32)); in expandFPToI()
107 Value *A0 = Builder.CreateFPToSI(FloatVal, Builder.getIntNTy(32)); in expandFPToI()
160 Builder.CreateBitCast(FloatVal0, Builder.getIntNTy(FloatWidth)); in expandFPToI()
163 ARep0, ConstantInt::getSigned(Builder.getIntNTy(FloatWidth), -1)); in expandFPToI()
435 Value *ExtractT60 = Builder.CreateTrunc(Shr18, Builder.getIntNTy(FloatWidth)); in expandIToFP()
451 Value *ExtractT = Builder.CreateTrunc(Shr21, Builder.getIntNTy(FloatWidth)); in expandIToFP()
455 ExtractT62 = Builder.CreateTrunc(Sub1, Builder.getIntNTy(64)); in expandIToFP()
457 ExtractT62 = Builder.CreateTrunc(Extract, Builder.getIntNTy(32)); in expandIToFP()
464 ConstantInt::getSigned(Builder.getIntNTy(BitWidthNew), in expandIToFP()
469 Value *ExtractT61 = Builder.CreateTrunc(Shl26, Builder.getIntNTy(FloatWidth)); in expandIToFP()
[all …]
H A DExpandReductions.cpp106 Rdx = Builder.CreateBitCast(Vec, Builder.getIntNTy(NumElts)); in expandReductions()
H A DAtomicExpandPass.cpp584 IntegerType *IntTy = Builder.getIntNTy(OrigTy->getPrimitiveSizeInBits()); in createCmpXchgInstFun()
751 Type::getIntNTy(Ctx, ValueType->getPrimitiveSizeInBits()); in createMaskInstrs()
753 PMV.WordType = MinWordSize > ValueSize ? Type::getIntNTy(Ctx, MinWordSize * 8) in createMaskInstrs()
1844 Type *SizedIntTy = Type::getIntNTy(Ctx, Size * 8); in expandAtomicOpToLibcall()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DScalarizeMaskedMemIntrin.cpp195 Type *SclrMaskTy = Builder.getIntNTy(VectorWidth); in scalarizeMaskedLoad()
326 Type *SclrMaskTy = Builder.getIntNTy(VectorWidth); in scalarizeMaskedStore()
447 Type *SclrMaskTy = Builder.getIntNTy(VectorWidth); in scalarizeMaskedGather()
575 Type *SclrMaskTy = Builder.getIntNTy(VectorWidth); in scalarizeMaskedScatter()
685 Type *SclrMaskTy = Builder.getIntNTy(VectorWidth); in scalarizeMaskedExpandLoad()
802 Type *SclrMaskTy = Builder.getIntNTy(VectorWidth); in scalarizeMaskedCompressStore()
H A DSROA.cpp2046 Type::getIntNTy(Ty->getContext(), NumElements * ElementSize * 8); in isVectorPromotionViableForSlice()
2150 VTy = cast<VectorType>(VTy->getWithNewType(IntegerType::getIntNTy( in checkVectorTypesForPromotion()
2443 Type *IntTy = Type::getIntNTy(AllocaTy->getContext(), SizeInBits); in isIntegerWideningViable()
2686 ? Type::getIntNTy(NewAI.getContext(), in AllocaSliceRewriter()
2838 IntegerType *ExtractTy = Type::getIntNTy(LI.getContext(), SliceSize * 8); in rewriteIntegerLoad()
2862 Type *TargetTy = IsSplit ? Type::getIntNTy(LI.getContext(), SliceSize * 8) in visitLoadInst()
3055 IntegerType *NarrowTy = Type::getIntNTy(SI.getContext(), SliceSize * 8); in visitStoreInst()
3120 Type *SplatIntTy = Type::getIntNTy(VTy->getContext(), Size * 8); in getIntegerSplat()
3424 IntTy ? Type::getIntNTy(IntTy->getContext(), Size * 8) : nullptr; in visitMemTransferInst()
4525 auto *PartTy = Type::getIntNTy(LI->getContext(), PartSize * 8); in presplitLoadsAndStores()
[all …]
H A DMergeICmps.cpp664 ConstantInt::get(Builder.getIntNTy(SizeTBits), TotalSizeBits / 8), in mergeComparisons()
667 MemCmpCall, ConstantInt::get(Builder.getIntNTy(IntBits), 0)); in mergeComparisons()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULateCodeGenPrepare.cpp205 return VectorType::get(Type::getIntNTy(Mod->getContext(), ConvertScalarSize), in calculateConvertType()
265 Type::getIntNTy(Mod->getContext(), NewVTy->getScalarSizeInBits()), in convertFromOptType()
488 auto IntNTy = Type::getIntNTy(LI.getContext(), LdBits); in visitLoadInst()
H A DAMDGPUPrintfRuntimeBinding.cpp201 IntegerType::getIntNTy(Ctx, ArgType->getPrimitiveSizeInBits())); in lowerPrintfForGpu()
394 Type *IntTy = Type::getIntNTy(Ctx, IntVal.getBitWidth()); in lowerPrintfForGpu()
H A DAMDGPULowerKernelArguments.cpp266 IntegerType *ArgIntTy = Builder.getIntNTy(Size); in lowerKernelArguments()
H A DAMDGPUPromoteAlloca.cpp478 return Builder.CreateBitOrPointerCast(Val, Builder.getIntNTy(Size)); in promoteAllocaUserToVector()
483 Type *EltTy = Builder.getIntNTy(Size / NumPtrElts); in promoteAllocaUserToVector()
635 Type *PtrInt = Builder.getIntNTy(BytesPerElt * 8); in promoteAllocaUserToVector()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DType.h459 static IntegerType *getIntNTy(LLVMContext &C, unsigned N);
469 return (Type*) Type::getIntNTy(C, noOfBits); in getScalarTy()
H A DFixedPointBuilder.h44 Type *DstIntTy = B.getIntNTy(DstWidth); in Convert()
80 Type *UpscaledTy = B.getIntNTy(ResultWidth); in Convert()
202 Type *ResultTy = B.getIntNTy(DstSema.getWidth()); in CreateFloatingToFixed()
H A DDerivedTypes.h68 return Type::getIntNTy(getContext(), 2 * getScalarSizeInBits()); in getExtendedType()
707 return getWithNewType(getIntNTy(getContext(), NewBitWidth)); in getWithNewBitWidth()
H A DDataLayout.h566 return (LargestSize == 0) ? nullptr : Type::getIntNTy(C, LargestSize); in getLargestLegalIntType()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DThreadSanitizer.cpp263 Type *Ty = Type::getIntNTy(Ctx, BitSize); in initialize()
736 Type *Ty = Type::getIntNTy(IRB.getContext(), BitSize); in instrumentAtomic()
753 Type *Ty = Type::getIntNTy(IRB.getContext(), BitSize); in instrumentAtomic()
768 Type *Ty = Type::getIntNTy(IRB.getContext(), BitSize); in instrumentAtomic()
H A DSanitizerCoverage.cpp392 IntptrTy = Type::getIntNTy(*C, DL->getPointerSizeInBits()); in instrumentModule()
863 auto Ty = Type::getIntNTy(*C, TypeSize); in InjectTraceForDiv()
937 auto Ty = Type::getIntNTy(*C, TypeSize); in InjectTraceForCmp()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DHexagon.cpp132 return ABIArgInfo::getDirect(llvm::Type::getIntNTy(getVMContext(), Size)); in classifyArgumentType()
177 return ABIArgInfo::getDirect(llvm::Type::getIntNTy(getVMContext(), Size)); in classifyReturnType()
H A DNVPTX.cpp146 llvm::Type *IntType = llvm::Type::getIntNTy(getVMContext(), Div); in coerceToIntArrayWithLimit()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DStackSafetyAnalysis.cpp351 auto *CalculationTy = IntegerType::getIntNTy(SE.getContext(), PointerSize); in getMemIntrinsicAccessRange()
374 auto *CalculationTy = IntegerType::getIntNTy(SE.getContext(), PointerSize); in isSafeAccess()
400 auto *CalculationTy = IntegerType::getIntNTy(SE.getContext(), PointerSize); in isSafeAccess()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTypes.cpp164 return llvm::Type::getIntNTy( in convertTypeForLoadStore()
770 ResultType = llvm::Type::getIntNTy(getLLVMContext(), EIT->getNumBits()); in ConvertType()
H A DCGCoroutine.cpp983 llvm::IntegerType *T = Builder.getIntNTy(Context.getTypeSize(SizeTy)); in EmitCoroutineIntrinsic()
990 llvm::IntegerType *T = Builder.getIntNTy(Context.getTypeSize(SizeTy)); in EmitCoroutineIntrinsic()
H A DCGRecordLayoutBuilder.cpp131 return llvm::Type::getIntNTy(Types.getLLVMContext(), AlignedBits); in getIntNType()
135 return llvm::Type::getIntNTy(Types.getLLVMContext(), in getCharType()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DIRDynamicChecks.cpp285 m_intptr_ty = llvm::Type::getIntNTy(m_module.getContext(), in GetIntptrTy()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVUtils.cpp409 return Type::getIntNTy(Ctx, 1); in parseBasicTypeName()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64Arm64ECCallLowering.cpp315 llvm::Type::getIntNTy(M->getContext(), SizeInBytes * 8), in canonicalizeThunkType()
467 Type *IntTy = IRB.getIntNTy(DL.getTypeStoreSizeInBits(Arg.getType())); in buildExitThunk()

1234