Home
last modified time | relevance | path

Searched refs:rmNearestTiesToEven (Results 1 – 25 of 47) sorted by relevance

12

/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXMCExpr.cpp35 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 DNVPTXAsmPrinter.cpp1688 APF.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, &ignored); in printFPConstant()
1692 APF.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, &ignored); in printFPConstant()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Support/
H A DAPFloat.cpp932 normalize(rmNearestTiesToEven, lfExactlyZero); in IEEEFloat()
1295 if (rounding_mode == rmNearestTiesToEven || in handleOverflow()
1330 case rmNearestTiesToEven: in roundAwayFromZero()
1912 fs = VEx.add(VEx, rmNearestTiesToEven); in remainder()
1916 fs = subtract(P, rmNearestTiesToEven); in remainder()
1922 fs = VEx.subtract(PEx, rmNearestTiesToEven); in remainder()
1929 fs = subtract(P, rmNearestTiesToEven); in remainder()
1951 V = scalbn(V, -1, rmNearestTiesToEven); in mod()
1954 fs = subtract(V, rmNearestTiesToEven); in mod()
3177 v.subtract(u, rmNearestTiesToEven); in convertPPCDoubleDoubleAPFloatToAPInt()
[all …]
H A DStringRef.cpp582 auto StatusOrErr = F.convertFromString(*this, APFloat::rmNearestTiesToEven); in getAsDouble()
H A DAPFixedPoint.cpp460 APFloat::roundingMode RM = APFloat::rmNearestTiesToEven; in convertToFloat()
/freebsd-13.1/contrib/llvm-project/lldb/source/Utility/
H A DScalar.cpp201 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()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DUtils.cpp433 APF.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &Ignored); in getAPFloatFromSize()
507 C1.add(C2, APFloat::rmNearestTiesToEven); in ConstantFoldFPBinOp()
510 C1.subtract(C2, APFloat::rmNearestTiesToEven); in ConstantFoldFPBinOp()
513 C1.multiply(C2, APFloat::rmNearestTiesToEven); in ConstantFoldFPBinOp()
516 C1.divide(C2, APFloat::rmNearestTiesToEven); in ConstantFoldFPBinOp()
683 APFloat::rmNearestTiesToEven); in ConstantFoldIntToFloat()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DFloat2Int.cpp328 auto Res = NewF.roundToIntegral(APFloat::rmNearestTiesToEven); in walkForwards()
338 APFloat::rmNearestTiesToEven, in walkForwards()
453 APFloat::rmNearestTiesToEven, in convert()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPFloat.h190 static constexpr roundingMode rmNearestTiesToEven = member
1060 (void)Result.add(RHS, rmNearestTiesToEven);
1068 (void)Result.subtract(RHS, rmNearestTiesToEven);
1076 (void)Result.multiply(RHS, rmNearestTiesToEven);
1084 (void)Result.divide(RHS, rmNearestTiesToEven);
1203 Tmp.convert(getSemantics(), APFloat::rmNearestTiesToEven, &ignored); in isExactlyValue()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp690 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()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp1700 APF.convert(Ty->getFltSemantics(), APFloat::rmNearestTiesToEven, &unused); in GetConstantFoldFPValue()
1830 : APFloat::rmNearestTiesToEven; in ConstantFoldSSEConvertToInt()
1848 APF.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, &unused); in getValueAsDouble()
1969 Val.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &lost); in ConstantFoldScalarCall1()
2011 U.roundToIntegral(APFloat::rmNearestTiesToEven); in ConstantFoldScalarCall1()
2021 U.roundToIntegral(APFloat::rmNearestTiesToEven); in ConstantFoldScalarCall1()
2265 U.roundToIntegral(APFloat::rmNearestTiesToEven); in ConstantFoldScalarCall1()
2327 Ty->getFltSemantics(), APFloat::rmNearestTiesToEven, &lost); in ConstantFoldScalarCall1()
2550 APFloat::rmNearestTiesToEven); in ConstantFoldScalarCall2()
2897 V.fusedMultiplyAdd(C2, C3, APFloat::rmNearestTiesToEven); in ConstantFoldScalarCall3()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstCombineIntrinsic.cpp211 Val.divide(ArgVal, APFloat::rmNearestTiesToEven); in instCombineIntrinsic()
240 frexp(C->getValueAPF(), Exp, APFloat::rmNearestTiesToEven); in instCombineIntrinsic()
839 ConstantFP::get(Ty, scalbn(*C, 0, APFloat::rmNearestTiesToEven)); in instCombineIntrinsic()
H A DAMDGPUPrintfRuntimeBinding.cpp404 Val.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, in lowerPrintfForGpu()
/freebsd-13.1/contrib/llvm-project/lldb/source/Core/
H A DDumpDataExtractor.cpp666 llvm::APFloat::rmNearestTiesToEven); in DumpDataExtractor()
673 llvm::APFloat::rmNearestTiesToEven); in DumpDataExtractor()
/freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Utility/
H A DScalar.h68 llvm::APFloat::rmNearestTiesToEven, &ignore); in Scalar()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DConstantFold.cpp447 APFloat::rmNearestTiesToEven, &ignored); in ConstantFoldCastInstruction()
484 APFloat::rmNearestTiesToEven); in ConstantFoldCastInstruction()
1195 (void)C3V.add(C2V, APFloat::rmNearestTiesToEven); in ConstantFoldBinaryInstruction()
1198 (void)C3V.subtract(C2V, APFloat::rmNearestTiesToEven); in ConstantFoldBinaryInstruction()
1201 (void)C3V.multiply(C2V, APFloat::rmNearestTiesToEven); in ConstantFoldBinaryInstruction()
1204 (void)C3V.divide(C2V, APFloat::rmNearestTiesToEven); in ConstantFoldBinaryInstruction()
H A DConstants.cpp954 APFloat::rmNearestTiesToEven, &ignored); in get()
1616 Val2.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
1622 Val2.convert(APFloat::BFloat(), APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
1628 Val2.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
1637 Val2.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/
H A DWebAssemblyInstPrinter.cpp285 Buf, /*HexDigits=*/0, /*UpperCase=*/false, APFloat::rmNearestTiesToEven); in toString()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp5936 RHS.convertToInteger(RHSCvt, APFloat::rmNearestTiesToEven, &IsExact); in foldFCmpIntToFPConst()
5943 RHSRoundInt.roundToIntegral(APFloat::rmNearestTiesToEven); in foldFCmpIntToFPConst()
6031 APFloat::rmNearestTiesToEven); in foldFCmpIntToFPConst()
6043 APFloat::rmNearestTiesToEven); in foldFCmpIntToFPConst()
6056 APFloat::rmNearestTiesToEven); in foldFCmpIntToFPConst()
6067 APFloat::rmNearestTiesToEven); in foldFCmpIntToFPConst()
6401 TruncC.convert(FPSem, APFloat::rmNearestTiesToEven, &Lossy); in visitFCmpInst()
H A DInstCombineAddSub.cpp319 APFloat::rmNearestTiesToEven); in operator *=()
321 F0.multiply(That.getFpVal(), APFloat::rmNearestTiesToEven); in operator *=()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp132 APFloat::rmNearestTiesToEven, in isValueValidForType()
1538 APF.convert(EVTToAPFloatSemantics(EltVT), APFloat::rmNearestTiesToEven, in getConstantFP()
4682 APFloat::rmNearestTiesToEven); in getNode()
4723 APFloat::rmNearestTiesToEven, &Ignored); in getNode()
4767 APFloat::rmNearestTiesToEven, &ignored); in getNode()
4796 APFloat::rmNearestTiesToEven, &Ignored); in getNode()
5457 C1.add(C2, APFloat::rmNearestTiesToEven); in foldConstantFPMath()
5460 C1.subtract(C2, APFloat::rmNearestTiesToEven); in foldConstantFPMath()
5463 C1.multiply(C2, APFloat::rmNearestTiesToEven); in foldConstantFPMath()
5466 C1.divide(C2, APFloat::rmNearestTiesToEven); in foldConstantFPMath()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp1693 SumCount.add(APFloat(CountValue * 1.0), APFloat::rmNearestTiesToEven); in fixFuncEntryCount()
1694 SumBFICount.add(APFloat(BFICountValue * 1.0), APFloat::rmNearestTiesToEven); in fixFuncEntryCount()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DAPValue.cpp623 V.convert(llvm::APFloat::IEEEdouble(), llvm::APFloat::rmNearestTiesToEven, in GetApproxValue()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstants.h323 FV.convert(Val.getSemantics(), APFloat::rmNearestTiesToEven, &ignored); in isExactlyValue()
/freebsd-13.1/contrib/llvm-project/clang/lib/Lex/
H A DLiteralSupport.cpp1092 Result.convertFromString(Str, APFloat::rmNearestTiesToEven); in GetFloatValue()

12