Lines Matching refs:ShiftAmt
329 uint64_t ShiftAmt = SA->getLimitedValue(BitWidth); in ComputeMaskedBits() local
330 APInt Mask2(Mask.lshr(ShiftAmt)); in ComputeMaskedBits()
334 KnownZero <<= ShiftAmt; in ComputeMaskedBits()
335 KnownOne <<= ShiftAmt; in ComputeMaskedBits()
336 KnownZero |= APInt::getLowBitsSet(BitWidth, ShiftAmt); // low bits known 0 in ComputeMaskedBits()
344 uint64_t ShiftAmt = SA->getLimitedValue(BitWidth); in ComputeMaskedBits() local
347 APInt Mask2(Mask.shl(ShiftAmt)); in ComputeMaskedBits()
351 KnownZero = APIntOps::lshr(KnownZero, ShiftAmt); in ComputeMaskedBits()
352 KnownOne = APIntOps::lshr(KnownOne, ShiftAmt); in ComputeMaskedBits()
354 KnownZero |= APInt::getHighBitsSet(BitWidth, ShiftAmt); in ComputeMaskedBits()
362 uint64_t ShiftAmt = SA->getLimitedValue(BitWidth-1); in ComputeMaskedBits() local
365 APInt Mask2(Mask.shl(ShiftAmt)); in ComputeMaskedBits()
369 KnownZero = APIntOps::lshr(KnownZero, ShiftAmt); in ComputeMaskedBits()
370 KnownOne = APIntOps::lshr(KnownOne, ShiftAmt); in ComputeMaskedBits()
372 APInt HighBits(APInt::getHighBitsSet(BitWidth, ShiftAmt)); in ComputeMaskedBits()
373 if (KnownZero[BitWidth-ShiftAmt-1]) // New bits are known zero. in ComputeMaskedBits()
375 else if (KnownOne[BitWidth-ShiftAmt-1]) // New bits are known one. in ComputeMaskedBits()