Lines Matching refs:roundingMode
188 using roundingMode = llvm::RoundingMode; member
190 static constexpr roundingMode rmNearestTiesToEven =
192 static constexpr roundingMode rmTowardPositive = RoundingMode::TowardPositive;
193 static constexpr roundingMode rmTowardNegative = RoundingMode::TowardNegative;
194 static constexpr roundingMode rmTowardZero = RoundingMode::TowardZero;
195 static constexpr roundingMode rmNearestTiesToAway =
275 opStatus add(const IEEEFloat &, roundingMode);
276 opStatus subtract(const IEEEFloat &, roundingMode);
277 opStatus multiply(const IEEEFloat &, roundingMode);
278 opStatus divide(const IEEEFloat &, roundingMode);
283 opStatus fusedMultiplyAdd(const IEEEFloat &, const IEEEFloat &, roundingMode);
284 opStatus roundToIntegral(roundingMode);
300 opStatus convert(const fltSemantics &, roundingMode, bool *);
302 roundingMode, bool *) const;
303 opStatus convertFromAPInt(const APInt &, bool, roundingMode);
305 bool, roundingMode);
307 bool, roundingMode);
308 Expected<opStatus> convertFromString(StringRef, roundingMode);
331 bool upperCase, roundingMode) const;
454 friend IEEEFloat scalbn(IEEEFloat X, int Exp, roundingMode);
456 friend IEEEFloat frexp(const IEEEFloat &X, int &Exp, roundingMode);
527 opStatus normalize(roundingMode, lostFraction);
528 opStatus addOrSubtract(const IEEEFloat &, roundingMode, bool subtract);
529 opStatus handleOverflow(roundingMode);
530 bool roundAwayFromZero(roundingMode, lostFraction, unsigned int) const;
532 unsigned int, bool, roundingMode,
535 roundingMode);
536 Expected<opStatus> convertFromHexadecimalString(StringRef, roundingMode);
537 Expected<opStatus> convertFromDecimalString(StringRef, roundingMode);
539 roundingMode) const;
541 roundingMode);
595 IEEEFloat scalbn(IEEEFloat X, int Exp, IEEEFloat::roundingMode);
596 IEEEFloat frexp(const IEEEFloat &Val, int &Exp, IEEEFloat::roundingMode RM);
608 const APFloat &cc, roundingMode RM);
611 DoubleAPFloat &Out, roundingMode RM);
639 opStatus add(const DoubleAPFloat &RHS, roundingMode RM);
640 opStatus subtract(const DoubleAPFloat &RHS, roundingMode RM);
641 opStatus multiply(const DoubleAPFloat &RHS, roundingMode RM);
642 opStatus divide(const DoubleAPFloat &RHS, roundingMode RM);
646 const DoubleAPFloat &Addend, roundingMode RM);
647 opStatus roundToIntegral(roundingMode RM);
664 Expected<opStatus> convertFromString(StringRef, roundingMode);
668 unsigned int Width, bool IsSigned, roundingMode RM,
670 opStatus convertFromAPInt(const APInt &Input, bool IsSigned, roundingMode RM);
673 roundingMode RM);
676 roundingMode RM);
678 bool UpperCase, roundingMode RM) const;
691 friend DoubleAPFloat scalbn(DoubleAPFloat X, int Exp, roundingMode);
692 friend DoubleAPFloat frexp(const DoubleAPFloat &X, int &Exp, roundingMode);
973 opStatus add(const APFloat &RHS, roundingMode RM) { in add()
982 opStatus subtract(const APFloat &RHS, roundingMode RM) { in subtract()
991 opStatus multiply(const APFloat &RHS, roundingMode RM) { in multiply()
1000 opStatus divide(const APFloat &RHS, roundingMode RM) { in divide()
1028 roundingMode RM) { in fusedMultiplyAdd()
1040 opStatus roundToIntegral(roundingMode RM) { in roundToIntegral()
1106 opStatus convert(const fltSemantics &ToSemantics, roundingMode RM,
1109 unsigned int Width, bool IsSigned, roundingMode RM, in convertToInteger()
1114 opStatus convertToInteger(APSInt &Result, roundingMode RM,
1117 roundingMode RM) { in convertFromAPInt()
1122 roundingMode RM) { in convertFromSignExtendedInteger()
1128 roundingMode RM) { in convertFromZeroExtendedInteger()
1132 Expected<opStatus> convertFromString(StringRef, roundingMode);
1197 bool UpperCase, roundingMode RM) const { in convertToHexString()
1241 friend APFloat scalbn(APFloat X, int Exp, roundingMode RM);
1242 friend APFloat frexp(const APFloat &X, int &Exp, roundingMode RM);
1252 inline APFloat scalbn(APFloat X, int Exp, APFloat::roundingMode RM) { in scalbn()
1264 inline APFloat frexp(const APFloat &X, int &Exp, APFloat::roundingMode RM) { in frexp()