Lines Matching refs:VAL
93 U.VAL = bigVal[0]; in initFromArray()
149 U.VAL = RHS.U.VAL; in assignSlowCase()
159 ID.AddInteger(U.VAL); in Profile()
179 ++U.VAL; in operator ++()
188 --U.VAL; in operator --()
200 U.VAL += RHS.U.VAL; in operator +=()
208 U.VAL += RHS; in operator +=()
220 U.VAL -= RHS.U.VAL; in operator -=()
228 U.VAL -= RHS; in operator -=()
237 return APInt(BitWidth, U.VAL * RHS.U.VAL); in operator *()
270 U.VAL *= RHS; in operator *=()
285 return U.VAL < RHS.U.VAL ? -1 : U.VAL > RHS.U.VAL; in compare()
293 int64_t lhsSext = SignExtend64(U.VAL, BitWidth); in compareSigned()
294 int64_t rhsSext = SignExtend64(RHS.U.VAL, BitWidth); in compareSigned()
385 U.VAL &= ~(mask << bitPosition); in insertBits()
386 U.VAL |= (subBits.U.VAL << bitPosition); in insertBits()
398 U.pVal[loWord] |= (subBits.U.VAL << loBit); in insertBits()
430 U.VAL &= ~(maskBits << bitPosition); in insertBits()
431 U.VAL |= subBits << bitPosition; in insertBits()
458 return APInt(numBits, U.VAL >> bitPosition); in extractBits()
478 uint64_t *DestPtr = Result.isSingleWord() ? &Result.U.VAL : Result.U.pVal; in extractBits()
497 return (U.VAL >> bitPosition) & maskBits; in extractBitsAsZExtValue()
588 return hash_combine(Arg.BitWidth, Arg.U.VAL); in hash_value()
718 return APInt(BitWidth, llvm::byteswap<uint16_t>(U.VAL)); in byteSwap()
720 return APInt(BitWidth, llvm::byteswap<uint32_t>(U.VAL)); in byteSwap()
722 uint64_t Tmp1 = llvm::byteswap<uint64_t>(U.VAL); in byteSwap()
740 return APInt(BitWidth, llvm::reverseBits<uint64_t>(U.VAL)); in reverseBits()
742 return APInt(BitWidth, llvm::reverseBits<uint32_t>(U.VAL)); in reverseBits()
744 return APInt(BitWidth, llvm::reverseBits<uint16_t>(U.VAL)); in reverseBits()
746 return APInt(BitWidth, llvm::reverseBits<uint8_t>(U.VAL)); in reverseBits()
958 return APInt(Width, SignExtend64(U.VAL, BitWidth)); in sext()
985 return APInt(width, U.VAL); in zext()
1147 return U.VAL - 1; in nearestLogBase2()
1186 return APInt(BitWidth, results[ (isSingleWord() ? U.VAL : U.pVal[0]) ]); in sqrt()
1195 uint64_t(::round(::sqrt(double(isSingleWord() ? U.VAL in sqrt()
1548 assert(RHS.U.VAL != 0 && "Divide by zero?"); in udiv()
1549 return APInt(BitWidth, U.VAL / RHS.U.VAL); in udiv()
1586 return APInt(BitWidth, U.VAL / RHS); in udiv()
1639 assert(RHS.U.VAL != 0 && "Remainder by zero?"); in urem()
1640 return APInt(BitWidth, U.VAL % RHS.U.VAL); in urem()
1678 return U.VAL % RHS; in urem()
1735 assert(RHS.U.VAL != 0 && "Divide by zero?"); in udivrem()
1736 uint64_t QuotVal = LHS.U.VAL / RHS.U.VAL; in udivrem()
1737 uint64_t RemVal = LHS.U.VAL % RHS.U.VAL; in udivrem()
1806 uint64_t QuotVal = LHS.U.VAL / RHS; in udivrem()
1807 Remainder = LHS.U.VAL % RHS; in udivrem()
2106 U.VAL = 0; in fromString()