Lines Matching defs:ShiftAmt
608 uint64_t ShiftAmt = SA->getLimitedValue(BitWidth-1);
609 APInt DemandedMaskIn(DemandedMask.lshr(ShiftAmt));
614 DemandedMaskIn |= APInt::getHighBitsSet(BitWidth, ShiftAmt+1);
616 DemandedMaskIn |= APInt::getHighBitsSet(BitWidth, ShiftAmt);
622 KnownZero <<= ShiftAmt;
623 KnownOne <<= ShiftAmt;
625 if (ShiftAmt)
626 KnownZero |= APInt::getLowBitsSet(BitWidth, ShiftAmt);
632 uint64_t ShiftAmt = SA->getLimitedValue(BitWidth-1);
635 APInt DemandedMaskIn(DemandedMask.shl(ShiftAmt));
640 DemandedMaskIn |= APInt::getLowBitsSet(BitWidth, ShiftAmt);
646 KnownZero = APIntOps::lshr(KnownZero, ShiftAmt);
647 KnownOne = APIntOps::lshr(KnownOne, ShiftAmt);
648 if (ShiftAmt) {
650 APInt HighBits(APInt::getHighBitsSet(BitWidth, ShiftAmt));
673 uint32_t ShiftAmt = SA->getLimitedValue(BitWidth-1);
676 APInt DemandedMaskIn(DemandedMask.shl(ShiftAmt));
679 if (DemandedMask.countLeadingZeros() <= ShiftAmt)
685 DemandedMaskIn |= APInt::getLowBitsSet(BitWidth, ShiftAmt);
692 APInt HighBits(APInt::getHighBitsSet(BitWidth, ShiftAmt));
693 KnownZero = APIntOps::lshr(KnownZero, ShiftAmt);
694 KnownOne = APIntOps::lshr(KnownOne, ShiftAmt);
699 SignBit = APIntOps::lshr(SignBit, ShiftAmt);
703 if (BitWidth <= ShiftAmt || KnownZero[BitWidth-ShiftAmt-1] ||