Lines Matching full:bitwidth
940 unsigned BitWidth = Op.getValueType().getScalarType().getSizeInBits();
941 APInt Imm = APInt::getLowBitsSet(BitWidth,
1082 unsigned BitWidth = TM.getTargetLowering()->getPointerTy().getSizeInBits();
1083 if (BitWidth < 64)
1084 Offset = SignExtend64(Offset, BitWidth);
1661 unsigned BitWidth = Op.getValueType().getScalarType().getSizeInBits();
1662 return MaskedValueIsZero(Op, APInt::getSignBit(BitWidth), Depth);
1683 unsigned BitWidth = Op.getValueType().getScalarType().getSizeInBits();
1685 KnownZero = KnownOne = APInt(BitWidth, 0); // Don't know anything.
1748 BitWidth) - BitWidth;
1750 TrailZ = std::min(TrailZ, BitWidth);
1751 LeadZ = std::min(LeadZ, BitWidth);
1752 KnownZero = APInt::getLowBitsSet(BitWidth, TrailZ) |
1753 APInt::getHighBitsSet(BitWidth, LeadZ);
1767 if (RHSUnknownLeadingOnes != BitWidth)
1768 LeadZ = std::min(BitWidth,
1769 LeadZ + BitWidth - RHSUnknownLeadingOnes - 1);
1771 KnownZero = APInt::getHighBitsSet(BitWidth, LeadZ);
1806 TargetLowering::ZeroOrOneBooleanContent && BitWidth > 1)
1807 KnownZero |= APInt::getHighBitsSet(BitWidth, BitWidth - 1);
1815 if (ShAmt >= BitWidth)
1823 KnownZero |= APInt::getLowBitsSet(BitWidth, ShAmt);
1832 if (ShAmt >= BitWidth)
1840 APInt HighBits = APInt::getHighBitsSet(BitWidth, ShAmt);
1849 if (ShAmt >= BitWidth)
1854 APInt HighBits = APInt::getHighBitsSet(BitWidth, ShAmt);
1862 APInt SignBit = APInt::getSignBit(BitWidth);
1878 APInt NewBits = APInt::getHighBitsSet(BitWidth, BitWidth - EBits);
1881 APInt InputDemandedBits = APInt::getLowBitsSet(BitWidth, EBits);
1885 InSignBit = InSignBit.zext(BitWidth);
1913 unsigned LowBits = Log2_32(BitWidth)+1;
1914 KnownZero = APInt::getHighBitsSet(BitWidth, BitWidth - LowBits);
1924 KnownZero |= APInt::getHighBitsSet(BitWidth, BitWidth - MemBits);
1933 APInt NewBits = APInt::getHighBitsSet(BitWidth, BitWidth - InBits);
1937 KnownZero = KnownZero.zext(BitWidth);
1938 KnownOne = KnownOne.zext(BitWidth);
1946 APInt NewBits = APInt::getHighBitsSet(BitWidth, BitWidth - InBits);
1958 KnownZero = KnownZero.zext(BitWidth);
1959 KnownOne = KnownOne.zext(BitWidth);
1974 KnownZero = KnownZero.zext(BitWidth);
1975 KnownOne = KnownOne.zext(BitWidth);
1985 KnownZero = KnownZero.trunc(BitWidth);
1986 KnownOne = KnownOne.trunc(BitWidth);
1991 APInt InMask = APInt::getLowBitsSet(BitWidth, VT.getSizeInBits());
1999 KnownZero = APInt::getHighBitsSet(BitWidth, BitWidth - 1);
2009 // NLZ can't be BitWidth with no sign bit
2010 APInt MaskV = APInt::getHighBitsSet(BitWidth, NLZ+1);
2019 KnownZero = APInt::getHighBitsSet(BitWidth, NLZ2);
2040 KnownZero |= APInt::getLowBitsSet(BitWidth, KnownZeroOut);
2049 KnownZero |= APInt::getBitsSet(BitWidth, 1, KnownZeroOut);
2057 APInt Mask2 = LowBits | APInt::getSignBit(BitWidth);
2066 if (KnownZero2[BitWidth-1] || ((KnownZero2 & LowBits) == LowBits))
2071 if (KnownOne2[BitWidth-1] && ((KnownOne2 & LowBits) != 0))
2097 KnownZero = APInt::getHighBitsSet(BitWidth, Leaders);
2104 KnownZero = APInt::getLowBitsSet(BitWidth, Log2_32(Align));