Lines Matching refs:partCount
486 unsigned int partCount, in lostFractionThroughTruncation() argument
491 lsb = APInt::tcLSB(parts, partCount); in lostFractionThroughTruncation()
498 if (bits <= partCount * APFloatBase::integerPartWidth && in lostFractionThroughTruncation()
724 count = partCount(); in initialize()
746 assert(rhs.partCount() >= partCount()); in copySignificand()
749 partCount()); in copySignificand()
761 unsigned numParts = partCount(); in makeNaN()
914 return std::equal(significandParts(), significandParts() + partCount(), in bitwiseIsEqual()
949 unsigned int IEEEFloat::partCount() const { in partCount() function in llvm::detail::IEEEFloat
958 if (partCount() > 1) in significandParts()
965 APInt::tcSet(significandParts(), 0, partCount()); in zeroSignificand()
972 carry = APInt::tcIncrement(significandParts(), partCount()); in incrementSignificand()
988 return APInt::tcAdd(parts, rhs.significandParts(), 0, partCount()); in addSignificand()
1003 partCount()); in subtractSignificand()
1033 partsCount = partCount(); in multiplySignificand()
1157 partsCount = partCount(); in divideSignificand()
1229 return APInt::tcMSB(significandParts(), partCount()); in significandMSB()
1233 return APInt::tcLSB(significandParts(), partCount()); in significandLSB()
1243 return shiftRight(significandParts(), partCount(), bits); in shiftSignificandRight()
1251 unsigned int partsCount = partCount(); in shiftSignificandLeft()
1274 partCount()); in compareAbsoluteValue()
1299 APInt::tcSetLeastSignificantBits(significandParts(), partCount(), in handleOverflow()
2174 oldPartCount = partCount(); in convert()
2332 lost_fraction = lostFractionThroughTruncation(src, partCount(), in convertToSignExtendedInteger()
2428 dstCount = partCount(); in convertFromUnsignedParts()
2449 unsigned int partCount = Val.getNumWords(); in convertFromAPInt() local
2458 return convertFromUnsignedParts(api.getRawData(), partCount, rounding_mode); in convertFromAPInt()
2494 unsigned int partCount = partCountForBits(width); in convertFromZeroExtendedInteger() local
2495 APInt api = APInt(width, makeArrayRef(parts, partCount)); in convertFromZeroExtendedInteger()
2503 return convertFromUnsignedParts(api.getRawData(), partCount, rounding_mode); in convertFromZeroExtendedInteger()
2516 unsigned partsCount = partCount(); in convertFromHexadecimalString()
2669 APInt::tcExtract(significandParts(), partCount(), decSig.significandParts(), in roundSignificandWithExponent()
2678 decSig.partCount(), in roundSignificandWithExponent()
2747 unsigned int partCount; in convertFromDecimalString() local
2753 partCount = static_cast<unsigned int>(D.lastSigDigit - D.firstSigDigit) + 1; in convertFromDecimalString()
2754 partCount = partCountForBits(1 + 196 * partCount / 59); in convertFromDecimalString()
2755 decSignificand = new integerPart[partCount + 1]; in convertFromDecimalString()
2756 partCount = 0; in convertFromDecimalString()
2788 partCount, partCount + 1, false); in convertFromDecimalString()
2792 if (decSignificand[partCount]) in convertFromDecimalString()
2793 partCount++; in convertFromDecimalString()
2797 fs = roundSignificandWithExponent(decSignificand, partCount, in convertFromDecimalString()
2993 partsCount = partCount(); in convertNormalToHexString()
3091 Arg.significandParts() + Arg.partCount())); in hash_value()
3105 assert(partCount()==2); in convertF80LongDoubleAPFloatToAPInt()
3135 assert(partCount()==2); in convertPPCDoubleDoubleAPFloatToAPInt()
3184 assert(partCount()==2); in convertQuadrupleAPFloatToAPInt()
3218 assert(partCount()==1); in convertDoubleAPFloatToAPInt()
3246 assert(partCount()==1); in convertFloatAPFloatToAPInt()
3273 assert(partCount() == 1); in convertBFloatAPFloatToAPInt()
3300 assert(partCount()==1); in convertHalfAPFloatToAPInt()
3383 assert(partCount()==2); in initFromF80LongDoubleAPInt()
3439 assert(partCount()==2); in initFromQuadrupleAPInt()
3473 assert(partCount()==1); in initFromDoubleAPInt()
3502 assert(partCount()==1); in initFromFloatAPInt()
3531 assert(partCount() == 1); in initFromBFloatAPInt()
3560 assert(partCount()==1); in initFromHalfAPInt()
3618 unsigned PartCount = partCount(); in makeLargest()
3640 APInt::tcSet(significandParts(), 1, partCount()); in makeSmallest()
4045 APInt::tcSet(significandParts(), 0, partCount()); in next()
4053 APInt::tcSet(significandParts(), 0, partCount()); in next()
4085 APInt::tcDecrement(Parts, partCount()); in next()
4107 APInt::tcSet(Parts, 0, partCount()); in next()
4143 APInt::tcSet(significandParts(), 0, partCount()); in makeInf()
4150 APInt::tcSet(significandParts(), 0, partCount()); in makeZero()