| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | DemandedBits.cpp | 113 AB = APInt::getLowBitsSet(BitWidth, in determineLiveOperandBits() 170 AB = APInt::getLowBitsSet(BitWidth, AOut.getActiveBits()); in determineLiveOperandBits() 199 AB |= APInt::getLowBitsSet(BitWidth, ShiftAmt); in determineLiveOperandBits() 219 AB |= APInt::getLowBitsSet(BitWidth, ShiftAmt); in determineLiveOperandBits()
|
| H A D | LazyValueInfo.cpp | 1189 APInt ValMin = APInt::getLowBitsSet(BitWidth, ResMin); in getValueFromICmpCtpop()
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | DivisionByConstantInfo.cpp | 83 APInt::getLowBitsSet(D.getBitWidth(), D.getBitWidth() - LeadingZeros); in get()
|
| H A D | KnownBits.cpp | 1041 APInt Mask = APInt::getLowBitsSet(BitWidth, RHSZeros); in remGetLowBits()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineShifts.cpp | 569 APInt Mask = APInt::getLowBitsSet(TypeWidth, OuterShAmt) << MaskShift; in canEvaluateShiftedShift() 681 ? APInt::getLowBitsSet(TypeWidth, TypeWidth - OuterShAmt) in foldShiftedShift() 755 APInt Mask = APInt::getLowBitsSet(TypeWidth, TypeWidth - NumBits); in getShiftedValue() 1395 APInt Mask(APInt::getLowBitsSet(BitWidth, BitWidth - ShAmtC)); in visitLShr() 1411 APInt Mask(APInt::getLowBitsSet(BitWidth, BitWidth - ShAmtC)); in visitLShr() 1417 APInt Mask(APInt::getLowBitsSet(BitWidth, BitWidth - ShAmtC)); in visitLShr() 1431 APInt Bits = APInt::getLowBitsSet(BitWidth, BitWidth - Op1Val); in visitLShr() 1450 Ty, APInt::getLowBitsSet(BitWidth, BitWidth - ShAmtC)); in visitLShr()
|
| H A D | InstCombineSimplifyDemanded.cpp | 200 DemandedFromOps = APInt::getLowBitsSet(BitWidth, BitWidth - NLZ); in SimplifyDemandedUseBits() 535 APInt DemandedFromOps = APInt::getLowBitsSet(BitWidth, BitWidth - NLZ); in SimplifyDemandedUseBits() 578 APInt DemandedFromOps = APInt::getLowBitsSet(BitWidth, BitWidth - NLZ); in SimplifyDemandedUseBits() 722 APInt DemandedFromOp(APInt::getLowBitsSet(BitWidth, BitWidth - CTLZ)); in SimplifyDemandedUseBits() 1228 APInt DemandedFromOps = APInt::getLowBitsSet(BitWidth, BitWidth - NLZ); in SimplifyMultipleUseDemandedBits() 1248 APInt DemandedFromOps = APInt::getLowBitsSet(BitWidth, BitWidth - NLZ); in SimplifyMultipleUseDemandedBits() 1283 DemandedMask.isSubsetOf(APInt::getLowBitsSet( in SimplifyMultipleUseDemandedBits()
|
| H A D | InstCombineCasts.cpp | 559 APInt HiBitMask = ~APInt::getLowBitsSet(WideWidth, MaxShiftAmountWidth); in narrowFunnelShift() 1242 APInt::getLowBitsSet(DestBitSize, SrcBitsKept)); in visitZExt() 1263 APInt AndValue(APInt::getLowBitsSet(SrcSize, MidSize)); in visitZExt() 1270 APInt AndValue(APInt::getLowBitsSet(SrcSize, MidSize)); in visitZExt() 1276 APInt AndValue(APInt::getLowBitsSet(DstSize, MidSize)); in visitZExt()
|
| H A D | InstCombineCompares.cpp | 1119 CI1->getValue() != APInt::getLowBitsSet(CI1->getBitWidth(), NewWidth)) in processUGT_ADDCST_ADD() 1493 ConstantInt::get(SrcTy, APInt::getLowBitsSet(SrcBits, DstBits)); in foldICmpTruncConstant() 2425 APInt::getLowBitsSet(TypeBits, TypeBits - ShiftAmt->getZExtValue())); in foldICmpShlConstant() 3838 APInt Mask1 = IsTrailing ? APInt::getLowBitsSet(BitWidth, Num + 1) in foldICmpEqIntrinsicWithConstant() 4249 APInt Limit = APInt::getLowBitsSet(BitWidth, BitWidth - Num); in foldICmpIntrinsicWithConstant() 4262 APInt Mask = APInt::getLowBitsSet(BitWidth, C.getLimitedValue() + 1); in foldICmpIntrinsicWithConstant() 4270 APInt Mask = APInt::getLowBitsSet(BitWidth, C.getLimitedValue()); in foldICmpIntrinsicWithConstant() 5575 APInt::getLowBitsSet(C->getBitWidth(), C->getBitWidth() - TZs)); in foldICmpBinOp() 6110 APInt AndVal = APInt::getLowBitsSet(TypeBits, TypeBits - ShAmt); in foldICmpEquality() 6130 APInt::getLowBitsSet(ASize, Op0->getType()->getPrimitiveSizeInBits()); in foldICmpEquality()
|
| H A D | InstCombineCalls.cpp | 2207 if (MaskedValueIsZero(Y, APInt::getLowBitsSet(BitWidth, 3))) { in visitCallInst() 2397 APInt Op2Demanded = APInt::getLowBitsSet(BitWidth, Log2_32_Ceil(BitWidth)); in visitCallInst()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | MVETailPredication.cpp | 355 APInt Mask = APInt::getLowBitsSet(Ty->getPrimitiveSizeInBits(), in IsSafeActiveMask()
|
| H A D | ARMTargetTransformInfo.cpp | 208 if (IC.SimplifyDemandedBits(&II, 0, APInt::getLowBitsSet(32, 16), in instCombineIntrinsic() 294 APInt::getSplat(NumElts, IsTop ? APInt::getLowBitsSet(2, 1) in simplifyDemandedVectorEltsIntrinsic() 298 UndefElts &= APInt::getSplat(NumElts, IsTop ? APInt::getLowBitsSet(2, 1) in simplifyDemandedVectorEltsIntrinsic()
|
| H A D | ARMISelLowering.cpp | 2657 auto MaskValue = APInt::getLowBitsSet(LocBits, ArgVT.getSizeInBits()); in LowerCall() 3347 auto MaskValue = APInt::getLowBitsSet(LocBits, RetVT.getSizeInBits()); in LowerReturn() 14932 FromMask = APInt::getLowBitsSet(ToMask.getBitWidth(), ToMask.popcount()); in ParseBFI() 15292 APInt DemandedMask = APInt::getLowBitsSet(32, 16); in PerformVMOVhrCombine() 15496 APInt DemandedMask = APInt::getLowBitsSet(32, 16); in PerformPREDICATE_CASTCombine() 17487 APInt Op1DemandedElts = APInt::getSplat(NumElts, APInt::getLowBitsSet(2, 1)); in PerformVMOVNCombine() 17508 APInt::getSplat(NumElts, IsTop ? APInt::getLowBitsSet(2, 1) in PerformVQMOVNCombine() 17739 APInt DemandedMask = APInt::getLowBitsSet(32, BitWidth); in PerformIntrinsicCombine() 17756 APInt DemandedMask = APInt::getLowBitsSet(32, BitWidth); in PerformIntrinsicCombine() 19071 APInt DemandedMask = APInt::getLowBitsSet(BitWidth, 16); in PerformDAGCombine() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | FixedPointBuilder.h | 58 B.getContext(), APInt::getLowBitsSet(ResultWidth, SrcScale)); in Convert()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | APInt.h | 306 static APInt getLowBitsSet(unsigned numBits, unsigned loBitsSet) { in getLowBitsSet() function 1444 APInt Keep = getLowBitsSet(BitWidth, BitWidth - hiBits); in clearHighBits()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86InstCombineIntrinsic.cpp | 475 MaxValue = APInt::getLowBitsSet(SrcScalarSizeInBits, DstScalarSizeInBits); in simplifyX86pack() 1951 APInt Mask = APInt::getLowBitsSet(64, Length).shl(Index); in simplifyX86insertq() 2147 APInt DemandedMask = APInt::getLowBitsSet(EltSizeInBits, IdxSizeInBits); in simplifyX86VPERMMask() 2158 APInt DemandedElts = APInt::getLowBitsSet(Width, DemandedWidth); in instCombineIntrinsic()
|
| /freebsd/contrib/llvm-project/clang/include/clang/CIR/Dialect/Builder/ |
| H A D | CIRBaseBuilder.h | 318 llvm::APInt val = llvm::APInt::getLowBitsSet(size, bits); in createLowBitsSet()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | GISelValueTracking.cpp | 158 Mask.One = APInt::getLowBitsSet( in extractBits() 511 APInt InMask = APInt::getLowBitsSet(BitWidth, SrcBitWidth); in computeKnownBitsImpl()
|
| H A D | MachineIRBuilder.cpp | 593 ResTy, APInt::getLowBitsSet(ResTy.getScalarSizeInBits(), ImmOp)); in buildZExtInReg()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZOperators.td | 810 APInt::getLowBitsSet(BitWidth, 8)); 818 APInt::getLowBitsSet(BitWidth, 8));
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | TargetLowering.cpp | 1795 if (!DemandedBits.intersects(APInt::getLowBitsSet(BitWidth, ShAmt))) { in SimplifyDemandedBits() 1940 APInt DemandedFromOp(APInt::getLowBitsSet(BitWidth, BitWidth - CTLZ)); in SimplifyDemandedBits() 2459 APInt Mask = APInt::getLowBitsSet(BitWidth, ExVTBits); in SimplifyDemandedBits() 2697 APInt InMask = APInt::getLowBitsSet(BitWidth, ZVT.getSizeInBits()); in SimplifyDemandedBits() 2878 APInt LoMask = APInt::getLowBitsSet(BitWidth, BitWidth - DemandedBitsLZ); in SimplifyDemandedBits() 4885 APInt newMask = APInt::getLowBitsSet(maskWidth, width); in SimplifySetCC() 5002 APInt Imm = APInt::getLowBitsSet(ExtDstTyBits, ExtSrcTyBits); in SimplifySetCC() 6470 APInt Lg2Mask = APInt::getLowBitsSet(VT.getSizeInBits(), Lg2); in buildSDIVPow2WithCMov() 8041 APInt Mask = APInt::getLowBitsSet(HBitWidth, TrailingZeros); in expandDIVREMByConstant() 10146 APInt::getLowBitsSet(NumLoadBits, SrcEltBits), SL, LoadVT); in scalarizeVectorLoad() [all …]
|
| H A D | LegalizeIntegerTypes.cpp | 1109 APInt MaxVal = APInt::getLowBitsSet(NewBits, OldBits); in PromoteIntRes_ADDSUBSHLSAT() 1217 DAG.getConstant(APInt::getLowBitsSet(VTW, SatW), in SaturateWidenedDIVFIX() 1224 DAG.getConstant(APInt::getLowBitsSet(VTW, SatW - 1), in SaturateWidenedDIVFIX() 4639 APInt::getLowBitsSet(NVTSize, VTSize - OverflowBits), dl, NVT); in ExpandIntRes_MULFIX() 4672 APInt::getLowBitsSet(NVTSize, NVTSize - OverflowBits), dl, NVT); in ExpandIntRes_MULFIX()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/XCore/ |
| H A D | XCoreISelLowering.cpp | 1478 APInt DemandedMask = APInt::getLowBitsSet(BitWidth, 8); in PerformDAGCombine() 1494 APInt DemandedMask = APInt::getLowBitsSet(BitWidth, 16); in PerformDAGCombine()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | ConstantFold.cpp | 778 APInt BitsNotSet(APInt::getLowBitsSet(DstWidth, SrcWidth)); in ConstantFoldBinaryInstruction()
|
| H A D | ConstantRange.cpp | 868 APInt::getLowBitsSet(DstTySize, SrcTySize-1) + 1); in signExtend()
|
| /freebsd/contrib/llvm-project/clang/lib/CIR/Lowering/DirectToLLVM/ |
| H A D | LowerToLLVM.cpp | 2562 createAnd(rewriter, srcVal, llvm::APInt::getLowBitsSet(srcWidth, size)); in matchAndRewrite() 2662 llvm::APInt::getLowBitsSet(storageSize, size)); in matchAndRewrite()
|