| /freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXMCExpr.cpp | 36 APF.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &Ignored); in printImpl() 41 APF.convert(APFloat::BFloat(), APFloat::rmNearestTiesToEven, &Ignored); in printImpl() 46 APF.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, &Ignored); in printImpl() 51 APF.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, &Ignored); in printImpl()
|
| H A D | NVPTXAsmPrinter.cpp | 1537 APF.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, &ignored); in printFPConstant() 1541 APF.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, &ignored); in printFPConstant()
|
| /freebsd/contrib/llvm-project/lldb/source/Utility/ |
| H A D | Scalar.cpp | 202 llvm::APFloat::rmNearestTiesToEven); in FloatPromote() 210 m_float.convert(semantics, llvm::APFloat::rmNearestTiesToEven, &ignore); in FloatPromote() 375 result.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, in Float() 395 result.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, in Double() 683 f.convertFromString(value_str, APFloat::rmNearestTiesToEven)) { in SetValueFromCString() 838 llvm::APFloat::rmNearestTiesToEven, &loses_info); in CreateAPFloatFromAPFloat() 846 llvm::APFloat::rmNearestTiesToEven, &loses_info); in CreateAPFloatFromAPFloat()
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | APFloat.cpp | 300 constexpr RoundingMode APFloatBase::rmNearestTiesToEven; member in llvm::APFloatBase 1202 normalize(rmNearestTiesToEven, lfExactlyZero); in IEEEFloat() 1596 if (rounding_mode == rmNearestTiesToEven || in handleOverflow() 1638 case rmNearestTiesToEven: in roundAwayFromZero() 2228 if (P2.add(rhs, rmNearestTiesToEven) == opOK) { in remainder() 2279 fs = VEx.convert(extendedSemantics, rmNearestTiesToEven, &losesInfo); in remainder() 2282 fs = PEx.convert(extendedSemantics, rmNearestTiesToEven, &losesInfo); in remainder() 2287 fs = VEx.add(VEx, rmNearestTiesToEven); in remainder() 2291 fs = subtract(P, rmNearestTiesToEven); in remainder() 2297 fs = VEx.subtract(PEx, rmNearestTiesToEven); in remainder() [all …]
|
| H A D | StringRef.cpp | 600 auto StatusOrErr = F.convertFromString(*this, APFloat::rmNearestTiesToEven); in getAsDouble()
|
| H A D | APFixedPoint.cpp | 514 APFloat::roundingMode RM = APFloat::rmNearestTiesToEven; in convertToFloat()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | Float2Int.cpp | 233 auto Res = NewF.roundToIntegral(APFloat::rmNearestTiesToEven); in calcRange() 241 APFloat::rmNearestTiesToEven, in calcRange() 417 APFloat::rmNearestTiesToEven, in convert()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | APFloat.h | 304 static constexpr roundingMode rmNearestTiesToEven = member 382 static constexpr roundingMode rmNearestTiesToEven = variable 383 APFloatBase::rmNearestTiesToEven; 1293 (void)Result.add(RHS, rmNearestTiesToEven); 1301 (void)Result.subtract(RHS, rmNearestTiesToEven); 1309 (void)Result.multiply(RHS, rmNearestTiesToEven); 1317 (void)Result.divide(RHS, rmNearestTiesToEven); 1453 Tmp.convert(getSemantics(), APFloat::rmNearestTiesToEven, &ignored); in isExactlyValue()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | ConstantFold.cpp | 203 APFloat::rmNearestTiesToEven, &ignored); in ConstantFoldCastInstruction() 229 APFloat::rmNearestTiesToEven); in ConstantFoldCastInstruction() 858 (void)C3V.add(C2V, APFloat::rmNearestTiesToEven); in ConstantFoldBinaryInstruction() 861 (void)C3V.subtract(C2V, APFloat::rmNearestTiesToEven); in ConstantFoldBinaryInstruction() 864 (void)C3V.multiply(C2V, APFloat::rmNearestTiesToEven); in ConstantFoldBinaryInstruction() 867 (void)C3V.divide(C2V, APFloat::rmNearestTiesToEven); in ConstantFoldBinaryInstruction()
|
| H A D | Constants.cpp | 991 APFloat::rmNearestTiesToEven, &ignored); in get() 1627 Val2.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType() 1633 Val2.convert(APFloat::BFloat(), APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType() 1639 Val2.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType() 1648 Val2.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/ |
| H A D | ExecutionEngine.cpp | 701 APFloat::rmNearestTiesToEven); in getConstantValue() 716 APFloat::rmNearestTiesToEven); in getConstantValue() 854 apfLHS.add(APFloat(Sem, RHS.IntVal), APFloat::rmNearestTiesToEven); in getConstantValue() 859 APFloat::rmNearestTiesToEven); in getConstantValue() 864 APFloat::rmNearestTiesToEven); in getConstantValue() 869 APFloat::rmNearestTiesToEven); in getConstantValue()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/ |
| H A D | RISCVBaseInfo.cpp | 205 APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, &LosesInfo); in getLoadFPImm()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | NVVMIntrinsicUtils.h | 218 return APFloat::rmNearestTiesToEven; in GetFPToIntegerRoundingMode()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ConstantFolding.cpp | 1932 APF.convert(Ty->getFltSemantics(), APFloat::rmNearestTiesToEven, &unused); in GetConstantFoldFPValue() 2090 : APFloat::rmNearestTiesToEven; in ConstantFoldSSEConvertToInt() 2108 APF.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, &unused); in getValueAsDouble() 2274 Val.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &lost); in ConstantFoldScalarCall1() 2334 U.roundToIntegral(APFloat::rmNearestTiesToEven); in ConstantFoldScalarCall1() 2344 U.roundToIntegral(APFloat::rmNearestTiesToEven); in ConstantFoldScalarCall1() 2710 U.roundToIntegral(APFloat::rmNearestTiesToEven); in ConstantFoldScalarCall1() 2772 Ty->getFltSemantics(), APFloat::rmNearestTiesToEven, &lost); in ConstantFoldScalarCall1() 3181 scalbn(Op1V, Op2C->getSExtValue(), APFloat::rmNearestTiesToEven)); in ConstantFoldIntrinsicCall2() 3206 Res.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, in ConstantFoldIntrinsicCall2() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | Utils.cpp | 660 APF.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &Ignored); in getAPFloatFromSize() 747 C1.add(C2, APFloat::rmNearestTiesToEven); in ConstantFoldFPBinOp() 750 C1.subtract(C2, APFloat::rmNearestTiesToEven); in ConstantFoldFPBinOp() 753 C1.multiply(C2, APFloat::rmNearestTiesToEven); in ConstantFoldFPBinOp() 756 C1.divide(C2, APFloat::rmNearestTiesToEven); in ConstantFoldFPBinOp() 990 APFloat::rmNearestTiesToEven); in ConstantFoldIntToFloat()
|
| /freebsd/contrib/llvm-project/lldb/include/lldb/Utility/ |
| H A D | Scalar.h | 68 llvm::APFloat::rmNearestTiesToEven, &ignore); in Scalar()
|
| /freebsd/contrib/llvm-project/lldb/source/Core/ |
| H A D | DumpDataExtractor.cpp | 742 llvm::APFloat::rmNearestTiesToEven); in DumpDataExtractor() 749 llvm::APFloat::rmNearestTiesToEven); in DumpDataExtractor()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/ |
| H A D | WebAssemblyInstPrinter.cpp | 308 Buf, /*HexDigits=*/0, /*UpperCase=*/false, APFloat::rmNearestTiesToEven); in toString()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPrintfRuntimeBinding.cpp | 340 Val.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, in lowerPrintfForGpu()
|
| H A D | AMDGPUCombinerHelper.cpp | 418 Val.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &LosesInfo); in isFPExtFromF16OrConst()
|
| H A D | AMDGPUInstCombineIntrinsic.cpp | 423 Val.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &LosesInfo); in matchFPExtFromF16() 660 Val.divide(ArgVal, APFloat::rmNearestTiesToEven); in instCombineIntrinsic() 780 frexp(C->getValueAPF(), Exp, APFloat::rmNearestTiesToEven); in instCombineIntrinsic()
|
| /freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/ |
| H A D | CIRGenBuilder.h | 162 fv.convert(fpVal.getSemantics(), llvm::APFloat::rmNearestTiesToEven, in isNullValue()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAG.cpp | 142 (void)Val2.convert(VT.getFltSemantics(), APFloat::rmNearestTiesToEven, in isValueValidForType() 1879 APF.convert(EltVT.getFltSemantics(), APFloat::rmNearestTiesToEven, in getConstantFP() 6858 APFloat::rmNearestTiesToEven); in FoldConstantArithmetic() 6870 (void)FPV.convert(VT.getFltSemantics(), APFloat::rmNearestTiesToEven, in FoldConstantArithmetic() 6923 (void)V.convert(VT.getFltSemantics(), APFloat::rmNearestTiesToEven, in FoldConstantArithmetic() 6945 APFloat::rmNearestTiesToEven, &Ignored); in FoldConstantArithmetic() 7230 C1.add(C2, APFloat::rmNearestTiesToEven); in foldConstantFPMath() 7233 C1.subtract(C2, APFloat::rmNearestTiesToEven); in foldConstantFPMath() 7236 C1.multiply(C2, APFloat::rmNearestTiesToEven); in foldConstantFPMath() 7239 C1.divide(C2, APFloat::rmNearestTiesToEven); in foldConstantFPMath() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | PGOInstrumentation.cpp | 2051 SumCount.add(APFloat(CountValue * 1.0), APFloat::rmNearestTiesToEven); in fixFuncEntryCount() 2052 SumBFICount.add(APFloat(BFICountValue * 1.0), APFloat::rmNearestTiesToEven); in fixFuncEntryCount()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | APValue.cpp | 635 V.convert(llvm::APFloat::IEEEdouble(), llvm::APFloat::rmNearestTiesToEven, in GetApproxValue()
|