• Home
  • Raw
  • Download

Lines Matching refs:VAL

93     VAL = bigVal[0];  in initFromArray()
107 : BitWidth(numBits), VAL(0) { in APInt()
112 : BitWidth(numBits), VAL(0) { in APInt()
117 : BitWidth(numbits), VAL(0) { in APInt()
137 VAL = 0; in AssignSlowCase()
144 VAL = RHS.VAL; in AssignSlowCase()
156 VAL = RHS; in operator =()
169 ID.AddInteger(VAL); in Profile()
198 ++VAL; in operator ++()
227 --VAL; in operator --()
254 VAL += RHS.VAL; in operator +=()
281 VAL -= RHS.VAL; in operator -=()
358 VAL *= RHS.VAL; in operator *=()
400 VAL &= RHS.VAL; in operator &=()
412 VAL |= RHS.VAL; in operator |=()
424 VAL ^= RHS.VAL; in operator ^=()
463 return APInt(BitWidth, VAL * RHS.VAL); in operator *()
472 return APInt(BitWidth, VAL + RHS.VAL); in operator +()
481 return APInt(BitWidth, VAL - RHS.VAL); in operator -()
518 return VAL < RHS.VAL; in ult()
550 int64_t lhsSext = (int64_t(VAL) << (64-BitWidth)) >> (64-BitWidth); in slt()
551 int64_t rhsSext = (int64_t(RHS.VAL) << (64-BitWidth)) >> (64-BitWidth); in slt()
585 VAL |= maskBit(bitPosition); in setBit()
594 VAL &= ~maskBit(bitPosition); in clearBit()
665 return hash_combine(Arg.VAL); in hash_value()
711 return CountLeadingOnes_64(VAL << (APINT_BITS_PER_WORD - BitWidth)); in countLeadingOnes()
738 return std::min(unsigned(llvm::countTrailingZeros(VAL)), BitWidth); in countTrailingZeros()
780 return APInt(BitWidth, ByteSwap_16(uint16_t(VAL))); in byteSwap()
782 return APInt(BitWidth, ByteSwap_32(unsigned(VAL))); in byteSwap()
784 unsigned Tmp1 = unsigned(VAL >> 16); in byteSwap()
786 uint16_t Tmp2 = uint16_t(VAL); in byteSwap()
791 return APInt(BitWidth, ByteSwap_64(VAL)); in byteSwap()
946 uint64_t val = VAL << (APINT_BITS_PER_WORD - BitWidth); in sext()
987 return APInt(width, VAL); in zext()
1051 (((int64_t(VAL) << SignBit) >> SignBit) >> shiftAmt)); in ashr()
1132 return APInt(BitWidth, this->VAL >> shiftAmt); in lshr()
1286 return APInt(BitWidth, results[ (isSingleWord() ? VAL : pVal[0]) ]); in sqrt()
1296 uint64_t(::round(::sqrt(double(isSingleWord()?VAL:pVal[0]))))); in sqrt()
1299 uint64_t(::sqrt(double(isSingleWord()?VAL:pVal[0])) + 0.5)); in sqrt()
1707 uint64_t tmp = (LHS.getNumWords() == 1 ? LHS.VAL : LHS.pVal[i]); in divide()
1716 uint64_t tmp = (RHS.getNumWords() == 1 ? RHS.VAL : RHS.pVal[i]); in divide()
1776 Quotient->VAL = 0; in divide()
1791 Quotient->VAL = tmp; in divide()
1807 Remainder->VAL = 0; in divide()
1822 Remainder->VAL = tmp; in divide()
1847 assert(RHS.VAL != 0 && "Divide by zero?"); in udiv()
1848 return APInt(BitWidth, VAL / RHS.VAL); in udiv()
1893 assert(RHS.VAL != 0 && "Remainder by zero?"); in urem()
1894 return APInt(BitWidth, VAL % RHS.VAL); in urem()
1967 uint64_t lhsValue = LHS.isSingleWord() ? LHS.VAL : LHS.pVal[0]; in udivrem()
1968 uint64_t rhsValue = RHS.isSingleWord() ? RHS.VAL : RHS.pVal[0]; in udivrem()
2112 apdigit.VAL = digit; in fromString()