Home
last modified time | relevance | path

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

123

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXMCExpr.cpp35 APF.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &Ignored); in printImpl()
40 APF.convert(APFloat::BFloat(), APFloat::rmNearestTiesToEven, &Ignored); in printImpl()
45 APF.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, &Ignored); in printImpl()
50 APF.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, &Ignored); in printImpl()
H A DNVPTXAsmPrinter.cpp1777 APF.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, &ignored); in printFPConstant()
1781 APF.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, &ignored); in printFPConstant()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A DAPFloat.cpp1128 normalize(rmNearestTiesToEven, lfExactlyZero); in IEEEFloat()
1508 if (rounding_mode == rmNearestTiesToEven || in handleOverflow()
1549 case rmNearestTiesToEven: in roundAwayFromZero()
2167 fs = VEx.add(VEx, rmNearestTiesToEven); in remainder()
2171 fs = subtract(P, rmNearestTiesToEven); in remainder()
2177 fs = VEx.subtract(PEx, rmNearestTiesToEven); in remainder()
2179 fs = VEx.subtract(PEx, rmNearestTiesToEven); in remainder()
2184 fs = subtract(P, rmNearestTiesToEven); in remainder()
2217 fs = subtract(V, rmNearestTiesToEven); in mod()
3484 v.subtract(u, rmNearestTiesToEven); in convertPPCDoubleDoubleAPFloatToAPInt()
[all …]
H A DStringRef.cpp599 auto StatusOrErr = F.convertFromString(*this, APFloat::rmNearestTiesToEven); in getAsDouble()
H A DAPFixedPoint.cpp491 APFloat::roundingMode RM = APFloat::rmNearestTiesToEven; in convertToFloat()
/freebsd-14.2/contrib/llvm-project/lldb/source/Utility/
H A DScalar.cpp202 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()
684 f.convertFromString(value_str, APFloat::rmNearestTiesToEven)) { in SetValueFromCString()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DFloat2Int.cpp237 auto Res = NewF.roundToIntegral(APFloat::rmNearestTiesToEven); in calcRange()
245 APFloat::rmNearestTiesToEven, in calcRange()
415 APFloat::rmNearestTiesToEven, in convert()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPFloat.h230 static constexpr roundingMode rmNearestTiesToEven = member
1130 (void)Result.add(RHS, rmNearestTiesToEven);
1138 (void)Result.subtract(RHS, rmNearestTiesToEven);
1146 (void)Result.multiply(RHS, rmNearestTiesToEven);
1154 (void)Result.divide(RHS, rmNearestTiesToEven);
1281 Tmp.convert(getSemantics(), APFloat::rmNearestTiesToEven, &ignored); in isExactlyValue()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DUtils.cpp641 APF.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &Ignored); in getAPFloatFromSize()
725 C1.add(C2, APFloat::rmNearestTiesToEven); in ConstantFoldFPBinOp()
728 C1.subtract(C2, APFloat::rmNearestTiesToEven); in ConstantFoldFPBinOp()
731 C1.multiply(C2, APFloat::rmNearestTiesToEven); in ConstantFoldFPBinOp()
734 C1.divide(C2, APFloat::rmNearestTiesToEven); in ConstantFoldFPBinOp()
960 APFloat::rmNearestTiesToEven); in ConstantFoldIntToFloat()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp702 APFloat::rmNearestTiesToEven); in getConstantValue()
717 APFloat::rmNearestTiesToEven); in getConstantValue()
855 apfLHS.add(APFloat(Sem, RHS.IntVal), APFloat::rmNearestTiesToEven); in getConstantValue()
860 APFloat::rmNearestTiesToEven); in getConstantValue()
865 APFloat::rmNearestTiesToEven); in getConstantValue()
870 APFloat::rmNearestTiesToEven); in getConstantValue()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DConstantFold.cpp260 Val.convert(DestTy->getFltSemantics(), APFloat::rmNearestTiesToEven, in ConstantFoldCastInstruction()
288 APFloat::rmNearestTiesToEven); in ConstantFoldCastInstruction()
962 (void)C3V.add(C2V, APFloat::rmNearestTiesToEven); in ConstantFoldBinaryInstruction()
965 (void)C3V.subtract(C2V, APFloat::rmNearestTiesToEven); in ConstantFoldBinaryInstruction()
968 (void)C3V.multiply(C2V, APFloat::rmNearestTiesToEven); in ConstantFoldBinaryInstruction()
971 (void)C3V.divide(C2V, APFloat::rmNearestTiesToEven); in ConstantFoldBinaryInstruction()
H A DConstants.cpp933 APFloat::rmNearestTiesToEven, &ignored); in get()
1530 Val2.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
1536 Val2.convert(APFloat::BFloat(), APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
1542 Val2.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
1551 Val2.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp1733 APF.convert(Ty->getFltSemantics(), APFloat::rmNearestTiesToEven, &unused); in GetConstantFoldFPValue()
1863 : APFloat::rmNearestTiesToEven; in ConstantFoldSSEConvertToInt()
1881 APF.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, &unused); in getValueAsDouble()
2053 Val.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &lost); in ConstantFoldScalarCall1()
2098 U.roundToIntegral(APFloat::rmNearestTiesToEven); in ConstantFoldScalarCall1()
2108 U.roundToIntegral(APFloat::rmNearestTiesToEven); in ConstantFoldScalarCall1()
2357 U.roundToIntegral(APFloat::rmNearestTiesToEven); in ConstantFoldScalarCall1()
2419 Ty->getFltSemantics(), APFloat::rmNearestTiesToEven, &lost); in ConstantFoldScalarCall1()
2681 scalbn(Op1V, Op2C->getSExtValue(), APFloat::rmNearestTiesToEven)); in ConstantFoldScalarCall2()
3068 V.fusedMultiplyAdd(C2, C3, APFloat::rmNearestTiesToEven); in ConstantFoldScalarCall3()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVBaseInfo.cpp266 APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, &LosesInfo); in getLoadFPImm()
/freebsd-14.2/contrib/llvm-project/lldb/include/lldb/Utility/
H A DScalar.h68 llvm::APFloat::rmNearestTiesToEven, &ignore); in Scalar()
/freebsd-14.2/contrib/llvm-project/lldb/source/Core/
H A DDumpDataExtractor.cpp743 llvm::APFloat::rmNearestTiesToEven); in DumpDataExtractor()
750 llvm::APFloat::rmNearestTiesToEven); in DumpDataExtractor()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/
H A DWebAssemblyInstPrinter.cpp285 Buf, /*HexDigits=*/0, /*UpperCase=*/false, APFloat::rmNearestTiesToEven); in toString()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstCombineIntrinsic.cpp368 Val.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &LosesInfo); in matchFPExtFromF16()
467 Val.divide(ArgVal, APFloat::rmNearestTiesToEven); in instCombineIntrinsic()
584 frexp(C->getValueAPF(), Exp, APFloat::rmNearestTiesToEven); in instCombineIntrinsic()
H A DAMDGPUPrintfRuntimeBinding.cpp344 Val.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, in lowerPrintfForGpu()
H A DAMDGPUCombinerHelper.cpp411 Val.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &LosesInfo); in isFPExtFromF16OrConst()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp134 APFloat::rmNearestTiesToEven, in isValueValidForType()
6123 APFloat::rmNearestTiesToEven); in FoldConstantArithmetic()
6136 APFloat::rmNearestTiesToEven, &Ignored); in FoldConstantArithmetic()
6210 APFloat::rmNearestTiesToEven, &Ignored); in FoldConstantArithmetic()
6447 C1.add(C2, APFloat::rmNearestTiesToEven); in foldConstantFPMath()
6450 C1.subtract(C2, APFloat::rmNearestTiesToEven); in foldConstantFPMath()
6453 C1.multiply(C2, APFloat::rmNearestTiesToEven); in foldConstantFPMath()
6456 C1.divide(C2, APFloat::rmNearestTiesToEven); in foldConstantFPMath()
7088 V1.multiply(V2, APFloat::rmNearestTiesToEven); in getNode()
7089 V1.add(V3, APFloat::rmNearestTiesToEven); in getNode()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp1855 SumCount.add(APFloat(CountValue * 1.0), APFloat::rmNearestTiesToEven); in fixFuncEntryCount()
1856 SumBFICount.add(APFloat(BFICountValue * 1.0), APFloat::rmNearestTiesToEven); in fixFuncEntryCount()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstants.h322 FV.convert(Val.getSemantics(), APFloat::rmNearestTiesToEven, &ignored); in isExactlyValue()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DAPValue.cpp625 V.convert(llvm::APFloat::IEEEdouble(), llvm::APFloat::rmNearestTiesToEven, in GetApproxValue()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp7251 RHS.convertToInteger(RHSCvt, APFloat::rmNearestTiesToEven, &IsExact); in foldFCmpIntToFPConst()
7258 RHSRoundInt.roundToIntegral(APFloat::rmNearestTiesToEven); in foldFCmpIntToFPConst()
7346 APFloat::rmNearestTiesToEven); in foldFCmpIntToFPConst()
7358 APFloat::rmNearestTiesToEven); in foldFCmpIntToFPConst()
7371 APFloat::rmNearestTiesToEven); in foldFCmpIntToFPConst()
7382 APFloat::rmNearestTiesToEven); in foldFCmpIntToFPConst()
7788 TruncC.convert(FPSem, APFloat::rmNearestTiesToEven, &Lossy); in visitFCmpInst()

123