Lines Matching refs:IEEEFloat
33 if (usesLayout<IEEEFloat>(getSemantics())) \
876 void IEEEFloat::initialize(const fltSemantics *ourSemantics) { in initialize()
885 void IEEEFloat::freeSignificand() { in freeSignificand()
890 void IEEEFloat::assign(const IEEEFloat &rhs) { in assign()
900 void IEEEFloat::copySignificand(const IEEEFloat &rhs) { in copySignificand()
911 void IEEEFloat::makeNaN(bool SNaN, bool Negative, const APInt *fill) { in makeNaN()
978 IEEEFloat &IEEEFloat::operator=(const IEEEFloat &rhs) { in operator =()
990 IEEEFloat &IEEEFloat::operator=(IEEEFloat &&rhs) { in operator =()
1003 bool IEEEFloat::isDenormal() const { in isDenormal()
1009 bool IEEEFloat::isSmallest() const { in isSmallest()
1017 bool IEEEFloat::isSmallestNormalized() const { in isSmallestNormalized()
1022 bool IEEEFloat::isSignificandAllOnes() const { in isSignificandAllOnes()
1044 bool IEEEFloat::isSignificandAllOnesExceptLSB() const { in isSignificandAllOnesExceptLSB()
1071 bool IEEEFloat::isSignificandAllZeros() const { in isSignificandAllZeros()
1094 bool IEEEFloat::isSignificandAllZerosExceptMSB() const { in isSignificandAllZerosExceptMSB()
1109 bool IEEEFloat::isLargest() const { in isLargest()
1125 bool IEEEFloat::isInteger() const { in isInteger()
1128 IEEEFloat truncated = *this; in isInteger()
1133 bool IEEEFloat::bitwiseIsEqual(const IEEEFloat &rhs) const { in bitwiseIsEqual()
1150 IEEEFloat::IEEEFloat(const fltSemantics &ourSemantics, integerPart value) { in IEEEFloat() function in llvm::detail::IEEEFloat
1160 IEEEFloat::IEEEFloat(const fltSemantics &ourSemantics) { in IEEEFloat() function in llvm::detail::IEEEFloat
1167 IEEEFloat::IEEEFloat(const fltSemantics &ourSemantics, uninitializedTag tag) in IEEEFloat() function in llvm::detail::IEEEFloat
1168 : IEEEFloat(ourSemantics) {} in IEEEFloat()
1170 IEEEFloat::IEEEFloat(const IEEEFloat &rhs) { in IEEEFloat() function in llvm::detail::IEEEFloat
1175 IEEEFloat::IEEEFloat(IEEEFloat &&rhs) : semantics(&semBogus) { in IEEEFloat() function in llvm::detail::IEEEFloat
1179 IEEEFloat::~IEEEFloat() { freeSignificand(); } in ~IEEEFloat()
1181 unsigned int IEEEFloat::partCount() const { in partCount()
1185 const IEEEFloat::integerPart *IEEEFloat::significandParts() const { in significandParts()
1186 return const_cast<IEEEFloat *>(this)->significandParts(); in significandParts()
1189 IEEEFloat::integerPart *IEEEFloat::significandParts() { in significandParts()
1196 void IEEEFloat::zeroSignificand() { in zeroSignificand()
1201 void IEEEFloat::incrementSignificand() { in incrementSignificand()
1212 IEEEFloat::integerPart IEEEFloat::addSignificand(const IEEEFloat &rhs) { in addSignificand()
1225 IEEEFloat::integerPart IEEEFloat::subtractSignificand(const IEEEFloat &rhs, in subtractSignificand()
1241 lostFraction IEEEFloat::multiplySignificand(const IEEEFloat &rhs, in multiplySignificand()
1242 IEEEFloat addend) { in multiplySignificand()
1318 IEEEFloat extendedAddend(addend); in multiplySignificand()
1373 lostFraction IEEEFloat::multiplySignificand(const IEEEFloat &rhs) { in multiplySignificand()
1374 return multiplySignificand(rhs, IEEEFloat(*semantics)); in multiplySignificand()
1378 lostFraction IEEEFloat::divideSignificand(const IEEEFloat &rhs) { in divideSignificand()
1460 unsigned int IEEEFloat::significandMSB() const { in significandMSB()
1464 unsigned int IEEEFloat::significandLSB() const { in significandLSB()
1469 lostFraction IEEEFloat::shiftSignificandRight(unsigned int bits) { in shiftSignificandRight()
1479 void IEEEFloat::shiftSignificandLeft(unsigned int bits) { in shiftSignificandLeft()
1492 IEEEFloat::cmpResult
1493 IEEEFloat::compareAbsoluteValue(const IEEEFloat &rhs) const { in compareAbsoluteValue()
1535 IEEEFloat::opStatus IEEEFloat::handleOverflow(roundingMode rounding_mode) { in handleOverflow()
1567 bool IEEEFloat::roundAwayFromZero(roundingMode rounding_mode, in roundAwayFromZero()
1605 IEEEFloat::opStatus IEEEFloat::normalize(roundingMode rounding_mode, in normalize()
1732 IEEEFloat::opStatus IEEEFloat::addOrSubtractSpecials(const IEEEFloat &rhs, in addOrSubtractSpecials()
1789 lostFraction IEEEFloat::addOrSubtractSignificand(const IEEEFloat &rhs, in addOrSubtractSignificand()
1804 IEEEFloat temp_rhs(rhs); in addOrSubtractSignificand()
1840 IEEEFloat temp_rhs(rhs); in addOrSubtractSignificand()
1857 IEEEFloat::opStatus IEEEFloat::multiplySpecials(const IEEEFloat &rhs) { in multiplySpecials()
1901 IEEEFloat::opStatus IEEEFloat::divideSpecials(const IEEEFloat &rhs) { in divideSpecials()
1950 IEEEFloat::opStatus IEEEFloat::modSpecials(const IEEEFloat &rhs) { in modSpecials()
1988 IEEEFloat::opStatus IEEEFloat::remainderSpecials(const IEEEFloat &rhs) { in remainderSpecials()
2027 void IEEEFloat::changeSign() { in changeSign()
2038 IEEEFloat::opStatus IEEEFloat::addOrSubtract(const IEEEFloat &rhs, in addOrSubtract()
2071 IEEEFloat::opStatus IEEEFloat::add(const IEEEFloat &rhs, in add()
2077 IEEEFloat::opStatus IEEEFloat::subtract(const IEEEFloat &rhs, in subtract()
2083 IEEEFloat::opStatus IEEEFloat::multiply(const IEEEFloat &rhs, in multiply()
2103 IEEEFloat::opStatus IEEEFloat::divide(const IEEEFloat &rhs, in divide()
2123 IEEEFloat::opStatus IEEEFloat::remainder(const IEEEFloat &rhs) { in remainder()
2138 IEEEFloat P2 = rhs; in remainder()
2145 IEEEFloat P = rhs; in remainder()
2189 IEEEFloat VEx = *this; in remainder()
2192 IEEEFloat PEx = P; in remainder()
2233 IEEEFloat::opStatus IEEEFloat::mod(const IEEEFloat &rhs) { in mod()
2241 IEEEFloat V = scalbn(rhs, Exp, rmNearestTiesToEven); in mod()
2260 IEEEFloat::opStatus IEEEFloat::fusedMultiplyAdd(const IEEEFloat &multiplicand, in fusedMultiplyAdd()
2261 const IEEEFloat &addend, in fusedMultiplyAdd()
2306 IEEEFloat::opStatus IEEEFloat::roundToIntegral(roundingMode rounding_mode) { in roundToIntegral()
2368 IEEEFloat MagicConstant(*semantics); in roundToIntegral()
2393 IEEEFloat::cmpResult IEEEFloat::compare(const IEEEFloat &rhs) const { in compare()
2470 IEEEFloat::opStatus IEEEFloat::convert(const fltSemantics &toSemantics, in convert()
2616 IEEEFloat::opStatus IEEEFloat::convertToSignExtendedInteger( in convertToSignExtendedInteger()
2729 IEEEFloat::opStatus
2730 IEEEFloat::convertToInteger(MutableArrayRef<integerPart> parts, in convertToInteger()
2762 IEEEFloat::opStatus IEEEFloat::convertFromUnsignedParts( in convertFromUnsignedParts()
2790 IEEEFloat::opStatus IEEEFloat::convertFromAPInt(const APInt &Val, bool isSigned, in convertFromAPInt()
2807 IEEEFloat::opStatus
2808 IEEEFloat::convertFromSignExtendedInteger(const integerPart *src, in convertFromSignExtendedInteger()
2833 IEEEFloat::opStatus
2834 IEEEFloat::convertFromZeroExtendedInteger(const integerPart *parts, in convertFromZeroExtendedInteger()
2849 Expected<IEEEFloat::opStatus>
2850 IEEEFloat::convertFromHexadecimalString(StringRef s, in convertFromHexadecimalString()
2943 IEEEFloat::opStatus
2944 IEEEFloat::roundSignificandWithExponent(const integerPart *decSigParts, in roundSignificandWithExponent()
2968 IEEEFloat decSig(calcSemantics, uninitialized); in roundSignificandWithExponent()
2970 IEEEFloat pow5(calcSemantics); in roundSignificandWithExponent()
3028 Expected<IEEEFloat::opStatus>
3029 IEEEFloat::convertFromDecimalString(StringRef str, roundingMode rounding_mode) { in convertFromDecimalString()
3151 bool IEEEFloat::convertFromStringSpecials(StringRef str) { in convertFromStringSpecials()
3221 Expected<IEEEFloat::opStatus>
3222 IEEEFloat::convertFromString(StringRef str, roundingMode rounding_mode) { in convertFromString()
3275 unsigned int IEEEFloat::convertToHexString(char *dst, unsigned int hexDigits, in convertToHexString()
3322 char *IEEEFloat::convertNormalToHexString(char *dst, unsigned int hexDigits, in convertNormalToHexString()
3424 hash_code hash_value(const IEEEFloat &Arg) { in hash_value()
3448 APInt IEEEFloat::convertF80LongDoubleAPFloatToAPInt() const { in convertF80LongDoubleAPFloatToAPInt()
3478 APInt IEEEFloat::convertPPCDoubleDoubleAPFloatToAPInt() const { in convertPPCDoubleDoubleAPFloatToAPInt()
3494 IEEEFloat extended(*this); in convertPPCDoubleDoubleAPFloatToAPInt()
3499 IEEEFloat u(extended); in convertPPCDoubleDoubleAPFloatToAPInt()
3514 IEEEFloat v(extended); in convertPPCDoubleDoubleAPFloatToAPInt()
3528 APInt IEEEFloat::convertIEEEFloatToAPInt() const { in convertIEEEFloatToAPInt()
3591 APInt IEEEFloat::convertQuadrupleAPFloatToAPInt() const { in convertQuadrupleAPFloatToAPInt()
3596 APInt IEEEFloat::convertDoubleAPFloatToAPInt() const { in convertDoubleAPFloatToAPInt()
3601 APInt IEEEFloat::convertFloatAPFloatToAPInt() const { in convertFloatAPFloatToAPInt()
3606 APInt IEEEFloat::convertBFloatAPFloatToAPInt() const { in convertBFloatAPFloatToAPInt()
3611 APInt IEEEFloat::convertHalfAPFloatToAPInt() const { in convertHalfAPFloatToAPInt()
3616 APInt IEEEFloat::convertFloat8E5M2APFloatToAPInt() const { in convertFloat8E5M2APFloatToAPInt()
3621 APInt IEEEFloat::convertFloat8E5M2FNUZAPFloatToAPInt() const { in convertFloat8E5M2FNUZAPFloatToAPInt()
3626 APInt IEEEFloat::convertFloat8E4M3APFloatToAPInt() const { in convertFloat8E4M3APFloatToAPInt()
3631 APInt IEEEFloat::convertFloat8E4M3FNAPFloatToAPInt() const { in convertFloat8E4M3FNAPFloatToAPInt()
3636 APInt IEEEFloat::convertFloat8E4M3FNUZAPFloatToAPInt() const { in convertFloat8E4M3FNUZAPFloatToAPInt()
3641 APInt IEEEFloat::convertFloat8E4M3B11FNUZAPFloatToAPInt() const { in convertFloat8E4M3B11FNUZAPFloatToAPInt()
3646 APInt IEEEFloat::convertFloatTF32APFloatToAPInt() const { in convertFloatTF32APFloatToAPInt()
3651 APInt IEEEFloat::convertFloat6E3M2FNAPFloatToAPInt() const { in convertFloat6E3M2FNAPFloatToAPInt()
3656 APInt IEEEFloat::convertFloat6E2M3FNAPFloatToAPInt() const { in convertFloat6E2M3FNAPFloatToAPInt()
3661 APInt IEEEFloat::convertFloat4E2M1FNAPFloatToAPInt() const { in convertFloat4E2M1FNAPFloatToAPInt()
3670 APInt IEEEFloat::bitcastToAPInt() const { in bitcastToAPInt()
3724 float IEEEFloat::convertToFloat() const { in convertToFloat()
3731 double IEEEFloat::convertToDouble() const { in convertToDouble()
3739 float128 IEEEFloat::convertToQuad() const { in convertToQuad()
3754 void IEEEFloat::initFromF80LongDoubleAPInt(const APInt &api) { in initFromF80LongDoubleAPInt()
3785 void IEEEFloat::initFromPPCDoubleDoubleAPInt(const APInt &api) { in initFromPPCDoubleDoubleAPInt()
3799 IEEEFloat v(semIEEEdouble, APInt(64, i2)); in initFromPPCDoubleDoubleAPInt()
3809 void IEEEFloat::initFromIEEEAPInt(const APInt &api) { in initFromIEEEAPInt()
3891 void IEEEFloat::initFromQuadrupleAPInt(const APInt &api) { in initFromQuadrupleAPInt()
3895 void IEEEFloat::initFromDoubleAPInt(const APInt &api) { in initFromDoubleAPInt()
3899 void IEEEFloat::initFromFloatAPInt(const APInt &api) { in initFromFloatAPInt()
3903 void IEEEFloat::initFromBFloatAPInt(const APInt &api) { in initFromBFloatAPInt()
3907 void IEEEFloat::initFromHalfAPInt(const APInt &api) { in initFromHalfAPInt()
3911 void IEEEFloat::initFromFloat8E5M2APInt(const APInt &api) { in initFromFloat8E5M2APInt()
3915 void IEEEFloat::initFromFloat8E5M2FNUZAPInt(const APInt &api) { in initFromFloat8E5M2FNUZAPInt()
3919 void IEEEFloat::initFromFloat8E4M3APInt(const APInt &api) { in initFromFloat8E4M3APInt()
3923 void IEEEFloat::initFromFloat8E4M3FNAPInt(const APInt &api) { in initFromFloat8E4M3FNAPInt()
3927 void IEEEFloat::initFromFloat8E4M3FNUZAPInt(const APInt &api) { in initFromFloat8E4M3FNUZAPInt()
3931 void IEEEFloat::initFromFloat8E4M3B11FNUZAPInt(const APInt &api) { in initFromFloat8E4M3B11FNUZAPInt()
3935 void IEEEFloat::initFromFloatTF32APInt(const APInt &api) { in initFromFloatTF32APInt()
3939 void IEEEFloat::initFromFloat6E3M2FNAPInt(const APInt &api) { in initFromFloat6E3M2FNAPInt()
3943 void IEEEFloat::initFromFloat6E2M3FNAPInt(const APInt &api) { in initFromFloat6E2M3FNAPInt()
3947 void IEEEFloat::initFromFloat4E2M1FNAPInt(const APInt &api) { in initFromFloat4E2M1FNAPInt()
3952 void IEEEFloat::initFromAPInt(const fltSemantics *Sem, const APInt &api) { in initFromAPInt()
3994 void IEEEFloat::makeLargest(bool Negative) { in makeLargest()
4023 void IEEEFloat::makeSmallest(bool Negative) { in makeSmallest()
4034 void IEEEFloat::makeSmallestNormalized(bool Negative) { in makeSmallestNormalized()
4047 IEEEFloat::IEEEFloat(const fltSemantics &Sem, const APInt &API) { in IEEEFloat() function in llvm::detail::IEEEFloat
4051 IEEEFloat::IEEEFloat(float f) { in IEEEFloat() function in llvm::detail::IEEEFloat
4055 IEEEFloat::IEEEFloat(double d) { in IEEEFloat() function in llvm::detail::IEEEFloat
4336 void IEEEFloat::toString(SmallVectorImpl<char> &Str, unsigned FormatPrecision, in toString()
4379 bool IEEEFloat::getExactInverse(APFloat *inv) const { in getExactInverse()
4390 IEEEFloat reciprocal(*semantics, 1ULL); in getExactInverse()
4408 int IEEEFloat::getExactLog2Abs() const { in getExactLog2Abs()
4437 bool IEEEFloat::isSignaling() const { in isSignaling()
4453 IEEEFloat::opStatus IEEEFloat::next(bool nextDown) { in next()
4581 APFloatBase::ExponentType IEEEFloat::exponentNaN() const { in exponentNaN()
4585 APFloatBase::ExponentType IEEEFloat::exponentInf() const { in exponentInf()
4589 APFloatBase::ExponentType IEEEFloat::exponentZero() const { in exponentZero()
4593 void IEEEFloat::makeInf(bool Negative) { in makeInf()
4608 void IEEEFloat::makeZero(bool Negative) { in makeZero()
4619 void IEEEFloat::makeQuiet() { in makeQuiet()
4625 int ilogb(const IEEEFloat &Arg) { in ilogb()
4627 return IEEEFloat::IEK_NaN; in ilogb()
4629 return IEEEFloat::IEK_Zero; in ilogb()
4631 return IEEEFloat::IEK_Inf; in ilogb()
4635 IEEEFloat Normalized(Arg); in ilogb()
4639 Normalized.normalize(IEEEFloat::rmNearestTiesToEven, lfExactlyZero); in ilogb()
4643 IEEEFloat scalbn(IEEEFloat X, int Exp, IEEEFloat::roundingMode RoundingMode) { in scalbn()
4664 IEEEFloat frexp(const IEEEFloat &Val, int &Exp, IEEEFloat::roundingMode RM) { in frexp()
4668 if (Exp == IEEEFloat::IEK_NaN) { in frexp()
4669 IEEEFloat Quiet(Val); in frexp()
4674 if (Exp == IEEEFloat::IEK_Inf) in frexp()
4679 Exp = Exp == IEEEFloat::IEK_Zero ? 0 : Exp + 1; in frexp()
5269 APFloat::Storage::Storage(IEEEFloat F, const fltSemantics &Semantics) { in Storage()
5270 if (usesLayout<IEEEFloat>(Semantics)) { in Storage()
5271 new (&IEEE) IEEEFloat(std::move(F)); in Storage()
5290 if (APFloat::usesLayout<detail::IEEEFloat>(Arg.getSemantics())) in hash_value()
5323 if (usesLayout<IEEEFloat>(getSemantics()) && in convert()
5324 usesLayout<IEEEFloat>(ToSemantics)) in convert()
5326 if (usesLayout<IEEEFloat>(getSemantics()) && in convert()
5334 usesLayout<IEEEFloat>(ToSemantics)) { in convert()