Lines Matching defs:ShiftAmt
609 uint64_t ShiftAmt = SA->getLimitedValue(BitWidth-1);
610 APInt DemandedMaskIn(DemandedMask.lshr(ShiftAmt));
615 DemandedMaskIn |= APInt::getHighBitsSet(BitWidth, ShiftAmt+1);
617 DemandedMaskIn |= APInt::getHighBitsSet(BitWidth, ShiftAmt);
623 KnownZero <<= ShiftAmt;
624 KnownOne <<= ShiftAmt;
626 if (ShiftAmt)
627 KnownZero |= APInt::getLowBitsSet(BitWidth, ShiftAmt);
633 uint64_t ShiftAmt = SA->getLimitedValue(BitWidth-1);
636 APInt DemandedMaskIn(DemandedMask.shl(ShiftAmt));
641 DemandedMaskIn |= APInt::getLowBitsSet(BitWidth, ShiftAmt);
647 KnownZero = APIntOps::lshr(KnownZero, ShiftAmt);
648 KnownOne = APIntOps::lshr(KnownOne, ShiftAmt);
649 if (ShiftAmt) {
651 APInt HighBits(APInt::getHighBitsSet(BitWidth, ShiftAmt));
674 uint32_t ShiftAmt = SA->getLimitedValue(BitWidth-1);
677 APInt DemandedMaskIn(DemandedMask.shl(ShiftAmt));
680 if (DemandedMask.countLeadingZeros() <= ShiftAmt)
686 DemandedMaskIn |= APInt::getLowBitsSet(BitWidth, ShiftAmt);
693 APInt HighBits(APInt::getHighBitsSet(BitWidth, ShiftAmt));
694 KnownZero = APIntOps::lshr(KnownZero, ShiftAmt);
695 KnownOne = APIntOps::lshr(KnownOne, ShiftAmt);
700 SignBit = APIntOps::lshr(SignBit, ShiftAmt);
704 if (BitWidth <= ShiftAmt || KnownZero[BitWidth-ShiftAmt-1] ||