Lines Matching refs:SrcBitWidth
273 unsigned SrcBitWidth; in ComputeMaskedBits() local
277 SrcBitWidth = TD->getTypeSizeInBits(SrcTy); in ComputeMaskedBits()
279 SrcBitWidth = SrcTy->getScalarSizeInBits(); in ComputeMaskedBits()
281 APInt MaskIn = Mask.zextOrTrunc(SrcBitWidth); in ComputeMaskedBits()
282 KnownZero = KnownZero.zextOrTrunc(SrcBitWidth); in ComputeMaskedBits()
283 KnownOne = KnownOne.zextOrTrunc(SrcBitWidth); in ComputeMaskedBits()
289 if (BitWidth > SrcBitWidth) in ComputeMaskedBits()
290 KnownZero |= APInt::getHighBitsSet(BitWidth, BitWidth - SrcBitWidth); in ComputeMaskedBits()
307 unsigned SrcBitWidth = I->getOperand(0)->getType()->getScalarSizeInBits(); in ComputeMaskedBits() local
309 APInt MaskIn = Mask.trunc(SrcBitWidth); in ComputeMaskedBits()
310 KnownZero = KnownZero.trunc(SrcBitWidth); in ComputeMaskedBits()
311 KnownOne = KnownOne.trunc(SrcBitWidth); in ComputeMaskedBits()
320 if (KnownZero[SrcBitWidth-1]) // Input sign bit known zero in ComputeMaskedBits()
321 KnownZero |= APInt::getHighBitsSet(BitWidth, BitWidth - SrcBitWidth); in ComputeMaskedBits()
322 else if (KnownOne[SrcBitWidth-1]) // Input sign bit known set in ComputeMaskedBits()
323 KnownOne |= APInt::getHighBitsSet(BitWidth, BitWidth - SrcBitWidth); in ComputeMaskedBits()