|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/ADT/APFloat.h 1037 (void)Result.add(RHS, rmNearestTiesToEven);
1045 (void)Result.subtract(RHS, rmNearestTiesToEven);
1053 (void)Result.multiply(RHS, rmNearestTiesToEven);
1061 (void)Result.divide(RHS, rmNearestTiesToEven);
1148 Tmp.convert(getSemantics(), APFloat::rmNearestTiesToEven, &ignored);
include/llvm/IR/Constants.h 327 FV.convert(Val.getSemantics(), APFloat::rmNearestTiesToEven, &ignored);
lib/Analysis/ConstantFolding.cpp 1566 APF.convert(Ty->getFltSemantics(), APFloat::rmNearestTiesToEven, &unused);
1634 : APFloat::rmNearestTiesToEven;
1655 APF.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, &unused);
1736 Val.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &lost);
1748 U.roundToIntegral(APFloat::rmNearestTiesToEven);
1915 U.roundToIntegral(APFloat::rmNearestTiesToEven);
1977 Ty->getFltSemantics(), APFloat::rmNearestTiesToEven, &lost);
2293 APFloat::rmNearestTiesToEven);
lib/AsmParser/LLParser.cpp 5177 ID.APFloatVal.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven,
5180 ID.APFloatVal.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven,
lib/CodeGen/AsmPrinter/AsmPrinter.cpp 869 APF.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven,
lib/CodeGen/GlobalISel/LegalizerHelper.cpp 1693 Val.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven,
1697 Val.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven,
3926 TwoPExpFP.convertFromAPInt(TwoPExpInt, false, APFloat::rmNearestTiesToEven);
lib/CodeGen/GlobalISel/Utils.cpp 334 APF.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &Ignored);
lib/CodeGen/SelectionDAG/DAGCombiner.cpp12544 APFloat::opStatus st = Recip.divide(N1APF, APFloat::rmNearestTiesToEven);
lib/CodeGen/SelectionDAG/SelectionDAG.cpp 126 APFloat::rmNearestTiesToEven,
1349 APF.convert(EVTToAPFloatSemantics(EltVT), APFloat::rmNearestTiesToEven,
4307 APFloat::rmNearestTiesToEven);
4348 APFloat::rmNearestTiesToEven, &Ignored);
4387 APFloat::rmNearestTiesToEven, &ignored);
4414 APFloat::rmNearestTiesToEven, &Ignored);
4990 C1.add(C2, APFloat::rmNearestTiesToEven);
4993 C1.subtract(C2, APFloat::rmNearestTiesToEven);
4996 C1.multiply(C2, APFloat::rmNearestTiesToEven);
4999 C1.divide(C2, APFloat::rmNearestTiesToEven);
5015 (void) C1.convert(EVTToAPFloatSemantics(VT), APFloat::rmNearestTiesToEven,
5461 V1.fusedMultiplyAdd(V2, V3, APFloat::rmNearestTiesToEven);
lib/CodeGen/SelectionDAG/TargetLowering.cpp 5975 APF.convertFromAPInt(SignMask, false, APFloat::rmNearestTiesToEven)) {
lib/ExecutionEngine/ExecutionEngine.cpp 696 APFloat::rmNearestTiesToEven);
711 APFloat::rmNearestTiesToEven);
849 apfLHS.add(APFloat(Sem, RHS.IntVal), APFloat::rmNearestTiesToEven);
854 APFloat::rmNearestTiesToEven);
859 APFloat::rmNearestTiesToEven);
864 APFloat::rmNearestTiesToEven);
lib/IR/AsmWriter.cpp 1342 apf.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven,
lib/IR/ConstantFold.cpp 604 APFloat::rmNearestTiesToEven, &ignored);
688 APFloat::rmNearestTiesToEven);
1291 (void)C3V.add(C2V, APFloat::rmNearestTiesToEven);
1294 (void)C3V.subtract(C2V, APFloat::rmNearestTiesToEven);
1297 (void)C3V.multiply(C2V, APFloat::rmNearestTiesToEven);
1300 (void)C3V.divide(C2V, APFloat::rmNearestTiesToEven);
lib/IR/Constants.cpp 722 APFloat::rmNearestTiesToEven, &ignored);
1324 Val2.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &losesInfo);
1330 Val2.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, &losesInfo);
1338 Val2.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, &losesInfo);
lib/IR/Core.cpp 1361 APF.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, &APFLosesInfo);
lib/MC/MCParser/AsmParser.cpp 3141 } else if (Value.convertFromString(IDVal, APFloat::rmNearestTiesToEven) ==
lib/Support/APFloat.cpp 895 normalize(rmNearestTiesToEven, lfExactlyZero);
1252 if (rounding_mode == rmNearestTiesToEven ||
1287 case rmNearestTiesToEven:
1750 fs = V.divide(rhs, rmNearestTiesToEven);
1758 parts * integerPartWidth, true, rmNearestTiesToEven,
1766 rmNearestTiesToEven);
1769 fs = V.multiply(rhs, rmNearestTiesToEven);
1772 fs = subtract(V, rmNearestTiesToEven);
1789 IEEEFloat V = scalbn(rhs, ilogb(*this) - ilogb(rhs), rmNearestTiesToEven);
1791 V = scalbn(V, -1, rmNearestTiesToEven);
1794 fs = subtract(V, rmNearestTiesToEven);
1865 rmNearestTiesToEven);
2394 isNearest = (rounding_mode == rmNearestTiesToEven ||
2415 rmNearestTiesToEven);
2417 rmNearestTiesToEven);
2882 fs = extended.convert(extendedSemantics, rmNearestTiesToEven, &losesInfo);
2887 fs = u.convert(semIEEEdouble, rmNearestTiesToEven, &losesInfo);
2897 fs = u.convert(extendedSemantics, rmNearestTiesToEven, &losesInfo);
2902 v.subtract(u, rmNearestTiesToEven);
2903 fs = v.convert(semIEEEdouble, rmNearestTiesToEven, &losesInfo);
3119 fs = convert(semPPCDoubleDoubleLegacy, rmNearestTiesToEven, &losesInfo);
3126 fs = v.convert(semPPCDoubleDoubleLegacy, rmNearestTiesToEven, &losesInfo);
3130 add(v, rmNearestTiesToEven);
3662 if (reciprocal.divide(*this, rmNearestTiesToEven) != opOK)
3841 Normalized.normalize(IEEEFloat::rmNearestTiesToEven, lfExactlyZero);
4480 convertFromString(S, rmNearestTiesToEven);
lib/Support/StringRef.cpp 586 F.convertFromString(*this, APFloat::rmNearestTiesToEven);
lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp 418 Val.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven,
lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp 1509 APFloat::rmNearestTiesToEven,
1766 APFloat::rmNearestTiesToEven, &lost);
1859 APFloat::rmNearestTiesToEven, &Lost);
2364 auto roundMode = APFloat::rmNearestTiesToEven;
lib/Target/NVPTX/NVPTXAsmPrinter.cpp 1699 APF.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, &ignored);
1703 APF.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, &ignored);
lib/Target/NVPTX/NVPTXMCExpr.cpp 35 APF.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &Ignored);
40 APF.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, &Ignored);
45 APF.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, &Ignored);
lib/Target/WebAssembly/MCTargetDesc/WebAssemblyInstPrinter.cpp 201 Buf, /*HexDigits=*/0, /*UpperCase=*/false, APFloat::rmNearestTiesToEven);
lib/Target/X86/X86ISelLowering.cpp 640 TmpFlt2.convert(APFloat::x87DoubleExtended(), APFloat::rmNearestTiesToEven,
18967 Status = Thresh.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven,
18971 APFloat::rmNearestTiesToEven, &LosesInfo);
lib/Transforms/InstCombine/InstCombineAddSub.cpp 273 enum APFloat::roundingMode RndMode = APFloat::rmNearestTiesToEven;
318 APFloat::rmNearestTiesToEven);
320 F0.multiply(That.getFpVal(), APFloat::rmNearestTiesToEven);
lib/Transforms/InstCombine/InstCombineCalls.cpp 3335 APFloat::rmNearestTiesToEven);
3358 APFloat::rmNearestTiesToEven);
lib/Transforms/InstCombine/InstCombineCasts.cpp 1452 (void)F.convert(Sem, APFloat::rmNearestTiesToEven, &losesInfo);
lib/Transforms/InstCombine/InstCombineCompares.cpp 5622 RHS.convertToInteger(RHSCvt, APFloat::rmNearestTiesToEven, &IsExact);
5629 RHSRoundInt.roundToIntegral(APFloat::rmNearestTiesToEven);
5717 APFloat::rmNearestTiesToEven);
5729 APFloat::rmNearestTiesToEven);
5742 APFloat::rmNearestTiesToEven);
5753 APFloat::rmNearestTiesToEven);
6093 TruncC.convert(FPSem, APFloat::rmNearestTiesToEven, &Lossy);
lib/Transforms/Scalar/Float2Int.cpp 327 auto Res = NewF.roundToIntegral(APFloat::rmNearestTiesToEven);
337 APFloat::rmNearestTiesToEven,
452 APFloat::rmNearestTiesToEven,
lib/Transforms/Utils/SimplifyLibCalls.cpp 1243 (void)F.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven,
1710 if (Expo2.add(ExpoA, APFloat::rmNearestTiesToEven) != APFloat::opOK)
tools/clang/lib/AST/APValue.cpp 389 V.convert(llvm::APFloat::IEEEdouble(), llvm::APFloat::rmNearestTiesToEven,
tools/clang/lib/AST/Expr.cpp 997 V.convert(llvm::APFloat::IEEEdouble(), llvm::APFloat::rmNearestTiesToEven,
tools/clang/lib/AST/ExprConstant.cpp 2363 APFloat::rmNearestTiesToEven, &ignored);
2385 APFloat::rmNearestTiesToEven);
2594 LHS.multiply(RHS, APFloat::rmNearestTiesToEven);
2597 LHS.add(RHS, APFloat::rmNearestTiesToEven);
2600 LHS.subtract(RHS, APFloat::rmNearestTiesToEven);
2607 LHS.divide(RHS, APFloat::rmNearestTiesToEven);
4023 Value.add(One, APFloat::rmNearestTiesToEven);
4025 Value.subtract(One, APFloat::rmNearestTiesToEven);
12864 APFloat::rmNearestTiesToEven);
12869 APFloat::rmNearestTiesToEven);
12878 APFloat::rmNearestTiesToEven);
12884 APFloat::rmNearestTiesToEven);
12997 C = scalbn(C, -DenomLogB, APFloat::rmNearestTiesToEven);
12998 D = scalbn(D, -DenomLogB, APFloat::rmNearestTiesToEven);
13002 APFloat::rmNearestTiesToEven);
13004 APFloat::rmNearestTiesToEven);
tools/clang/lib/Lex/LiteralSupport.cpp 1054 return Result.convertFromString(Str, APFloat::rmNearestTiesToEven);
tools/clang/lib/Sema/SemaChecking.cpp10447 truncated.convert(Src, llvm::APFloat::rmNearestTiesToEven, &ignored);
10448 truncated.convert(Tgt, llvm::APFloat::rmNearestTiesToEven, &ignored);
11808 llvm::APFloat::rmNearestTiesToEven);
tools/clang/lib/Sema/SemaExpr.cpp 8904 Float.convertToInteger(ConvertBack, llvm::APFloat::rmNearestTiesToEven,
8976 llvm::APFloat::rmNearestTiesToEven, &Truncated);
tools/clang/lib/Sema/SemaOverload.cpp 356 llvm::APFloat::rmNearestTiesToEven);
397 llvm::APFloat::rmNearestTiesToEven, &ignored);
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/NarrowingConversionsCheck.cpp 340 llvm::APFloatBase::rmNearestTiesToEven, &UnusedLosesInfo);
tools/clang/tools/extra/clang-tidy/readability/MagicNumbersCheck.h 82 llvm::APFloat::rmNearestTiesToEven;
tools/clang/tools/libclang/CIndex.cpp 3836 llvm::APFloat::rmNearestTiesToEven, &ignored);
tools/lldb/source/Core/DumpDataExtractor.cpp 657 llvm::APFloat::rmNearestTiesToEven);
664 llvm::APFloat::rmNearestTiesToEven);
tools/lldb/source/Utility/Scalar.cpp 523 llvm::APFloat::rmNearestTiesToEven);
530 llvm::APFloat::rmNearestTiesToEven);
538 llvm::APFloat::rmNearestTiesToEven);
593 llvm::APFloat::rmNearestTiesToEven);
600 llvm::APFloat::rmNearestTiesToEven);
608 llvm::APFloat::rmNearestTiesToEven);
659 llvm::APFloat::rmNearestTiesToEven);
666 llvm::APFloat::rmNearestTiesToEven);
674 llvm::APFloat::rmNearestTiesToEven);
721 llvm::APFloat::rmNearestTiesToEven);
728 llvm::APFloat::rmNearestTiesToEven);
736 llvm::APFloat::rmNearestTiesToEven);
779 llvm::APFloat::rmNearestTiesToEven);
786 llvm::APFloat::rmNearestTiesToEven);
794 llvm::APFloat::rmNearestTiesToEven);
833 llvm::APFloat::rmNearestTiesToEven);
840 llvm::APFloat::rmNearestTiesToEven);
848 llvm::APFloat::rmNearestTiesToEven);
887 llvm::APFloat::rmNearestTiesToEven);
894 llvm::APFloat::rmNearestTiesToEven);
902 llvm::APFloat::rmNearestTiesToEven);
937 llvm::APFloat::rmNearestTiesToEven);
944 llvm::APFloat::rmNearestTiesToEven);
952 llvm::APFloat::rmNearestTiesToEven);
987 llvm::APFloat::rmNearestTiesToEven);
994 llvm::APFloat::rmNearestTiesToEven);
1002 llvm::APFloat::rmNearestTiesToEven);
1034 llvm::APFloat::rmNearestTiesToEven);
1041 llvm::APFloat::rmNearestTiesToEven);
1049 llvm::APFloat::rmNearestTiesToEven);
1088 llvm::APFloat::rmNearestTiesToEven, &ignore);
1119 llvm::APFloat::rmNearestTiesToEven, &ignore);
unittests/ADT/APFloatTest.cpp 25 F.convertFromString(Str, llvm::APFloat::rmNearestTiesToEven);
460 APFloat::roundingMode rdmd = APFloat::rmNearestTiesToEven;
466 f1.fusedMultiplyAdd(f2, f3, APFloat::rmNearestTiesToEven);
477 f1.fusedMultiplyAdd(f2, f3, APFloat::rmNearestTiesToEven);
487 f1.fusedMultiplyAdd(f2, f3, APFloat::rmNearestTiesToEven);
508 f1.fusedMultiplyAdd(f2, f3, APFloat::rmNearestTiesToEven);
517 f1.fusedMultiplyAdd(f2, f3, APFloat::rmNearestTiesToEven);
528 M1.fusedMultiplyAdd(M1, A, APFloat::rmNearestTiesToEven);
529 M1.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, &losesInfo);
588 APFloat::roundingMode rdmd = APFloat::rmNearestTiesToEven;
654 llvm::APFloat::rmNearestTiesToEven);
657 llvm::APFloat::rmNearestTiesToEven);
660 llvm::APFloat::rmNearestTiesToEven);
663 llvm::APFloat::rmNearestTiesToEven);
666 llvm::APFloat::rmNearestTiesToEven);
669 llvm::APFloat::rmNearestTiesToEven);
1357 P.roundToIntegral(APFloat::rmNearestTiesToEven);
1370 P.roundToIntegral(APFloat::rmNearestTiesToEven);
1383 P.roundToIntegral(APFloat::rmNearestTiesToEven);
1552 test.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, &losesInfo);
1557 test.add(APFloat(APFloat::x87DoubleExtended(), "1.0"), APFloat::rmNearestTiesToEven);
1558 test.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, &losesInfo);
1563 test.add(APFloat(APFloat::IEEEquad(), "1.0"), APFloat::rmNearestTiesToEven);
1564 test.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, &losesInfo);
1569 test.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, &losesInfo);
1575 test.convert(APFloat::x87DoubleExtended(), APFloat::rmNearestTiesToEven,
1582 test.convert(APFloat::x87DoubleExtended(), APFloat::rmNearestTiesToEven,
1588 test.convert(APFloat::x87DoubleExtended(), APFloat::rmNearestTiesToEven,
1594 test.convert(APFloat::x87DoubleExtended(), APFloat::rmNearestTiesToEven,
1635 APFloat::rmNearestTiesToEven);
1639 APFloat::rmNearestTiesToEven);
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);
3001 const APFloat::roundingMode RM = APFloat::rmNearestTiesToEven;
3171 const APFloat::roundingMode RM = APFloat::rmNearestTiesToEven;
3380 APFloat::fcZero, APFloat::rmNearestTiesToEven),
3384 APFloat::rmNearestTiesToEven),
3391 APFloat::fcNormal, APFloat::rmNearestTiesToEven),
3395 APFloat::fcInfinity, APFloat::rmNearestTiesToEven),
3398 APFloat::fcNaN, APFloat::rmNearestTiesToEven),
3437 APFloat::rmNearestTiesToEven),
3441 APFloat::rmNearestTiesToEven),
3445 0x3960000000000000ull, APFloat::rmNearestTiesToEven),
3449 APFloat::rmNearestTiesToEven),
3456 0x7c8ffffffffffffeull, APFloat::rmNearestTiesToEven),
3463 0x7c8ffffffffffffeull, APFloat::rmNearestTiesToEven),
3509 APFloat::rmNearestTiesToEven),
3513 APFloat::rmNearestTiesToEven),
3542 APFloat::fcNaN, APFloat::rmNearestTiesToEven),
3545 APFloat::rmNearestTiesToEven),
3548 APFloat::fcNaN, APFloat::rmNearestTiesToEven),
3551 APFloat::fcNaN, APFloat::rmNearestTiesToEven),
3554 APFloat::fcInfinity, APFloat::rmNearestTiesToEven),
3557 APFloat::rmNearestTiesToEven),
3560 APFloat::fcInfinity, APFloat::rmNearestTiesToEven),
3563 APFloat::rmNearestTiesToEven),
3566 APFloat::rmNearestTiesToEven),
3605 APFloat::rmNearestTiesToEven),
3609 0x0000000000000001ull, APFloat::rmNearestTiesToEven),
3614 APFloat::rmNearestTiesToEven),
3618 0xbff0000000000000ull, 0, APFloat::rmNearestTiesToEven),
3622 0x0000000000000001ull, APFloat::rmNearestTiesToEven),
3626 APFloat::rmNearestTiesToEven),
3630 0x7ff0000000000000ull, 0, APFloat::rmNearestTiesToEven),
3635 APFloat::rmNearestTiesToEven),
3640 APFloat::rmNearestTiesToEven),
3688 APFloat::rmNearestTiesToEven),
3784 APFloat::rmNearestTiesToEven);
3792 A.roundToIntegral(APFloat::rmNearestTiesToEven);
3798 A.roundToIntegral(APFloat::rmNearestTiesToEven);
3993 APFloat::rmNearestTiesToEven);
4008 APFloat::rmNearestTiesToEven);
unittests/CodeGen/GlobalISel/PatternMatchTest.cpp 188 APF16.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &Ignored);