Home
last modified time | relevance | path

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

123

/freebsd/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.cpp1788 APF.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, &ignored); in printFPConstant()
1792 APF.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, &ignored); in printFPConstant()
/freebsd/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()
839 llvm::APFloat::rmNearestTiesToEven, &loses_info); in CreateAPFloatFromAPFloat()
847 llvm::APFloat::rmNearestTiesToEven, &loses_info); in CreateAPFloatFromAPFloat()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DAPFloat.cpp299 constexpr RoundingMode APFloatBase::rmNearestTiesToEven; member in llvm::APFloatBase
1157 normalize(rmNearestTiesToEven, lfExactlyZero); in IEEEFloat()
1538 if (rounding_mode == rmNearestTiesToEven || in handleOverflow()
1580 case rmNearestTiesToEven: in roundAwayFromZero()
2139 if (P2.add(rhs, rmNearestTiesToEven) == opOK) { in remainder()
2190 fs = VEx.convert(extendedSemantics, rmNearestTiesToEven, &losesInfo); in remainder()
2193 fs = PEx.convert(extendedSemantics, rmNearestTiesToEven, &losesInfo); in remainder()
2198 fs = VEx.add(VEx, rmNearestTiesToEven); in remainder()
2202 fs = subtract(P, rmNearestTiesToEven); in remainder()
2208 fs = VEx.subtract(PEx, rmNearestTiesToEven); in remainder()
[all …]
H A DStringRef.cpp599 auto StatusOrErr = F.convertFromString(*this, APFloat::rmNearestTiesToEven); in getAsDouble()
H A DAPFixedPoint.cpp497 APFloat::roundingMode RM = APFloat::rmNearestTiesToEven; in convertToFloat()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DFloat2Int.cpp237 auto Res = NewF.roundToIntegral(APFloat::rmNearestTiesToEven); in calcRange()
245 APFloat::rmNearestTiesToEven, in calcRange()
421 APFloat::rmNearestTiesToEven, in convert()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPFloat.h250 static constexpr roundingMode rmNearestTiesToEven = member
1180 (void)Result.add(RHS, rmNearestTiesToEven);
1188 (void)Result.subtract(RHS, rmNearestTiesToEven);
1196 (void)Result.multiply(RHS, rmNearestTiesToEven);
1204 (void)Result.divide(RHS, rmNearestTiesToEven);
1340 Tmp.convert(getSemantics(), APFloat::rmNearestTiesToEven, &ignored); in isExactlyValue()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantFold.cpp200 Val.convert(DestTy->getFltSemantics(), APFloat::rmNearestTiesToEven, in ConstantFoldCastInstruction()
228 APFloat::rmNearestTiesToEven); in ConstantFoldCastInstruction()
879 (void)C3V.add(C2V, APFloat::rmNearestTiesToEven); in ConstantFoldBinaryInstruction()
882 (void)C3V.subtract(C2V, APFloat::rmNearestTiesToEven); in ConstantFoldBinaryInstruction()
885 (void)C3V.multiply(C2V, APFloat::rmNearestTiesToEven); in ConstantFoldBinaryInstruction()
888 (void)C3V.divide(C2V, APFloat::rmNearestTiesToEven); in ConstantFoldBinaryInstruction()
H A DConstants.cpp970 APFloat::rmNearestTiesToEven, &ignored); in get()
1601 Val2.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
1607 Val2.convert(APFloat::BFloat(), APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
1613 Val2.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
1622 Val2.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
/freebsd/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/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp1738 APF.convert(Ty->getFltSemantics(), APFloat::rmNearestTiesToEven, &unused); in GetConstantFoldFPValue()
1890 : APFloat::rmNearestTiesToEven; in ConstantFoldSSEConvertToInt()
1908 APF.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, &unused); in getValueAsDouble()
2080 Val.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &lost); in ConstantFoldScalarCall1()
2139 U.roundToIntegral(APFloat::rmNearestTiesToEven); in ConstantFoldScalarCall1()
2149 U.roundToIntegral(APFloat::rmNearestTiesToEven); in ConstantFoldScalarCall1()
2400 U.roundToIntegral(APFloat::rmNearestTiesToEven); in ConstantFoldScalarCall1()
2462 Ty->getFltSemantics(), APFloat::rmNearestTiesToEven, &lost); in ConstantFoldScalarCall1()
2740 scalbn(Op1V, Op2C->getSExtValue(), APFloat::rmNearestTiesToEven)); in ConstantFoldIntrinsicCall2()
2765 Res.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, in ConstantFoldIntrinsicCall2()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVBaseInfo.cpp178 APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, &LosesInfo); in getLoadFPImm()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DUtils.cpp654 APF.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &Ignored); in getAPFloatFromSize()
741 C1.add(C2, APFloat::rmNearestTiesToEven); in ConstantFoldFPBinOp()
744 C1.subtract(C2, APFloat::rmNearestTiesToEven); in ConstantFoldFPBinOp()
747 C1.multiply(C2, APFloat::rmNearestTiesToEven); in ConstantFoldFPBinOp()
750 C1.divide(C2, APFloat::rmNearestTiesToEven); in ConstantFoldFPBinOp()
983 APFloat::rmNearestTiesToEven); in ConstantFoldIntToFloat()
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/
H A DScalar.h68 llvm::APFloat::rmNearestTiesToEven, &ignore); in Scalar()
/freebsd/contrib/llvm-project/lldb/source/Core/
H A DDumpDataExtractor.cpp743 llvm::APFloat::rmNearestTiesToEven); in DumpDataExtractor()
750 llvm::APFloat::rmNearestTiesToEven); in DumpDataExtractor()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/
H A DWebAssemblyInstPrinter.cpp285 Buf, /*HexDigits=*/0, /*UpperCase=*/false, APFloat::rmNearestTiesToEven); in toString()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstCombineIntrinsic.cpp364 Val.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &LosesInfo); in matchFPExtFromF16()
463 Val.divide(ArgVal, APFloat::rmNearestTiesToEven); in instCombineIntrinsic()
580 frexp(C->getValueAPF(), Exp, APFloat::rmNearestTiesToEven); in instCombineIntrinsic()
H A DAMDGPUPrintfRuntimeBinding.cpp347 Val.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, in lowerPrintfForGpu()
H A DAMDGPUCombinerHelper.cpp411 Val.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &LosesInfo); in isFPExtFromF16OrConst()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp136 APFloat::rmNearestTiesToEven, in isValueValidForType()
1822 APF.convert(EVTToAPFloatSemantics(EltVT), APFloat::rmNearestTiesToEven, in getConstantFP()
6445 APFloat::rmNearestTiesToEven); in FoldConstantArithmetic()
6458 APFloat::rmNearestTiesToEven, &Ignored); in FoldConstantArithmetic()
6510 (void)V.convert(EVTToAPFloatSemantics(VT), APFloat::rmNearestTiesToEven, in FoldConstantArithmetic()
6532 APFloat::rmNearestTiesToEven, &Ignored); in FoldConstantArithmetic()
6776 C1.add(C2, APFloat::rmNearestTiesToEven); in foldConstantFPMath()
6779 C1.subtract(C2, APFloat::rmNearestTiesToEven); in foldConstantFPMath()
6782 C1.multiply(C2, APFloat::rmNearestTiesToEven); in foldConstantFPMath()
6785 C1.divide(C2, APFloat::rmNearestTiesToEven); in foldConstantFPMath()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp1949 SumCount.add(APFloat(CountValue * 1.0), APFloat::rmNearestTiesToEven); in fixFuncEntryCount()
1950 SumBFICount.add(APFloat(BFICountValue * 1.0), APFloat::rmNearestTiesToEven); in fixFuncEntryCount()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstants.h338 FV.convert(Val.getSemantics(), APFloat::rmNearestTiesToEven, &ignored); in isExactlyValue()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DAPValue.cpp625 V.convert(llvm::APFloat::IEEEdouble(), llvm::APFloat::rmNearestTiesToEven, in GetApproxValue()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp7623 RHS->convertToInteger(RHSCvt, APFloat::rmNearestTiesToEven, &IsExact); in foldFCmpIntToFPConst()
7630 RHSRoundInt.roundToIntegral(APFloat::rmNearestTiesToEven); in foldFCmpIntToFPConst()
7715 APFloat::rmNearestTiesToEven); in foldFCmpIntToFPConst()
7727 APFloat::rmNearestTiesToEven); in foldFCmpIntToFPConst()
7740 APFloat::rmNearestTiesToEven); in foldFCmpIntToFPConst()
7751 APFloat::rmNearestTiesToEven); in foldFCmpIntToFPConst()
8280 TruncC.convert(FPSem, APFloat::rmNearestTiesToEven, &Lossy); in visitFCmpInst()

123