| /llvm-project-15.0.7/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXMCExpr.cpp | 35 APF.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &Ignored); in printImpl() 40 APF.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, &Ignored); in printImpl() 45 APF.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, &Ignored); in printImpl()
|
| H A D | NVPTXAsmPrinter.cpp | 1743 APF.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, &ignored); in printFPConstant() 1747 APF.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, &ignored); in printFPConstant()
|
| /llvm-project-15.0.7/llvm/unittests/ADT/ |
| H A D | APFloatTest.cpp | 1486 P.roundToIntegral(APFloat::rmNearestTiesToEven); in TEST() 1499 P.roundToIntegral(APFloat::rmNearestTiesToEven); in TEST() 1941 APFloat::rmNearestTiesToEven); in TEST() 2776 APFloat::rmNearestTiesToEven}, in TEST() 2787 APFloat::rmNearestTiesToEven}, in TEST() 2798 APFloat::rmNearestTiesToEven}, in TEST() 3058 APFloat::rmNearestTiesToEven}, in TEST() 3069 APFloat::rmNearestTiesToEven}, in TEST() 3080 APFloat::rmNearestTiesToEven}, in TEST() 4725 APFloat::rmNearestTiesToEven); in TEST() [all …]
|
| H A D | APFixedPointTest.cpp | 807 Val.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &Ignored); in TEST() 838 APRes.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &Ignored); in CheckFixedToHalfConversion()
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | APFloat.cpp | 932 normalize(rmNearestTiesToEven, lfExactlyZero); in IEEEFloat() 1312 if (rounding_mode == rmNearestTiesToEven || in handleOverflow() 1347 case rmNearestTiesToEven: in roundAwayFromZero() 1929 fs = VEx.add(VEx, rmNearestTiesToEven); in remainder() 1933 fs = subtract(P, rmNearestTiesToEven); in remainder() 1939 fs = VEx.subtract(PEx, rmNearestTiesToEven); in remainder() 1946 fs = subtract(P, rmNearestTiesToEven); in remainder() 1968 V = scalbn(V, -1, rmNearestTiesToEven); in mod() 1971 fs = subtract(V, rmNearestTiesToEven); in mod() 3201 v.subtract(u, rmNearestTiesToEven); in convertPPCDoubleDoubleAPFloatToAPInt() [all …]
|
| H A D | StringRef.cpp | 589 auto StatusOrErr = F.convertFromString(*this, APFloat::rmNearestTiesToEven); in getAsDouble()
|
| H A D | APFixedPoint.cpp | 460 APFloat::roundingMode RM = APFloat::rmNearestTiesToEven; in convertToFloat()
|
| /llvm-project-15.0.7/lldb/source/Utility/ |
| H A D | Scalar.cpp | 201 llvm::APFloat::rmNearestTiesToEven); in FloatPromote() 209 m_float.convert(semantics, llvm::APFloat::rmNearestTiesToEven, &ignore); in FloatPromote() 374 result.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, in Float() 394 result.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, in Double() 683 f.convertFromString(value_str, APFloat::rmNearestTiesToEven)) { in SetValueFromCString()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | Float2Int.cpp | 269 auto Res = NewF.roundToIntegral(APFloat::rmNearestTiesToEven); in calcRange() 277 APFloat::rmNearestTiesToEven, in calcRange() 446 APFloat::rmNearestTiesToEven, in convert()
|
| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | APFloat.h | 190 static constexpr roundingMode rmNearestTiesToEven = member 1058 (void)Result.add(RHS, rmNearestTiesToEven); 1066 (void)Result.subtract(RHS, rmNearestTiesToEven); 1074 (void)Result.multiply(RHS, rmNearestTiesToEven); 1082 (void)Result.divide(RHS, rmNearestTiesToEven); 1201 Tmp.convert(getSemantics(), APFloat::rmNearestTiesToEven, &ignored); in isExactlyValue()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | MagicNumbersCheck.h | 95 llvm::APFloat::rmNearestTiesToEven;
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/ |
| H A D | Utils.cpp | 488 APF.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &Ignored); in getAPFloatFromSize() 571 C1.add(C2, APFloat::rmNearestTiesToEven); in ConstantFoldFPBinOp() 574 C1.subtract(C2, APFloat::rmNearestTiesToEven); in ConstantFoldFPBinOp() 577 C1.multiply(C2, APFloat::rmNearestTiesToEven); in ConstantFoldFPBinOp() 580 C1.divide(C2, APFloat::rmNearestTiesToEven); in ConstantFoldFPBinOp() 769 APFloat::rmNearestTiesToEven); in ConstantFoldIntToFloat()
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/ |
| H A D | ExecutionEngine.cpp | 690 APFloat::rmNearestTiesToEven); in getConstantValue() 705 APFloat::rmNearestTiesToEven); in getConstantValue() 843 apfLHS.add(APFloat(Sem, RHS.IntVal), APFloat::rmNearestTiesToEven); in getConstantValue() 848 APFloat::rmNearestTiesToEven); in getConstantValue() 853 APFloat::rmNearestTiesToEven); in getConstantValue() 858 APFloat::rmNearestTiesToEven); in getConstantValue()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Arithmetic/IR/ |
| H A D | ArithmeticOps.cpp | 1070 APFloat::rmNearestTiesToEven); in fold() 1096 APFloat::rmNearestTiesToEven); in fold() 1563 APFloat::rmNearestTiesToEven); in matchAndRewrite() 1579 APFloat::rmNearestTiesToEven); in matchAndRewrite() 1596 APFloat::rmNearestTiesToEven); in matchAndRewrite() 1611 APFloat::rmNearestTiesToEven); in matchAndRewrite() 1640 apf.convertFromAPInt(rhsInt, !isUnsigned, APFloat::rmNearestTiesToEven); in matchAndRewrite()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | ConstantFolding.cpp | 1737 APF.convert(Ty->getFltSemantics(), APFloat::rmNearestTiesToEven, &unused); in GetConstantFoldFPValue() 1867 : APFloat::rmNearestTiesToEven; in ConstantFoldSSEConvertToInt() 1885 APF.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, &unused); in getValueAsDouble() 1999 Val.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &lost); in ConstantFoldScalarCall1() 2041 U.roundToIntegral(APFloat::rmNearestTiesToEven); in ConstantFoldScalarCall1() 2051 U.roundToIntegral(APFloat::rmNearestTiesToEven); in ConstantFoldScalarCall1() 2297 U.roundToIntegral(APFloat::rmNearestTiesToEven); in ConstantFoldScalarCall1() 2359 Ty->getFltSemantics(), APFloat::rmNearestTiesToEven, &lost); in ConstantFoldScalarCall1() 2603 APFloat::rmNearestTiesToEven); in ConstantFoldScalarCall2() 2952 V.fusedMultiplyAdd(C2, C3, APFloat::rmNearestTiesToEven); in ConstantFoldScalarCall3()
|
| /llvm-project-15.0.7/lldb/include/lldb/Utility/ |
| H A D | Scalar.h | 68 llvm::APFloat::rmNearestTiesToEven, &ignore); in Scalar()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | ConstantFold.cpp | 438 Val.convert(DestTy->getFltSemantics(), APFloat::rmNearestTiesToEven, in ConstantFoldCastInstruction() 476 APFloat::rmNearestTiesToEven); in ConstantFoldCastInstruction() 1199 (void)C3V.add(C2V, APFloat::rmNearestTiesToEven); in ConstantFoldBinaryInstruction() 1202 (void)C3V.subtract(C2V, APFloat::rmNearestTiesToEven); in ConstantFoldBinaryInstruction() 1205 (void)C3V.multiply(C2V, APFloat::rmNearestTiesToEven); in ConstantFoldBinaryInstruction() 1208 (void)C3V.divide(C2V, APFloat::rmNearestTiesToEven); in ConstantFoldBinaryInstruction()
|
| H A D | Constants.cpp | 932 APFloat::rmNearestTiesToEven, &ignored); in get() 1540 Val2.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType() 1546 Val2.convert(APFloat::BFloat(), APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType() 1552 Val2.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType() 1561 Val2.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
|
| /llvm-project-15.0.7/llvm/lib/Target/WebAssembly/MCTargetDesc/ |
| H A D | WebAssemblyInstPrinter.cpp | 285 Buf, /*HexDigits=*/0, /*UpperCase=*/false, APFloat::rmNearestTiesToEven); in toString()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUInstCombineIntrinsic.cpp | 370 Val.divide(ArgVal, APFloat::rmNearestTiesToEven); in instCombineIntrinsic() 399 frexp(C->getValueAPF(), Exp, APFloat::rmNearestTiesToEven); in instCombineIntrinsic() 1003 ConstantFP::get(Ty, scalbn(*C, 0, APFloat::rmNearestTiesToEven)); in instCombineIntrinsic()
|
| H A D | AMDGPUPrintfRuntimeBinding.cpp | 405 Val.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, in lowerPrintfForGpu()
|
| /llvm-project-15.0.7/lldb/source/Core/ |
| H A D | DumpDataExtractor.cpp | 766 llvm::APFloat::rmNearestTiesToEven); in DumpDataExtractor() 773 llvm::APFloat::rmNearestTiesToEven); in DumpDataExtractor()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
| H A D | NarrowingConversionsCheck.cpp | 494 llvm::APFloatBase::rmNearestTiesToEven, &UnusedLosesInfo); in handleFloatingCast()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/ |
| H A D | PGOInstrumentation.cpp | 1633 SumCount.add(APFloat(CountValue * 1.0), APFloat::rmNearestTiesToEven); in fixFuncEntryCount() 1634 SumBFICount.add(APFloat(BFICountValue * 1.0), APFloat::rmNearestTiesToEven); in fixFuncEntryCount()
|
| /llvm-project-15.0.7/mlir/lib/AsmParser/ |
| H A D | AttributeParser.cpp | 669 apVal.convert(eltTy.getFloatSemantics(), APFloat::rmNearestTiesToEven, in getFloatAttrElements()
|