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