| /openbsd/src/gnu/llvm/llvm/lib/Target/NVPTX/ |
| D | NVPTXMCExpr.cpp | 35 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()
|
| D | NVPTXAsmPrinter.cpp | 1753 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/ |
| D | APFloat.cpp | 218 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 …]
|
| D | StringRef.cpp | 589 auto StatusOrErr = F.convertFromString(*this, APFloat::rmNearestTiesToEven); in getAsDouble()
|
| D | APFixedPoint.cpp | 491 APFloat::roundingMode RM = APFloat::rmNearestTiesToEven; in convertToFloat()
|
| /openbsd/src/gnu/llvm/lldb/source/Utility/ |
| D | Scalar.cpp | 201 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/ |
| D | Float2Int.cpp | 269 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/ |
| D | APFloat.h | 200 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/ |
| D | ExecutionEngine.cpp | 690 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/ |
| D | Utils.cpp | 490 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/ |
| D | ConstantFolding.cpp | 1738 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/ |
| D | Scalar.h | 68 llvm::APFloat::rmNearestTiesToEven, &ignore); in Scalar()
|
| /openbsd/src/gnu/llvm/llvm/lib/IR/ |
| D | ConstantFold.cpp | 438 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()
|
| D | Constants.cpp | 940 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/ |
| D | DumpDataExtractor.cpp | 736 llvm::APFloat::rmNearestTiesToEven); in DumpDataExtractor() 743 llvm::APFloat::rmNearestTiesToEven); in DumpDataExtractor()
|
| /openbsd/src/gnu/llvm/llvm/lib/Target/WebAssembly/MCTargetDesc/ |
| D | WebAssemblyInstPrinter.cpp | 285 Buf, /*HexDigits=*/0, /*UpperCase=*/false, APFloat::rmNearestTiesToEven); in toString()
|
| /openbsd/src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| D | AMDGPUInstCombineIntrinsic.cpp | 372 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()
|
| D | AMDGPUPrintfRuntimeBinding.cpp | 377 Val.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, in lowerPrintfForGpu()
|
| /openbsd/src/gnu/llvm/llvm/lib/Transforms/InstCombine/ |
| D | InstCombineCompares.cpp | 6429 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()
|
| D | InstCombineAddSub.cpp | 319 APFloat::rmNearestTiesToEven); in operator *=() 321 F0.multiply(That.getFpVal(), APFloat::rmNearestTiesToEven); in operator *=()
|
| /openbsd/src/gnu/llvm/llvm/lib/Transforms/Instrumentation/ |
| D | PGOInstrumentation.cpp | 1958 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/ |
| D | Constants.h | 323 FV.convert(Val.getSemantics(), APFloat::rmNearestTiesToEven, &ignored); in isExactlyValue()
|
| /openbsd/src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/ |
| D | SelectionDAG.cpp | 132 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/ |
| D | APValue.cpp | 623 V.convert(llvm::APFloat::IEEEdouble(), llvm::APFloat::rmNearestTiesToEven, in GetApproxValue()
|
| D | ExprConstant.cpp | 4576 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()
|