Lines Matching refs:VAL

94     VAL = bigVal[0];  in initFromArray()
108 : BitWidth(numBits), VAL(0) { in APInt()
113 : BitWidth(numBits), VAL(0) { in APInt()
118 : BitWidth(numbits), VAL(0) { in APInt()
138 VAL = 0; in AssignSlowCase()
145 VAL = RHS.VAL; in AssignSlowCase()
157 VAL = RHS; in operator =()
170 ID.AddInteger(VAL); in Profile()
199 ++VAL; in operator ++()
228 --VAL; in operator --()
255 VAL += RHS.VAL; in operator +=()
282 VAL -= RHS.VAL; in operator -=()
359 VAL *= RHS.VAL; in operator *=()
401 VAL &= RHS.VAL; in operator &=()
413 VAL |= RHS.VAL; in operator |=()
425 VAL ^= RHS.VAL; in operator ^=()
466 return APInt(BitWidth, VAL * RHS.VAL); in operator *()
475 return APInt(BitWidth, VAL + RHS.VAL); in operator +()
485 return APInt(BitWidth, VAL - RHS.VAL); in operator -()
523 return VAL < RHS.VAL; in ult()
555 int64_t lhsSext = (int64_t(VAL) << (64-BitWidth)) >> (64-BitWidth); in slt()
556 int64_t rhsSext = (int64_t(RHS.VAL) << (64-BitWidth)) >> (64-BitWidth); in slt()
590 VAL |= maskBit(bitPosition); in setBit()
599 VAL &= ~maskBit(bitPosition); in clearBit()
670 return hash_combine(Arg.VAL); in hash_value()
724 return llvm::countLeadingOnes(VAL << (APINT_BITS_PER_WORD - BitWidth)); in countLeadingOnes()
751 return std::min(unsigned(llvm::countTrailingZeros(VAL)), BitWidth); in countTrailingZeros()
793 return APInt(BitWidth, ByteSwap_16(uint16_t(VAL))); in byteSwap()
795 return APInt(BitWidth, ByteSwap_32(unsigned(VAL))); in byteSwap()
797 unsigned Tmp1 = unsigned(VAL >> 16); in byteSwap()
799 uint16_t Tmp2 = uint16_t(VAL); in byteSwap()
804 return APInt(BitWidth, ByteSwap_64(VAL)); in byteSwap()
959 uint64_t val = VAL << (APINT_BITS_PER_WORD - BitWidth); in sext()
1000 return APInt(width, VAL); in zext()
1064 (((int64_t(VAL) << SignBit) >> SignBit) >> shiftAmt)); in ashr()
1147 return APInt(BitWidth, this->VAL >> shiftAmt); in lshr()
1313 return APInt(BitWidth, results[ (isSingleWord() ? VAL : pVal[0]) ]); in sqrt()
1322 uint64_t(::round(::sqrt(double(isSingleWord()?VAL:pVal[0]))))); in sqrt()
1712 uint64_t tmp = (LHS.getNumWords() == 1 ? LHS.VAL : LHS.pVal[i]); in divide()
1721 uint64_t tmp = (RHS.getNumWords() == 1 ? RHS.VAL : RHS.pVal[i]); in divide()
1781 Quotient->VAL = 0; in divide()
1798 Quotient->VAL = tmp; in divide()
1814 Remainder->VAL = 0; in divide()
1829 Remainder->VAL = tmp; in divide()
1854 assert(RHS.VAL != 0 && "Divide by zero?"); in udiv()
1855 return APInt(BitWidth, VAL / RHS.VAL); in udiv()
1900 assert(RHS.VAL != 0 && "Remainder by zero?"); in urem()
1901 return APInt(BitWidth, VAL % RHS.VAL); in urem()
1951 assert(RHS.VAL != 0 && "Divide by zero?"); in udivrem()
1952 uint64_t QuotVal = LHS.VAL / RHS.VAL; in udivrem()
1953 uint64_t RemVal = LHS.VAL % RHS.VAL; in udivrem()
1986 uint64_t lhsValue = LHS.isSingleWord() ? LHS.VAL : LHS.pVal[0]; in udivrem()
1987 uint64_t rhsValue = RHS.isSingleWord() ? RHS.VAL : RHS.pVal[0]; in udivrem()
2141 apdigit.VAL = digit; in fromString()