/external/llvm/lib/Analysis/ |
D | DemandedBits.cpp | 129 AB = APInt::getLowBitsSet(BitWidth, in determineLiveOperandBits() 141 AB = APInt::getLowBitsSet(BitWidth, AOut.getActiveBits()); in determineLiveOperandBits() 169 AB |= APInt::getLowBitsSet(BitWidth, ShiftAmt); in determineLiveOperandBits() 188 AB |= APInt::getLowBitsSet(BitWidth, ShiftAmt); in determineLiveOperandBits()
|
D | ValueTracking.cpp | 360 KnownZero = APInt::getLowBitsSet(BitWidth, TrailZ) | in computeKnownBitsMul() 904 KnownZero |= APInt::getLowBitsSet(BitWidth, 1); in computeKnownBitsFromOperator() 1025 APInt::getLowBitsSet(BitWidth, ShiftAmt); // Low bits known 0. in computeKnownBitsFromOperator() 1152 KnownZero = APInt::getLowBitsSet(BitWidth, countTrailingZeros(Align)); in computeKnownBitsFromOperator() 1199 KnownZero = APInt::getLowBitsSet(BitWidth, TrailZ); in computeKnownBitsFromOperator() 1240 KnownZero = APInt::getLowBitsSet(BitWidth, in computeKnownBitsFromOperator() 1461 KnownZero |= APInt::getLowBitsSet(BitWidth, countTrailingZeros(Align)); in computeKnownBits()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | DemandedBits.cpp | 147 AB = APInt::getLowBitsSet(BitWidth, in determineLiveOperandBits() 181 AB = APInt::getLowBitsSet(BitWidth, AOut.getActiveBits()); in determineLiveOperandBits() 210 AB |= APInt::getLowBitsSet(BitWidth, ShiftAmt); in determineLiveOperandBits() 230 AB |= APInt::getLowBitsSet(BitWidth, ShiftAmt); in determineLiveOperandBits()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineShifts.cpp | 95 APInt Mask = APInt::getLowBitsSet(TypeWidth, FirstShiftAmt) << MaskShift; in canEvaluateShiftedShift() 240 APInt Mask(APInt::getLowBitsSet(TypeWidth, TypeWidth - NumBits)); in GetShiftedValue() 391 APInt MaskV(APInt::getLowBitsSet(SrcSize, DstSize)); in FoldShiftByConstant() 589 APInt Mask(APInt::getLowBitsSet(TypeBits, TypeBits - ShiftAmt1)); in FoldShiftByConstant() 625 APInt Mask(APInt::getLowBitsSet(TypeBits, TypeBits - ShiftAmt2)); in FoldShiftByConstant() 673 APInt Mask(APInt::getLowBitsSet(TypeBits, TypeBits - ShiftAmt2)); in FoldShiftByConstant() 772 MaskedValueIsZero(Op0, APInt::getLowBitsSet(Op1C->getBitWidth(), ShAmt), in visitLShr() 817 MaskedValueIsZero(Op0, APInt::getLowBitsSet(Op1C->getBitWidth(), ShAmt), in visitAShr()
|
D | InstCombineSimplifyDemanded.cpp | 491 APInt::getLowBitsSet(BitWidth, SrcBitWidth); in SimplifyDemandedUseBits() 532 APInt DemandedFromOps(APInt::getLowBitsSet(BitWidth, BitWidth-NLZ)); in SimplifyDemandedUseBits() 584 KnownZero |= APInt::getLowBitsSet(BitWidth, ShiftAmt); in SimplifyDemandedUseBits() 598 DemandedMaskIn |= APInt::getLowBitsSet(BitWidth, ShiftAmt); in SimplifyDemandedUseBits() 643 DemandedMaskIn |= APInt::getLowBitsSet(BitWidth, ShiftAmt); in SimplifyDemandedUseBits()
|
D | InstCombineCasts.cpp | 879 APInt::getLowBitsSet(DestBitSize, SrcBitsKept)); in visitZExt() 900 APInt AndValue(APInt::getLowBitsSet(SrcSize, MidSize)); in visitZExt() 907 APInt AndValue(APInt::getLowBitsSet(SrcSize, MidSize)); in visitZExt() 913 APInt AndValue(APInt::getLowBitsSet(DstSize, MidSize)); in visitZExt()
|
D | InstCombineAndOrXor.cpp | 250 APInt ShrMask(APInt::getLowBitsSet(BitWidth, BitWidth - OpRHSVal)); in OptAndOp() 270 APInt ShrMask(APInt::getLowBitsSet(BitWidth, BitWidth - OpRHSVal)); in OptAndOp() 383 APInt Mask(APInt::getLowBitsSet(BitWidth, MB-1)); in FoldLogicalPlusAnd() 939 APInt Low = APInt::getLowBitsSet(BigBitSize, SmallBitSize); in FoldAndOfICmps() 1387 APInt Mask = APInt::getLowBitsSet(BitWidth, BitWidth - Zeros); in visitAnd()
|
D | InstCombineCompares.cpp | 2020 Constant *Mask = Builder->getInt(APInt::getLowBitsSet(TypeBits, in visitICmpInstWithInstAndIntCst() 2518 CI1->getValue() != APInt::getLowBitsSet(CI1->getBitWidth(), NewWidth)) in ProcessUGT_ADDCST_ADD() 2925 APInt lowBitsSet = APInt::getLowBitsSet(BitWidth, trailingOnes); in DemandedBitsLHSMask() 2933 APInt lowBitsSet = APInt::getLowBitsSet(BitWidth, trailingZeros); in DemandedBitsLHSMask() 4042 APInt::getLowBitsSet(AP.getBitWidth(), in visitICmpInst() 4233 APInt AndVal = APInt::getLowBitsSet(TypeBits, TypeBits - ShAmt); in visitICmpInst() 4255 APInt::getLowBitsSet(ASize, Op0->getType()->getPrimitiveSizeInBits()); in visitICmpInst()
|
/external/llvm-project/llvm/lib/Analysis/ |
D | DemandedBits.cpp | 147 AB = APInt::getLowBitsSet(BitWidth, in determineLiveOperandBits() 204 AB = APInt::getLowBitsSet(BitWidth, AOut.getActiveBits()); in determineLiveOperandBits() 233 AB |= APInt::getLowBitsSet(BitWidth, ShiftAmt); in determineLiveOperandBits() 253 AB |= APInt::getLowBitsSet(BitWidth, ShiftAmt); in determineLiveOperandBits()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineShifts.cpp | 457 APInt Mask = APInt::getLowBitsSet(TypeWidth, OuterShAmt) << MaskShift; in canEvaluateShiftedShift() 588 ? APInt::getLowBitsSet(TypeWidth, TypeWidth - OuterShAmt) in foldShiftedShift() 735 APInt MaskV(APInt::getLowBitsSet(SrcSize, DstSize)); in FoldShiftByConstant() 1092 APInt Mask(APInt::getLowBitsSet(BitWidth, BitWidth - ShAmt)); in visitLShr() 1106 APInt Mask(APInt::getLowBitsSet(BitWidth, BitWidth - ShAmt)); in visitLShr() 1111 APInt Mask(APInt::getLowBitsSet(BitWidth, BitWidth - ShAmt)); in visitLShr() 1159 MaskedValueIsZero(Op0, APInt::getLowBitsSet(BitWidth, ShAmt), 0, &I)) { in visitLShr() 1313 MaskedValueIsZero(Op0, APInt::getLowBitsSet(BitWidth, ShAmt), 0, &I)) { in visitAShr()
|
D | InstCombineCasts.cpp | 1135 APInt::getLowBitsSet(DestBitSize, SrcBitsKept)); in visitZExt() 1156 APInt AndValue(APInt::getLowBitsSet(SrcSize, MidSize)); in visitZExt() 1163 APInt AndValue(APInt::getLowBitsSet(SrcSize, MidSize)); in visitZExt() 1169 APInt AndValue(APInt::getLowBitsSet(DstSize, MidSize)); in visitZExt()
|
D | InstCombineCompares.cpp | 1281 CI1->getValue() != APInt::getLowBitsSet(CI1->getBitWidth(), NewWidth)) in processUGT_ADDCST_ADD() 2103 APInt::getLowBitsSet(TypeBits, TypeBits - ShiftAmt->getZExtValue())); in foldICmpShlConstant() 3052 APInt Mask1 = IsTrailing ? APInt::getLowBitsSet(BitWidth, Num + 1) in foldICmpEqIntrinsicWithConstant() 3131 APInt Limit = APInt::getLowBitsSet(BitWidth, BitWidth - Num); in foldICmpIntrinsicWithConstant() 3144 APInt Mask = APInt::getLowBitsSet(BitWidth, C.getLimitedValue() + 1); in foldICmpIntrinsicWithConstant() 3153 APInt Mask = APInt::getLowBitsSet(BitWidth, C.getLimitedValue()); in foldICmpIntrinsicWithConstant() 4003 APInt::getLowBitsSet(C->getBitWidth(), C->getBitWidth() - TZs)); in foldICmpBinOp() 4266 APInt AndVal = APInt::getLowBitsSet(TypeBits, TypeBits - ShAmt); in foldICmpEquality() 4286 APInt::getLowBitsSet(ASize, Op0->getType()->getPrimitiveSizeInBits()); in foldICmpEquality()
|
/external/llvm-project/llvm/lib/Transforms/InstCombine/ |
D | InstCombineShifts.cpp | 459 APInt Mask = APInt::getLowBitsSet(TypeWidth, OuterShAmt) << MaskShift; in canEvaluateShiftedShift() 565 ? APInt::getLowBitsSet(TypeWidth, TypeWidth - OuterShAmt) in foldShiftedShift() 711 ConstantInt::get(SrcTy, APInt::getLowBitsSet(SrcSize, TypeBits)); in FoldShiftByConstant() 1077 APInt Mask(APInt::getLowBitsSet(BitWidth, BitWidth - ShAmt)); in visitLShr() 1091 APInt Mask(APInt::getLowBitsSet(BitWidth, BitWidth - ShAmt)); in visitLShr() 1096 APInt Mask(APInt::getLowBitsSet(BitWidth, BitWidth - ShAmt)); in visitLShr() 1150 MaskedValueIsZero(Op0, APInt::getLowBitsSet(BitWidth, ShAmt), 0, &I)) { in visitLShr() 1310 MaskedValueIsZero(Op0, APInt::getLowBitsSet(BitWidth, ShAmt), 0, &I)) { in visitAShr()
|
D | InstCombineCasts.cpp | 1220 APInt::getLowBitsSet(DestBitSize, SrcBitsKept)); in visitZExt() 1241 APInt AndValue(APInt::getLowBitsSet(SrcSize, MidSize)); in visitZExt() 1248 APInt AndValue(APInt::getLowBitsSet(SrcSize, MidSize)); in visitZExt() 1254 APInt AndValue(APInt::getLowBitsSet(DstSize, MidSize)); in visitZExt()
|
D | InstCombineCompares.cpp | 1283 CI1->getValue() != APInt::getLowBitsSet(CI1->getBitWidth(), NewWidth)) in processUGT_ADDCST_ADD() 2145 APInt::getLowBitsSet(TypeBits, TypeBits - ShiftAmt->getZExtValue())); in foldICmpShlConstant() 3116 APInt Mask1 = IsTrailing ? APInt::getLowBitsSet(BitWidth, Num + 1) in foldICmpEqIntrinsicWithConstant() 3199 APInt Limit = APInt::getLowBitsSet(BitWidth, BitWidth - Num); in foldICmpIntrinsicWithConstant() 3212 APInt Mask = APInt::getLowBitsSet(BitWidth, C.getLimitedValue() + 1); in foldICmpIntrinsicWithConstant() 3220 APInt Mask = APInt::getLowBitsSet(BitWidth, C.getLimitedValue()); in foldICmpIntrinsicWithConstant() 4079 APInt::getLowBitsSet(C->getBitWidth(), C->getBitWidth() - TZs)); in foldICmpBinOp() 4336 APInt AndVal = APInt::getLowBitsSet(TypeBits, TypeBits - ShAmt); in foldICmpEquality() 4356 APInt::getLowBitsSet(ASize, Op0->getType()->getPrimitiveSizeInBits()); in foldICmpEquality()
|
D | InstCombineSimplifyDemanded.cpp | 482 APInt DemandedFromOps(APInt::getLowBitsSet(BitWidth, BitWidth-NLZ)); in SimplifyDemandedUseBits() 922 DemandedMask.isSubsetOf(APInt::getLowBitsSet( in SimplifyMultipleUseDemandedBits()
|
/external/llvm/include/llvm/ADT/ |
D | APInt.h | 503 return getLowBitsSet(numBits, hiBit) | in getBitsSet() 505 return getLowBitsSet(numBits, hiBit - loBit).shl(loBit); in getBitsSet() 532 static APInt getLowBitsSet(unsigned numBits, unsigned loBitsSet) { in getLowBitsSet() function 1787 APIVal == APInt::getLowBitsSet(APIVal.getBitWidth(), numBits); in isMask()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | APInt.h | 507 return getLowBitsSet(numBits, hiBit) | in getBitsSet() 509 return getLowBitsSet(numBits, hiBit - loBit).shl(loBit); in getBitsSet() 536 static APInt getLowBitsSet(unsigned numBits, unsigned loBitsSet) { in getLowBitsSet() function 1814 APIVal == APInt::getLowBitsSet(APIVal.getBitWidth(), numBits); in isMask()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | TargetLowering.cpp | 673 if (ShAmt && (NewMask & APInt::getLowBitsSet(BitWidth, ShAmt)) == 0) { in SimplifyDemandedBits() 743 KnownZero |= APInt::getLowBitsSet(BitWidth, SA->getZExtValue()); in SimplifyDemandedBits() 762 InDemandedMask |= APInt::getLowBitsSet(BitWidth, ShAmt); in SimplifyDemandedBits() 820 InDemandedMask |= APInt::getLowBitsSet(BitWidth, ShAmt); in SimplifyDemandedBits() 904 APInt::getLowBitsSet(BitWidth, in SimplifyDemandedBits() 984 APInt InMask = APInt::getLowBitsSet(BitWidth, InBits); in SimplifyDemandedBits() 1096 APInt InMask = APInt::getLowBitsSet(BitWidth, in SimplifyDemandedBits() 1139 APInt LoMask = APInt::getLowBitsSet(BitWidth, in SimplifyDemandedBits() 1532 APInt newMask = APInt::getLowBitsSet(maskWidth, width); in SimplifySetCC() 1638 APInt Imm = APInt::getLowBitsSet(ExtDstTyBits, ExtSrcTyBits); in SimplifySetCC() [all …]
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | FixedPointBuilder.h | 56 B.getContext(), APInt::getLowBitsSet(ResultWidth, SrcScale)); in Convert()
|
/external/llvm-project/llvm/lib/Support/ |
D | KnownBits.cpp | 97 APInt InDemandedBits = APInt::getLowBitsSet(BitWidth, SrcBitWidth); in sextInReg()
|
/external/llvm-project/llvm/lib/Target/X86/ |
D | X86InstCombineIntrinsic.cpp | 480 MaxValue = APInt::getLowBitsSet(SrcScalarSizeInBits, DstScalarSizeInBits); in simplifyX86pack() 777 APInt Mask = APInt::getLowBitsSet(64, Length).shl(Index); in simplifyX86insertq() 936 APInt DemandedElts = APInt::getLowBitsSet(Width, DemandedWidth); in instCombineIntrinsic()
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZOperators.td | 534 APInt::getLowBitsSet(BitWidth, 8)); 542 APInt::getLowBitsSet(BitWidth, 8));
|
/external/llvm-project/llvm/lib/Target/RISCV/ |
D | RISCVISelLowering.cpp | 1501 APInt LHSMask = APInt::getLowBitsSet(LHS.getValueSizeInBits(), 32); in PerformDAGCombine() 1502 APInt RHSMask = APInt::getLowBitsSet(RHS.getValueSizeInBits(), 5); in PerformDAGCombine() 1518 APInt OpMask = APInt::getLowBitsSet(Op0.getValueSizeInBits(), 32); in PerformDAGCombine() 1519 APInt ShAmtMask = APInt::getLowBitsSet(ShAmt.getValueSizeInBits(), 6); in PerformDAGCombine() 1533 APInt Mask = APInt::getLowBitsSet(Op0.getValueSizeInBits(), 32); in PerformDAGCombine()
|
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
D | TargetLowering.cpp | 1452 if (!DemandedBits.intersects(APInt::getLowBitsSet(BitWidth, ShAmt))) { in SimplifyDemandedBits() 1816 APInt Mask = APInt::getLowBitsSet(BitWidth, ExVTBits); in SimplifyDemandedBits() 2031 APInt InMask = APInt::getLowBitsSet(BitWidth, ZVT.getSizeInBits()); in SimplifyDemandedBits() 2182 APInt LoMask = APInt::getLowBitsSet(BitWidth, BitWidth - DemandedBitsLZ); in SimplifyDemandedBits() 3630 APInt newMask = APInt::getLowBitsSet(maskWidth, width); in SimplifySetCC() 3737 APInt Imm = APInt::getLowBitsSet(ExtDstTyBits, ExtSrcTyBits); in SimplifySetCC() 3745 DAG.getConstant(C1 & APInt::getLowBitsSet( in SimplifySetCC() 6907 APInt::getLowBitsSet(NumLoadBits, SrcEltBits), SL, LoadVT); in scalarizeVectorLoad() 7377 APInt Imm = APInt::getLowBitsSet(IdxVT.getSizeInBits(), in clampDynamicVectorIndex() 7753 SDValue LowMask = DAG.getConstant(APInt::getLowBitsSet(VTSize, Scale), in expandFixedPointMul() [all …]
|