Lines Matching refs:SrcBitWidth
976 unsigned SrcBitWidth;
979 SrcBitWidth = Q.DL.getTypeSizeInBits(SrcTy->getScalarType());
981 assert(SrcBitWidth && "SrcBitWidth can't be zero");
982 KnownZero = KnownZero.zextOrTrunc(SrcBitWidth);
983 KnownOne = KnownOne.zextOrTrunc(SrcBitWidth);
988 if (BitWidth > SrcBitWidth)
989 KnownZero |= APInt::getHighBitsSet(BitWidth, BitWidth - SrcBitWidth);
1005 unsigned SrcBitWidth = I->getOperand(0)->getType()->getScalarSizeInBits();
1007 KnownZero = KnownZero.trunc(SrcBitWidth);
1008 KnownOne = KnownOne.trunc(SrcBitWidth);
1015 if (KnownZero[SrcBitWidth-1]) // Input sign bit known zero
1016 KnownZero |= APInt::getHighBitsSet(BitWidth, BitWidth - SrcBitWidth);
1017 else if (KnownOne[SrcBitWidth-1]) // Input sign bit known set
1018 KnownOne |= APInt::getHighBitsSet(BitWidth, BitWidth - SrcBitWidth);