Home
last modified time | relevance | path

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

12

/openbsd/src/gnu/llvm/llvm/lib/Target/NVPTX/
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()
DNVPTXAsmPrinter.cpp1753 APF.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, &ignored); in printFPConstant()
1757 APF.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, &ignored); in printFPConstant()
/openbsd/src/gnu/llvm/llvm/lib/Support/
DAPFloat.cpp218 constexpr RoundingMode APFloatBase::rmNearestTiesToEven; member in llvm::APFloatBase
1025 normalize(rmNearestTiesToEven, lfExactlyZero); in IEEEFloat()
1405 if (rounding_mode == rmNearestTiesToEven || in handleOverflow()
1445 case rmNearestTiesToEven: in roundAwayFromZero()
1979 if (P2.add(rhs, rmNearestTiesToEven) == opOK) { in remainder()
2030 fs = VEx.convert(extendedSemantics, rmNearestTiesToEven, &losesInfo); in remainder()
2033 fs = PEx.convert(extendedSemantics, rmNearestTiesToEven, &losesInfo); in remainder()
2038 fs = VEx.add(VEx, rmNearestTiesToEven); in remainder()
2042 fs = subtract(P, rmNearestTiesToEven); in remainder()
2048 fs = VEx.subtract(PEx, rmNearestTiesToEven); in remainder()
[all …]
DStringRef.cpp589 auto StatusOrErr = F.convertFromString(*this, APFloat::rmNearestTiesToEven); in getAsDouble()
DAPFixedPoint.cpp491 APFloat::roundingMode RM = APFloat::rmNearestTiesToEven; in convertToFloat()
/openbsd/src/gnu/llvm/lldb/source/Utility/
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()
/openbsd/src/gnu/llvm/llvm/lib/Transforms/Scalar/
DFloat2Int.cpp269 auto Res = NewF.roundToIntegral(APFloat::rmNearestTiesToEven); in calcRange()
277 APFloat::rmNearestTiesToEven, in calcRange()
446 APFloat::rmNearestTiesToEven, in convert()
/openbsd/src/gnu/llvm/llvm/include/llvm/ADT/
DAPFloat.h200 static constexpr roundingMode rmNearestTiesToEven = member
1072 (void)Result.add(RHS, rmNearestTiesToEven);
1080 (void)Result.subtract(RHS, rmNearestTiesToEven);
1088 (void)Result.multiply(RHS, rmNearestTiesToEven);
1096 (void)Result.divide(RHS, rmNearestTiesToEven);
1215 Tmp.convert(getSemantics(), APFloat::rmNearestTiesToEven, &ignored); in isExactlyValue()
/openbsd/src/gnu/llvm/llvm/lib/ExecutionEngine/
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()
/openbsd/src/gnu/llvm/llvm/lib/CodeGen/GlobalISel/
DUtils.cpp490 APF.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &Ignored); in getAPFloatFromSize()
574 C1.add(C2, APFloat::rmNearestTiesToEven); in ConstantFoldFPBinOp()
577 C1.subtract(C2, APFloat::rmNearestTiesToEven); in ConstantFoldFPBinOp()
580 C1.multiply(C2, APFloat::rmNearestTiesToEven); in ConstantFoldFPBinOp()
583 C1.divide(C2, APFloat::rmNearestTiesToEven); in ConstantFoldFPBinOp()
786 APFloat::rmNearestTiesToEven); in ConstantFoldIntToFloat()
/openbsd/src/gnu/llvm/llvm/lib/Analysis/
DConstantFolding.cpp1738 APF.convert(Ty->getFltSemantics(), APFloat::rmNearestTiesToEven, &unused); in GetConstantFoldFPValue()
1868 : APFloat::rmNearestTiesToEven; in ConstantFoldSSEConvertToInt()
1886 APF.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, &unused); in getValueAsDouble()
2046 Val.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &lost); in ConstantFoldScalarCall1()
2091 U.roundToIntegral(APFloat::rmNearestTiesToEven); in ConstantFoldScalarCall1()
2101 U.roundToIntegral(APFloat::rmNearestTiesToEven); in ConstantFoldScalarCall1()
2347 U.roundToIntegral(APFloat::rmNearestTiesToEven); in ConstantFoldScalarCall1()
2409 Ty->getFltSemantics(), APFloat::rmNearestTiesToEven, &lost); in ConstantFoldScalarCall1()
2678 APFloat::rmNearestTiesToEven); in ConstantFoldScalarCall2()
3027 V.fusedMultiplyAdd(C2, C3, APFloat::rmNearestTiesToEven); in ConstantFoldScalarCall3()
/openbsd/src/gnu/llvm/lldb/include/lldb/Utility/
DScalar.h68 llvm::APFloat::rmNearestTiesToEven, &ignore); in Scalar()
/openbsd/src/gnu/llvm/llvm/lib/IR/
DConstantFold.cpp438 Val.convert(DestTy->getFltSemantics(), APFloat::rmNearestTiesToEven, in ConstantFoldCastInstruction()
476 APFloat::rmNearestTiesToEven); in ConstantFoldCastInstruction()
1200 (void)C3V.add(C2V, APFloat::rmNearestTiesToEven); in ConstantFoldBinaryInstruction()
1203 (void)C3V.subtract(C2V, APFloat::rmNearestTiesToEven); in ConstantFoldBinaryInstruction()
1206 (void)C3V.multiply(C2V, APFloat::rmNearestTiesToEven); in ConstantFoldBinaryInstruction()
1209 (void)C3V.divide(C2V, APFloat::rmNearestTiesToEven); in ConstantFoldBinaryInstruction()
DConstants.cpp940 APFloat::rmNearestTiesToEven, &ignored); in get()
1546 Val2.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
1552 Val2.convert(APFloat::BFloat(), APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
1558 Val2.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
1567 Val2.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
/openbsd/src/gnu/llvm/lldb/source/Core/
DDumpDataExtractor.cpp736 llvm::APFloat::rmNearestTiesToEven); in DumpDataExtractor()
743 llvm::APFloat::rmNearestTiesToEven); in DumpDataExtractor()
/openbsd/src/gnu/llvm/llvm/lib/Target/WebAssembly/MCTargetDesc/
DWebAssemblyInstPrinter.cpp285 Buf, /*HexDigits=*/0, /*UpperCase=*/false, APFloat::rmNearestTiesToEven); in toString()
/openbsd/src/gnu/llvm/llvm/lib/Target/AMDGPU/
DAMDGPUInstCombineIntrinsic.cpp372 Val.divide(ArgVal, APFloat::rmNearestTiesToEven); in instCombineIntrinsic()
402 frexp(C->getValueAPF(), Exp, APFloat::rmNearestTiesToEven); in instCombineIntrinsic()
988 ConstantFP::get(Ty, scalbn(*C, 0, APFloat::rmNearestTiesToEven)); in instCombineIntrinsic()
DAMDGPUPrintfRuntimeBinding.cpp377 Val.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, in lowerPrintfForGpu()
/openbsd/src/gnu/llvm/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp6429 RHS.convertToInteger(RHSCvt, APFloat::rmNearestTiesToEven, &IsExact); in foldFCmpIntToFPConst()
6436 RHSRoundInt.roundToIntegral(APFloat::rmNearestTiesToEven); in foldFCmpIntToFPConst()
6524 APFloat::rmNearestTiesToEven); in foldFCmpIntToFPConst()
6536 APFloat::rmNearestTiesToEven); in foldFCmpIntToFPConst()
6549 APFloat::rmNearestTiesToEven); in foldFCmpIntToFPConst()
6560 APFloat::rmNearestTiesToEven); in foldFCmpIntToFPConst()
6971 TruncC.convert(FPSem, APFloat::rmNearestTiesToEven, &Lossy); in visitFCmpInst()
DInstCombineAddSub.cpp319 APFloat::rmNearestTiesToEven); in operator *=()
321 F0.multiply(That.getFpVal(), APFloat::rmNearestTiesToEven); in operator *=()
/openbsd/src/gnu/llvm/llvm/lib/Transforms/Instrumentation/
DPGOInstrumentation.cpp1958 SumCount.add(APFloat(CountValue * 1.0), APFloat::rmNearestTiesToEven); in fixFuncEntryCount()
1959 SumBFICount.add(APFloat(BFICountValue * 1.0), APFloat::rmNearestTiesToEven); in fixFuncEntryCount()
/openbsd/src/gnu/llvm/llvm/include/llvm/IR/
DConstants.h323 FV.convert(Val.getSemantics(), APFloat::rmNearestTiesToEven, &ignored); in isExactlyValue()
/openbsd/src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp132 APFloat::rmNearestTiesToEven, in isValueValidForType()
1700 APF.convert(EVTToAPFloatSemantics(EltVT), APFloat::rmNearestTiesToEven, in getConstantFP()
5205 APFloat::rmNearestTiesToEven); in getNode()
5248 APFloat::rmNearestTiesToEven, &Ignored); in getNode()
5292 APFloat::rmNearestTiesToEven, &ignored); in getNode()
5323 APFloat::rmNearestTiesToEven, &Ignored); in getNode()
6003 C1.add(C2, APFloat::rmNearestTiesToEven); in foldConstantFPMath()
6006 C1.subtract(C2, APFloat::rmNearestTiesToEven); in foldConstantFPMath()
6009 C1.multiply(C2, APFloat::rmNearestTiesToEven); in foldConstantFPMath()
6012 C1.divide(C2, APFloat::rmNearestTiesToEven); in foldConstantFPMath()
[all …]
/openbsd/src/gnu/llvm/clang/lib/AST/
DAPValue.cpp623 V.convert(llvm::APFloat::IEEEdouble(), llvm::APFloat::rmNearestTiesToEven, in GetApproxValue()
DExprConstant.cpp4576 Value.add(One, APFloat::rmNearestTiesToEven); in found()
4578 Value.subtract(One, APFloat::rmNearestTiesToEven); in found()
14540 APFloat::rmNearestTiesToEven); in VisitBinaryOperator()
14545 APFloat::rmNearestTiesToEven); in VisitBinaryOperator()
14554 APFloat::rmNearestTiesToEven); in VisitBinaryOperator()
14560 APFloat::rmNearestTiesToEven); in VisitBinaryOperator()
14673 C = scalbn(C, -DenomLogB, APFloat::rmNearestTiesToEven); in VisitBinaryOperator()
14674 D = scalbn(D, -DenomLogB, APFloat::rmNearestTiesToEven); in VisitBinaryOperator()
14678 APFloat::rmNearestTiesToEven); in VisitBinaryOperator()
14680 APFloat::rmNearestTiesToEven); in VisitBinaryOperator()

12