Lines Matching refs:VAL

91   /// integer bit-width <= 64, it uses VAL, otherwise it uses pVal.
93 uint64_t VAL; ///< Used to store the <= 64 bits integer value.
154 U.VAL &= mask;
163 return isSingleWord() ? U.VAL : U.pVal[whichWord(bitPosition)];
281 U.VAL = val;
323 U.VAL = that.U.VAL;
345 explicit APInt() : BitWidth(1) { U.VAL = 0; }
402 return U.VAL == WORDTYPE_MAX >> (APINT_BITS_PER_WORD - BitWidth);
417 return U.VAL == 1;
433 return U.VAL == ((WordType(1) << (BitWidth - 1)) - 1);
449 return U.VAL == (WordType(1) << (BitWidth - 1));
470 return isPowerOf2_64(U.VAL);
503 return U.VAL == (WORDTYPE_MAX >> (APINT_BITS_PER_WORD - numBits));
514 return isMask_64(U.VAL);
523 return isShiftedMask_64(U.VAL);
693 return &U.VAL;
740 return U.VAL == 0;
754 U.VAL = RHS.U.VAL;
774 // Use memcpy so that type based alias analysis sees both VAL and pVal
793 U.VAL = RHS;
811 U.VAL &= RHS.U.VAL;
824 U.VAL &= RHS;
841 U.VAL |= RHS.U.VAL;
854 U.VAL |= RHS;
871 U.VAL ^= RHS.U.VAL;
884 U.VAL ^= RHS;
925 U.VAL = 0;
927 U.VAL <<= ShiftAmt;
973 int64_t SExtVAL = SignExtend64(U.VAL, BitWidth);
975 U.VAL = SExtVAL >> (APINT_BITS_PER_WORD - 1); // Fill with sign bit.
977 U.VAL = SExtVAL >> ShiftAmt;
998 U.VAL = 0;
1000 U.VAL >>= ShiftAmt;
1153 return U.VAL == RHS.U.VAL;
1344 return (U.VAL & RHS.U.VAL) != 0;
1352 return (U.VAL & ~RHS.U.VAL) == 0;
1425 U.VAL = WORDTYPE_MAX;
1440 U.VAL |= Mask;
1476 U.VAL |= mask;
1502 U.VAL = 0;
1514 U.VAL &= Mask;
1534 U.VAL ^= WORDTYPE_MAX;
1622 return U.VAL;
1634 return SignExtend64(U.VAL, BitWidth);
1656 return llvm::countLeadingZeros(U.VAL) - unusedBits;
1671 return llvm::countLeadingOnes(U.VAL << (APINT_BITS_PER_WORD - BitWidth));
1691 return std::min(unsigned(llvm::countTrailingZeros(U.VAL)), BitWidth);
1705 return llvm::countTrailingOnes(U.VAL);
1717 return llvm::countPopulation(U.VAL);
1824 // Special case when we have a bitwidth of 1. If VAL is 1, then we
1825 // get 0. If VAL is 0, we get WORDTYPE_MAX which gets truncated to
1828 return U.VAL - 1;