Home | History | Annotate | Download | only in SelectionDAG

Lines Matching full:bitwidth

161       unsigned BitWidth = Op.getValueType().getScalarType().getSizeInBits();
162 APInt Demanded = APInt::getAllOnesValue(BitWidth);
2597 unsigned BitWidth = VT.getScalarType().getSizeInBits();
2631 APInt::getAllOnesValue(BitWidth)))
2695 unsigned BitWidth = VT.getVectorElementType().getSizeInBits();
2700 if (BitWidth > SplatBitSize)
2701 for (SplatValue = SplatValue.zextOrTrunc(BitWidth);
2702 SplatBitSize < BitWidth;
2706 Constant = APInt::getAllOnesValue(BitWidth);
2707 for (unsigned i = 0, n = SplatBitSize/BitWidth; i < n; ++i)
2708 Constant &= SplatValue.lshr(i*BitWidth).zextOrTrunc(BitWidth);
2838 unsigned BitWidth = N1.getValueType().getScalarType().getSizeInBits();
2839 if (DAG.MaskedValueIsZero(N1, APInt::getHighBitsSet(BitWidth,
2840 BitWidth - MemVT.getScalarType().getSizeInBits())) &&
2858 unsigned BitWidth = N1.getValueType().getScalarType().getSizeInBits();
2859 if (DAG.MaskedValueIsZero(N1, APInt::getHighBitsSet(BitWidth,
2860 BitWidth - MemVT.getScalarType().getSizeInBits())) &&
8177 /// \brief Get the bits used in a chunk of bits \p BitWidth large.
8178 /// \return Result is \p BitWidth and has used bits set to 1 and
8186 unsigned BitWidth = Origin->getValueSizeInBits(0);
8188 assert(Inst->getValueSizeInBits(0) <= BitWidth &&
8192 UsedBits = UsedBits.zext(BitWidth);
8796 unsigned BitWidth = N1.getValueSizeInBits();
8799 Imm ^= APInt::getAllOnesValue(BitWidth);
8803 unsigned MSB = BitWidth - Imm.countLeadingZeros() - 1;
8806 while (NewBW < BitWidth &&
8812 if (NewBW >= BitWidth)
8815 // If the lsb changed does not start at the type bitwidth boundary,
8819 APInt Mask = APInt::getBitsSet(BitWidth, ShAmt,
8820 std::min(BitWidth, ShAmt + NewBW));
8829 PtrOff = (BitWidth + 7 - NewBW) / 8 - PtrOff;