/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineShifts.cpp | 133 APInt::getLowBitsSet(TypeWidth, NumBits) << LowBits)) in CanEvaluateShifted() 157 APInt::getLowBitsSet(TypeWidth, NumBits) << LowBits)) in CanEvaluateShifted() 233 APInt Mask(APInt::getLowBitsSet(TypeWidth, TypeWidth - NumBits)); in GetShiftedValue() 379 APInt MaskV(APInt::getLowBitsSet(SrcSize, DstSize)); in FoldShiftByConstant() 567 APInt Mask(APInt::getLowBitsSet(TypeBits, TypeBits - ShiftAmt1)); in FoldShiftByConstant() 592 APInt Mask(APInt::getLowBitsSet(TypeBits, TypeBits - ShiftAmt2)); in FoldShiftByConstant() 618 APInt Mask(APInt::getLowBitsSet(TypeBits, TypeBits - ShiftAmt2)); in FoldShiftByConstant() 698 MaskedValueIsZero(Op0,APInt::getLowBitsSet(Op1C->getBitWidth(),ShAmt))){ in visitLShr() 744 MaskedValueIsZero(Op0,APInt::getLowBitsSet(Op1C->getBitWidth(),ShAmt))){ in visitAShr()
|
D | InstCombineSimplifyDemanded.cpp | 445 APInt::getLowBitsSet(BitWidth, SrcBitWidth); in SimplifyDemandedUseBits() 494 APInt InDemandedBits(APInt::getLowBitsSet(BitWidth, BitWidth - NLZ)); in SimplifyDemandedUseBits() 546 APInt DemandedFromOps(APInt::getLowBitsSet(BitWidth, BitWidth-NLZ)); in SimplifyDemandedUseBits() 563 APInt DemandedFromOps(APInt::getLowBitsSet(BitWidth, BitWidth-NLZ)); in SimplifyDemandedUseBits() 594 KnownZero |= APInt::getLowBitsSet(BitWidth, ShiftAmt); in SimplifyDemandedUseBits() 608 DemandedMaskIn |= APInt::getLowBitsSet(BitWidth, ShiftAmt); in SimplifyDemandedUseBits() 653 DemandedMaskIn |= APInt::getLowBitsSet(BitWidth, ShiftAmt); in SimplifyDemandedUseBits()
|
D | InstCombineCasts.cpp | 791 APInt::getLowBitsSet(DestBitSize, SrcBitsKept)); in visitZExt() 812 APInt AndValue(APInt::getLowBitsSet(SrcSize, MidSize)); in visitZExt() 819 APInt AndValue(APInt::getLowBitsSet(SrcSize, MidSize)); in visitZExt() 825 APInt AndValue(APInt::getLowBitsSet(DstSize, MidSize)); in visitZExt()
|
D | InstCombineAndOrXor.cpp | 295 APInt ShrMask(APInt::getLowBitsSet(BitWidth, BitWidth - OpRHSVal)); in OptAndOp() 316 APInt ShrMask(APInt::getLowBitsSet(BitWidth, BitWidth - OpRHSVal)); in OptAndOp() 432 APInt Mask(APInt::getLowBitsSet(BitWidth, MB-1)); in FoldLogicalPlusAnd() 799 APInt Low = APInt::getLowBitsSet(BigBitSize, SmallBitSize); in FoldAndOfICmps() 1102 APInt Mask = APInt::getLowBitsSet(BitWidth, BitWidth - Zeros); in visitAnd()
|
D | InstCombineCompares.cpp | 1274 ConstantInt::get(ICI.getContext(), APInt::getLowBitsSet(TypeBits, in visitICmpInstWithInstAndIntCst() 1657 CI1->getValue() != APInt::getLowBitsSet(CI1->getBitWidth(), NewWidth)) in ProcessUGT_ADDCST_ADD() 1756 APInt lowBitsSet = APInt::getLowBitsSet(BitWidth, trailingOnes); in DemandedBitsLHSMask() 1764 APInt lowBitsSet = APInt::getLowBitsSet(BitWidth, trailingZeros); in DemandedBitsLHSMask() 2409 APInt::getLowBitsSet(AP.getBitWidth(), in visitICmpInst() 2546 APInt::getLowBitsSet(ASize, Op0->getType()->getPrimitiveSizeInBits()); in visitICmpInst()
|
/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-7.0/llvm/lib/Analysis/ |
D | DemandedBits.cpp | 141 AB = APInt::getLowBitsSet(BitWidth, in determineLiveOperandBits() 153 AB = APInt::getLowBitsSet(BitWidth, AOut.getActiveBits()); in determineLiveOperandBits() 179 AB |= APInt::getLowBitsSet(BitWidth, ShiftAmt); in determineLiveOperandBits() 197 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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineShifts.cpp | 104 APInt Mask = APInt::getLowBitsSet(TypeWidth, OuterShAmt) << MaskShift; in canEvaluateShiftedShift() 235 ? APInt::getLowBitsSet(TypeWidth, TypeWidth - OuterShAmt) in foldShiftedShift() 400 APInt MaskV(APInt::getLowBitsSet(SrcSize, DstSize)); in FoldShiftByConstant() 740 APInt Mask(APInt::getLowBitsSet(BitWidth, BitWidth - ShAmt)); in visitLShr() 753 APInt Mask(APInt::getLowBitsSet(BitWidth, BitWidth - ShAmt)); in visitLShr() 758 APInt Mask(APInt::getLowBitsSet(BitWidth, BitWidth - ShAmt)); in visitLShr() 806 MaskedValueIsZero(Op0, APInt::getLowBitsSet(BitWidth, ShAmt), 0, &I)) { in visitLShr() 891 MaskedValueIsZero(Op0, APInt::getLowBitsSet(BitWidth, ShAmt), 0, &I)) { in visitAShr()
|
D | InstCombineCasts.cpp | 1100 APInt::getLowBitsSet(DestBitSize, SrcBitsKept)); in visitZExt() 1121 APInt AndValue(APInt::getLowBitsSet(SrcSize, MidSize)); in visitZExt() 1128 APInt AndValue(APInt::getLowBitsSet(SrcSize, MidSize)); in visitZExt() 1134 APInt AndValue(APInt::getLowBitsSet(DstSize, MidSize)); in visitZExt()
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | ValueTracking.cpp | 116 KnownZero = Mask & APInt::getLowBitsSet(BitWidth, in ComputeMaskedBits() 139 KnownZero = Mask & APInt::getLowBitsSet(BitWidth, in ComputeMaskedBits() 220 KnownZero = APInt::getLowBitsSet(BitWidth, TrailZ) | in ComputeMaskedBits() 336 KnownZero |= APInt::getLowBitsSet(BitWidth, ShiftAmt); // low bits known 0 in ComputeMaskedBits() 410 APInt Mask2 = APInt::getLowBitsSet(BitWidth, in ComputeMaskedBits() 427 APInt Mask = APInt::getLowBitsSet(BitWidth, LHSKnownZeroOut); in ComputeMaskedBits() 433 KnownZero |= APInt::getLowBitsSet(BitWidth, in ComputeMaskedBits() 438 APInt Mask = APInt::getLowBitsSet(BitWidth, RHSKnownZeroOut); in ComputeMaskedBits() 546 KnownZero = Mask & APInt::getLowBitsSet(BitWidth, in ComputeMaskedBits() 586 KnownZero = APInt::getLowBitsSet(BitWidth, TrailZ) & Mask; in ComputeMaskedBits() [all …]
|
/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/include/llvm/ADT/ |
D | APInt.h | 467 return getLowBitsSet(numBits, hiBit) | in getBitsSet() 469 return getLowBitsSet(numBits, hiBit-loBit).shl(loBit); in getBitsSet() 492 static APInt getLowBitsSet(unsigned numBits, unsigned loBitsSet) { in getLowBitsSet() function 1587 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/swiftshader/third_party/LLVM/lib/Support/ |
D | ConstantRange.cpp | 458 APInt::getLowBitsSet(DstTySize, SrcTySize-1) + 1); in signExtend() 471 APInt Size(APInt::getLowBitsSet(SrcTySize, DstTySize)); in truncate()
|
/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/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
D | TargetLowering.cpp | 1450 if (ShAmt && (NewMask & APInt::getLowBitsSet(BitWidth, ShAmt)) == 0) { in SimplifyDemandedBits() 1496 KnownZero |= APInt::getLowBitsSet(BitWidth, SA->getZExtValue()); in SimplifyDemandedBits() 1606 APInt::getLowBitsSet(BitWidth, in SimplifyDemandedBits() 1661 APInt InMask = APInt::getLowBitsSet(BitWidth, InBits); in SimplifyDemandedBits() 1773 APInt InMask = APInt::getLowBitsSet(BitWidth, in SimplifyDemandedBits() 1812 APInt LoMask = APInt::getLowBitsSet(BitWidth, in SimplifyDemandedBits() 2037 APInt newMask = APInt::getLowBitsSet(maskWidth, width); in SimplifySetCC() 2138 APInt Imm = APInt::getLowBitsSet(ExtDstTyBits, ExtSrcTyBits); in SimplifySetCC() 2146 DAG.getConstant(C1 & APInt::getLowBitsSet( in SimplifySetCC()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/ |
D | TargetLowering.cpp | 798 if (ShAmt && (NewMask & APInt::getLowBitsSet(BitWidth, ShAmt)) == 0) { in SimplifyDemandedBits() 1031 APInt Mask = APInt::getLowBitsSet(BitWidth, ExVTBits); in SimplifyDemandedBits() 1171 APInt InMask = APInt::getLowBitsSet(BitWidth, ZVT.getSizeInBits()); in SimplifyDemandedBits() 1219 APInt LoMask = APInt::getLowBitsSet(BitWidth, BitWidth - NewMaskLZ); in SimplifyDemandedBits() 2127 APInt newMask = APInt::getLowBitsSet(maskWidth, width); in SimplifySetCC() 2235 APInt Imm = APInt::getLowBitsSet(ExtDstTyBits, ExtSrcTyBits); in SimplifySetCC() 2243 DAG.getConstant(C1 & APInt::getLowBitsSet( in SimplifySetCC() 4304 APInt Imm = APInt::getLowBitsSet(IdxVT.getSizeInBits(), in clampDynamicVectorIndex()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/ |
D | APIntTest.cpp | 1844 TEST(APIntTest, getLowBitsSet) { in TEST() argument 1845 APInt i128lo64 = APInt::getLowBitsSet(128, 64); in TEST() 2114 APInt HugePrime = APInt::getLowBitsSet(BitWidth, 4423); in TEST() 2193 APInt i256(APInt::getLowBitsSet(256, 2)); in TEST()
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZOperators.td | 534 APInt::getLowBitsSet(BitWidth, 8)); 542 APInt::getLowBitsSet(BitWidth, 8));
|