|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/ADT/APFloat.h 269 opStatus add(const IEEEFloat &, roundingMode);
270 opStatus subtract(const IEEEFloat &, roundingMode);
271 opStatus multiply(const IEEEFloat &, roundingMode);
272 opStatus divide(const IEEEFloat &, roundingMode);
274 opStatus remainder(const IEEEFloat &);
276 opStatus mod(const IEEEFloat &);
277 opStatus fusedMultiplyAdd(const IEEEFloat &, const IEEEFloat &, roundingMode);
278 opStatus roundToIntegral(roundingMode);
280 opStatus next(bool nextDown);
294 opStatus convert(const fltSemantics &, roundingMode, bool *);
295 opStatus convertToInteger(MutableArrayRef<integerPart>, unsigned int, bool,
297 opStatus convertFromAPInt(const APInt &, bool, roundingMode);
298 opStatus convertFromSignExtendedInteger(const integerPart *, unsigned int,
300 opStatus convertFromZeroExtendedInteger(const integerPart *, unsigned int,
302 opStatus convertFromString(StringRef, roundingMode);
508 opStatus addOrSubtractSpecials(const IEEEFloat &, bool subtract);
509 opStatus divideSpecials(const IEEEFloat &);
510 opStatus multiplySpecials(const IEEEFloat &);
511 opStatus modSpecials(const IEEEFloat &);
519 opStatus normalize(roundingMode, lostFraction);
520 opStatus addOrSubtract(const IEEEFloat &, roundingMode, bool subtract);
521 opStatus handleOverflow(roundingMode);
523 opStatus convertToSignExtendedInteger(MutableArrayRef<integerPart>,
526 opStatus convertFromUnsignedParts(const integerPart *, unsigned int,
528 opStatus convertFromHexadecimalString(StringRef, roundingMode);
529 opStatus convertFromDecimalString(StringRef, roundingMode);
532 opStatus roundSignificandWithExponent(const integerPart *, unsigned int, int,
594 opStatus addImpl(const APFloat &a, const APFloat &aa, const APFloat &c,
597 opStatus addWithSpecial(const DoubleAPFloat &LHS, const DoubleAPFloat &RHS,
626 opStatus add(const DoubleAPFloat &RHS, roundingMode RM);
627 opStatus subtract(const DoubleAPFloat &RHS, roundingMode RM);
628 opStatus multiply(const DoubleAPFloat &RHS, roundingMode RM);
629 opStatus divide(const DoubleAPFloat &RHS, roundingMode RM);
630 opStatus remainder(const DoubleAPFloat &RHS);
631 opStatus mod(const DoubleAPFloat &RHS);
632 opStatus fusedMultiplyAdd(const DoubleAPFloat &Multiplicand,
634 opStatus roundToIntegral(roundingMode RM);
651 opStatus convertFromString(StringRef, roundingMode);
652 opStatus next(bool nextDown);
654 opStatus convertToInteger(MutableArrayRef<integerPart> Input,
657 opStatus convertFromAPInt(const APInt &Input, bool IsSigned, roundingMode RM);
658 opStatus convertFromSignExtendedInteger(const integerPart *Input,
661 opStatus convertFromZeroExtendedInteger(const integerPart *Input,
956 opStatus add(const APFloat &RHS, roundingMode RM) {
965 opStatus subtract(const APFloat &RHS, roundingMode RM) {
974 opStatus multiply(const APFloat &RHS, roundingMode RM) {
983 opStatus divide(const APFloat &RHS, roundingMode RM) {
992 opStatus remainder(const APFloat &RHS) {
1001 opStatus mod(const APFloat &RHS) {
1010 opStatus fusedMultiplyAdd(const APFloat &Multiplicand, const APFloat &Addend,
1023 opStatus roundToIntegral(roundingMode RM) {
1029 opStatus next(bool nextDown) {
1082 opStatus convert(const fltSemantics &ToSemantics, roundingMode RM,
1084 opStatus convertToInteger(MutableArrayRef<integerPart> Input,
1090 opStatus convertToInteger(APSInt &Result, roundingMode RM,
1092 opStatus convertFromAPInt(const APInt &Input, bool IsSigned,
1096 opStatus convertFromSignExtendedInteger(const integerPart *Input,
1102 opStatus convertFromZeroExtendedInteger(const integerPart *Input,
1108 opStatus convertFromString(StringRef, roundingMode);
lib/Analysis/ConstantFolding.cpp 1635 APFloat::opStatus status =
1976 APFloat::opStatus status = Val.convert(
2094 if (APFloat::opStatus::opOK == V.mod(Op2->getValueAPF()))
lib/CodeGen/SelectionDAG/DAGCombiner.cpp12544 APFloat::opStatus st = Recip.divide(N1APF, APFloat::rmNearestTiesToEven);
lib/CodeGen/SelectionDAG/SelectionDAG.cpp 4365 APFloat::opStatus fs = V.roundToIntegral(APFloat::rmTowardPositive);
4371 APFloat::opStatus fs = V.roundToIntegral(APFloat::rmTowardZero);
4377 APFloat::opStatus fs = V.roundToIntegral(APFloat::rmTowardNegative);
4395 APFloat::opStatus s =
lib/Support/APFloat.cpp 1032 opStatus status;
1250 IEEEFloat::opStatus IEEEFloat::handleOverflow(roundingMode rounding_mode) {
1309 IEEEFloat::opStatus IEEEFloat::normalize(roundingMode rounding_mode,
1415 IEEEFloat::opStatus IEEEFloat::addOrSubtractSpecials(const IEEEFloat &rhs,
1542 IEEEFloat::opStatus IEEEFloat::multiplySpecials(const IEEEFloat &rhs) {
1584 IEEEFloat::opStatus IEEEFloat::divideSpecials(const IEEEFloat &rhs) {
1625 IEEEFloat::opStatus IEEEFloat::modSpecials(const IEEEFloat &rhs) {
1667 IEEEFloat::opStatus IEEEFloat::addOrSubtract(const IEEEFloat &rhs,
1670 opStatus fs;
1697 IEEEFloat::opStatus IEEEFloat::add(const IEEEFloat &rhs,
1703 IEEEFloat::opStatus IEEEFloat::subtract(const IEEEFloat &rhs,
1709 IEEEFloat::opStatus IEEEFloat::multiply(const IEEEFloat &rhs,
1711 opStatus fs;
1727 IEEEFloat::opStatus IEEEFloat::divide(const IEEEFloat &rhs,
1729 opStatus fs;
1745 IEEEFloat::opStatus IEEEFloat::remainder(const IEEEFloat &rhs) {
1746 opStatus fs;
1782 IEEEFloat::opStatus IEEEFloat::mod(const IEEEFloat &rhs) {
1783 opStatus fs;
1803 IEEEFloat::opStatus IEEEFloat::fusedMultiplyAdd(const IEEEFloat &multiplicand,
1806 opStatus fs;
1846 IEEEFloat::opStatus IEEEFloat::roundToIntegral(roundingMode rounding_mode) {
1847 opStatus fs;
1966 IEEEFloat::opStatus IEEEFloat::convert(const fltSemantics &toSemantics,
1971 opStatus fs;
2072 IEEEFloat::opStatus IEEEFloat::convertToSignExtendedInteger(
2185 IEEEFloat::opStatus
2189 opStatus fs;
2218 IEEEFloat::opStatus IEEEFloat::convertFromUnsignedParts(
2246 IEEEFloat::opStatus IEEEFloat::convertFromAPInt(const APInt &Val, bool isSigned,
2263 IEEEFloat::opStatus
2267 opStatus status;
2289 IEEEFloat::opStatus
2305 IEEEFloat::opStatus
2385 IEEEFloat::opStatus
2403 opStatus sigStatus, powStatus;
2470 IEEEFloat::opStatus
2473 opStatus fs;
2611 IEEEFloat::opStatus IEEEFloat::convertFromString(StringRef str,
2870 opStatus fs;
3114 opStatus fs;
3692 IEEEFloat::opStatus IEEEFloat::next(bool nextDown) {
3698 opStatus result = opOK;
3949 APFloat::opStatus DoubleAPFloat::addImpl(const APFloat &a, const APFloat &aa,
4028 APFloat::opStatus DoubleAPFloat::addWithSpecial(const DoubleAPFloat &LHS,
4074 APFloat::opStatus DoubleAPFloat::add(const DoubleAPFloat &RHS,
4079 APFloat::opStatus DoubleAPFloat::subtract(const DoubleAPFloat &RHS,
4082 auto Ret = add(RHS, RM);
4087 APFloat::opStatus DoubleAPFloat::multiply(const DoubleAPFloat &RHS,
4173 APFloat::opStatus DoubleAPFloat::divide(const DoubleAPFloat &RHS,
4177 auto Ret =
4183 APFloat::opStatus DoubleAPFloat::remainder(const DoubleAPFloat &RHS) {
4186 auto Ret =
4192 APFloat::opStatus DoubleAPFloat::mod(const DoubleAPFloat &RHS) {
4195 auto Ret = Tmp.mod(APFloat(semPPCDoubleDoubleLegacy, RHS.bitcastToAPInt()));
4200 APFloat::opStatus
4206 auto Ret = Tmp.fusedMultiplyAdd(
4213 APFloat::opStatus DoubleAPFloat::roundToIntegral(APFloat::roundingMode RM) {
4216 auto Ret = Tmp.roundToIntegral(RM);
4318 APFloat::opStatus DoubleAPFloat::convertFromString(StringRef S,
4322 auto Ret = Tmp.convertFromString(S, RM);
4327 APFloat::opStatus DoubleAPFloat::next(bool nextDown) {
4330 auto Ret = Tmp.next(nextDown);
4335 APFloat::opStatus
4344 APFloat::opStatus DoubleAPFloat::convertFromAPInt(const APInt &Input,
4349 auto Ret = Tmp.convertFromAPInt(Input, IsSigned, RM);
4354 APFloat::opStatus
4360 auto Ret = Tmp.convertFromSignExtendedInteger(Input, InputSize, IsSigned, RM);
4365 APFloat::opStatus
4371 auto Ret = Tmp.convertFromZeroExtendedInteger(Input, InputSize, IsSigned, RM);
4466 APFloat::opStatus APFloat::convertFromString(StringRef Str, roundingMode RM) {
4483 APFloat::opStatus APFloat::convert(const fltSemantics &ToSemantics,
4495 auto Ret = U.IEEE.convert(semPPCDoubleDoubleLegacy, RM, losesInfo);
4501 auto Ret = getIEEE().convert(ToSemantics, RM, losesInfo);
4548 APFloat::opStatus APFloat::convertToInteger(APSInt &result,
4553 opStatus status = convertToInteger(parts, bitWidth, result.isSigned(),
lib/Support/StringRef.cpp 585 APFloat::opStatus Status =
lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp 2580 auto Status =
lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp 1508 APFloat::opStatus Status = FPLiteral.convert(*getFltSemantics(VT),
lib/Target/X86/X86ISelLowering.cpp18963 LLVM_ATTRIBUTE_UNUSED APFloat::opStatus Status = APFloat::opOK;
lib/Transforms/InstCombine/InstCombineCalls.cpp 3334 APFloat::opStatus Status = Val.divide(ArgVal,
lib/Transforms/Scalar/Float2Int.cpp 327 auto Res = NewF.roundToIntegral(APFloat::rmNearestTiesToEven);
tools/clang/include/clang/Lex/LiteralSupport.h 110 llvm::APFloat::opStatus GetFloatValue(llvm::APFloat &Result);
tools/clang/lib/Lex/LiteralSupport.cpp 1039 llvm::APFloat::opStatus
tools/clang/lib/Sema/SemaChecking.cpp11128 llvm::APFloat::opStatus Result = Value.convertToInteger(
11805 llvm::APFloat::opStatus ConversionStatus =
tools/clang/lib/Sema/SemaExpr.cpp 3338 APFloat::opStatus result = Literal.GetFloatValue(Val);
tools/clang/lib/Sema/SemaOverload.cpp 395 llvm::APFloat::opStatus ConvertStatus = FloatVal.convert(
unittests/ADT/APFloatTest.cpp 2010 APFloat::opStatus status = x.add(y, APFloat::rmNearestTiesToEven);
2298 APFloat::opStatus status = x.subtract(y, APFloat::rmNearestTiesToEven);
2587 APFloat::opStatus status = x.multiply(y, APFloat::rmNearestTiesToEven);
2876 APFloat::opStatus status = x.divide(y, APFloat::rmNearestTiesToEven);
utils/unittest/googletest/include/gtest/gtest-printers.h 223 void DefaultPrintNonContainerTo(const T& value, ::std::ostream* os) {
276 static ::std::string Format(const ToPrint& value) {
351 const T1& value, const T2& /* other_operand */) {
351 const T1& value, const T2& /* other_operand */) {
352 return FormatForComparison<T1, T2>::Format(value);
352 return FormatForComparison<T1, T2>::Format(value);
366 void UniversalPrint(const T& value, ::std::ostream* os);
373 const C& container, ::std::ostream* os) {
439 const T& value, ::std::ostream* os) {
455 void PrintTo(const T& value, ::std::ostream* os) {
478 DefaultPrintTo(IsContainerTest<T>(0), is_pointer<T>(), value, os);
699 static void Print(const T& value, ::std::ostream* os) {
784 static void Print(const T& value, ::std::ostream* os) {
856 typedef T T1;
983 internal::UniversalTersePrinter<T>::Print(value, &ss);
utils/unittest/googletest/include/gtest/gtest.h 1377 const T1& lhs, const T2& rhs) {
1377 const T1& lhs, const T2& rhs) {
1389 const T1& lhs,
1390 const T2& rhs) {
1419 const T1& lhs,
1420 const T2& rhs) {
utils/unittest/googletest/include/gtest/internal/custom/raw-ostream.h 35 auto printable(const T &V) -> decltype(StreamSwitch<T>::printable(V)) {
35 auto printable(const T &V) -> decltype(StreamSwitch<T>::printable(V)) {
37 return StreamSwitch<T>::printable(V);
54 const T& V;
55 friend std::ostream &operator<<(std::ostream &S, const RawStreamProxy<T> &V) {
69 static const RawStreamProxy<T> printable(const T &V) { return {V}; }
69 static const RawStreamProxy<T> printable(const T &V) { return {V}; }
utils/unittest/googletest/include/gtest/internal/gtest-internal.h 94 ::std::string PrintToString(const T& value);