Lines Matching full:bitwidth
184 unsigned BitWidth = Op.getValueType().getScalarType().getSizeInBits();
185 APInt Demanded = APInt::getAllOnesValue(BitWidth);
3092 unsigned BitWidth = VT.getScalarType().getSizeInBits();
3094 APInt::getAllOnesValue(BitWidth)))
3159 unsigned BitWidth = VT.getVectorElementType().getSizeInBits();
3164 if (BitWidth > SplatBitSize)
3165 for (SplatValue = SplatValue.zextOrTrunc(BitWidth);
3166 SplatBitSize < BitWidth;
3171 // multiple of 'BitWidth'. Otherwise, we could propagate a wrong value.
3172 if (SplatBitSize % BitWidth == 0) {
3173 Constant = APInt::getAllOnesValue(BitWidth);
3174 for (unsigned i = 0, n = SplatBitSize/BitWidth; i < n; ++i)
3175 Constant &= SplatValue.lshr(i*BitWidth).zextOrTrunc(BitWidth);
3310 unsigned BitWidth = N1.getValueType().getScalarType().getSizeInBits();
3311 if (DAG.MaskedValueIsZero(N1, APInt::getHighBitsSet(BitWidth,
3312 BitWidth - MemVT.getScalarType().getSizeInBits())) &&
3330 unsigned BitWidth = N1.getValueType().getScalarType().getSizeInBits();
3331 if (DAG.MaskedValueIsZero(N1, APInt::getHighBitsSet(BitWidth,
3332 BitWidth - MemVT.getScalarType().getSizeInBits())) &&
4266 // - Values of x larger than the bitwidth are undefined and do not require a
10284 /// \brief Get the bits used in a chunk of bits \p BitWidth large.
10285 /// \return Result is \p BitWidth and has used bits set to 1 and
10293 unsigned BitWidth = Origin->getValueSizeInBits(0);
10295 assert(Inst->getValueSizeInBits(0) <= BitWidth &&
10299 UsedBits = UsedBits.zext(BitWidth);
10906 unsigned BitWidth = N1.getValueSizeInBits();
10909 Imm ^= APInt::getAllOnesValue(BitWidth);
10913 unsigned MSB = BitWidth - Imm.countLeadingZeros() - 1;
10918 while (NewBW < BitWidth &&
10925 if (NewBW >= BitWidth)
10928 // If the lsb changed does not start at the type bitwidth boundary,
10932 APInt Mask = APInt::getBitsSet(BitWidth, ShAmt,
10933 std::min(BitWidth, ShAmt + NewBW));
10942 PtrOff = (BitWidth + 7 - NewBW) / 8 - PtrOff;