Lines Matching defs:VAL
79 /// integer bit-width <= 64, it uses VAL, otherwise it uses pVal.
81 uint64_t VAL; ///< Used to store the <= 64 bits integer value.
148 VAL &= mask;
157 return isSingleWord() ? VAL : pVal[whichWord(bitPosition)];
237 : BitWidth(numBits), VAL(0) {
240 VAL = val;
279 APInt(const APInt &that) : BitWidth(that.BitWidth), VAL(0) {
282 VAL = that.VAL;
289 APInt(APInt &&that) : BitWidth(that.BitWidth), VAL(that.VAL) {
342 return VAL == ~integerPart(0) >> (APINT_BITS_PER_WORD - BitWidth);
357 return BitWidth == 1 ? VAL == 0
372 return BitWidth == 1 ? VAL == 1 : isNegative() && isPowerOf2();
392 return isPowerOf2_64(VAL);
572 return &VAL;
633 return !VAL;
651 VAL = RHS.VAL;
666 VAL = that.VAL;
706 VAL |= RHS;
765 return APInt(getBitWidth(), VAL & RHS.VAL);
780 return APInt(getBitWidth(), VAL | RHS.VAL);
802 return APInt(BitWidth, VAL ^ RHS.VAL);
861 return APInt(BitWidth, VAL << shiftAmt);
951 (isSingleWord() ? VAL : pVal[whichWord(bitPosition)])) !=
966 return VAL == RHS.VAL;
978 return VAL == Val;
1202 VAL = UINT64_MAX;
1220 VAL = 0;
1233 VAL ^= UINT64_MAX;
1308 return VAL;
1320 return int64_t(VAL << (APINT_BITS_PER_WORD - BitWidth)) >>
1343 return llvm::countLeadingZeros(VAL) - unusedBits;
1384 return CountTrailingOnes_64(VAL);
1396 return CountPopulation_64(VAL);
1451 T.I = (isSingleWord() ? VAL : pVal[0]);
1465 T.I = unsigned((isSingleWord() ? VAL : pVal[0]));