Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/tools/lldb/source/Utility/
H A DScalar.cpp449 llvm::APFloat::rmNearestTiesToEven); in Promote()
456 llvm::APFloat::rmNearestTiesToEven); in Promote()
464 llvm::APFloat::rmNearestTiesToEven); in Promote()
513 llvm::APFloat::rmNearestTiesToEven); in Promote()
520 llvm::APFloat::rmNearestTiesToEven); in Promote()
528 llvm::APFloat::rmNearestTiesToEven); in Promote()
573 llvm::APFloat::rmNearestTiesToEven); in Promote()
580 llvm::APFloat::rmNearestTiesToEven); in Promote()
588 llvm::APFloat::rmNearestTiesToEven); in Promote()
629 llvm::APFloat::rmNearestTiesToEven); in Promote()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/NVPTX/
H A DNVPTXMCExpr.cpp36 APF.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &Ignored); in printImpl()
41 APF.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, &Ignored); in printImpl()
46 APF.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, &Ignored); in printImpl()
H A DNVPTXAsmPrinter.cpp1726 APF.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, &ignored); in printFPConstant()
1730 APF.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, &ignored); in printFPConstant()
/freebsd-12.1/contrib/llvm/lib/Support/
H A DAPFloat.cpp857 normalize(rmNearestTiesToEven, lfExactlyZero); in IEEEFloat()
1214 if (rounding_mode == rmNearestTiesToEven || in handleOverflow()
1249 case rmNearestTiesToEven: in roundAwayFromZero()
1712 fs = V.divide(rhs, rmNearestTiesToEven); in remainder()
1731 fs = V.multiply(rhs, rmNearestTiesToEven); in remainder()
1734 fs = subtract(V, rmNearestTiesToEven); in remainder()
1753 V = scalbn(V, -1, rmNearestTiesToEven); in mod()
1756 fs = subtract(V, rmNearestTiesToEven); in mod()
2864 v.subtract(u, rmNearestTiesToEven); in convertPPCDoubleDoubleAPFloatToAPInt()
3092 add(v, rmNearestTiesToEven); in initFromPPCDoubleDoubleAPInt()
[all …]
H A DStringRef.cpp587 F.convertFromString(*this, APFloat::rmNearestTiesToEven); in getAsDouble()
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DFloat2Int.cpp308 auto Res = NewF.roundToIntegral(APFloat::rmNearestTiesToEven); in walkForwards()
318 APFloat::rmNearestTiesToEven, in walkForwards()
433 APFloat::rmNearestTiesToEven, in convert()
/freebsd-12.1/contrib/llvm/include/llvm/ADT/
H A DAPFloat.h175 rmNearestTiesToEven, enumerator
1022 (void)Result.add(RHS, rmNearestTiesToEven);
1030 (void)Result.subtract(RHS, rmNearestTiesToEven);
1038 (void)Result.multiply(RHS, rmNearestTiesToEven);
1046 (void)Result.divide(RHS, rmNearestTiesToEven);
1133 Tmp.convert(getSemantics(), APFloat::rmNearestTiesToEven, &ignored); in isExactlyValue()
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp697 APFloat::rmNearestTiesToEven); in getConstantValue()
712 APFloat::rmNearestTiesToEven); in getConstantValue()
850 apfLHS.add(APFloat(Sem, RHS.IntVal), APFloat::rmNearestTiesToEven); in getConstantValue()
855 APFloat::rmNearestTiesToEven); in getConstantValue()
860 APFloat::rmNearestTiesToEven); in getConstantValue()
865 APFloat::rmNearestTiesToEven); in getConstantValue()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DConstantFolding.cpp1524 APF.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &unused); in GetConstantFoldFPValue()
1594 : APFloat::rmNearestTiesToEven; in ConstantFoldSSEConvertToInt()
1615 APF.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, &unused); in getValueAsDouble()
1692 Val.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &lost); in ConstantFoldScalarCall()
1726 V.roundToIntegral(APFloat::rmNearestTiesToEven); in ConstantFoldScalarCall()
1732 V.roundToIntegral(APFloat::rmNearestTiesToEven); in ConstantFoldScalarCall()
1889 Ty->getFltSemantics(), APFloat::rmNearestTiesToEven, &lost); in ConstantFoldScalarCall()
2171 APFloat::rmNearestTiesToEven); in ConstantFoldScalarCall()
/freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/InstPrinter/
H A DWebAssemblyInstPrinter.cpp211 buf, /*hexDigits=*/0, /*upperCase=*/false, APFloat::rmNearestTiesToEven); in toString()
/freebsd-12.1/contrib/llvm/lib/CodeGen/GlobalISel/
H A DUtils.cpp234 APF.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &Ignored); in getAPFloatFromSize()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Core/
H A DDumpDataExtractor.cpp676 llvm::APFloat::rmNearestTiesToEven); in DumpDataExtractor()
683 llvm::APFloat::rmNearestTiesToEven); in DumpDataExtractor()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DConstantFold.cpp602 APFloat::rmNearestTiesToEven, &ignored); in ConstantFoldCastInstruction()
686 APFloat::rmNearestTiesToEven); in ConstantFoldCastInstruction()
1204 (void)C3V.add(C2V, APFloat::rmNearestTiesToEven); in ConstantFoldBinaryInstruction()
1207 (void)C3V.subtract(C2V, APFloat::rmNearestTiesToEven); in ConstantFoldBinaryInstruction()
1210 (void)C3V.multiply(C2V, APFloat::rmNearestTiesToEven); in ConstantFoldBinaryInstruction()
1213 (void)C3V.divide(C2V, APFloat::rmNearestTiesToEven); in ConstantFoldBinaryInstruction()
H A DConstants.cpp691 APFloat::rmNearestTiesToEven, &ignored); in get()
1293 Val2.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
1299 Val2.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
1307 Val2.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineAddSub.cpp274 enum APFloat::roundingMode RndMode = APFloat::rmNearestTiesToEven; in operator +=()
319 APFloat::rmNearestTiesToEven); in operator *=()
321 F0.multiply(That.getFpVal(), APFloat::rmNearestTiesToEven); in operator *=()
H A DInstCombineCompares.cpp5065 RHS.convertToInteger(RHSCvt, APFloat::rmNearestTiesToEven, &IsExact); in foldFCmpIntToFPConst()
5072 RHSRoundInt.roundToIntegral(APFloat::rmNearestTiesToEven); in foldFCmpIntToFPConst()
5160 APFloat::rmNearestTiesToEven); in foldFCmpIntToFPConst()
5172 APFloat::rmNearestTiesToEven); in foldFCmpIntToFPConst()
5185 APFloat::rmNearestTiesToEven); in foldFCmpIntToFPConst()
5196 APFloat::rmNearestTiesToEven); in foldFCmpIntToFPConst()
5534 TruncC.convert(FPSem, APFloat::rmNearestTiesToEven, &Lossy); in visitFCmpInst()
H A DInstCombineCalls.cpp3352 APFloat::rmNearestTiesToEven); in visitCallInst()
3375 APFloat::rmNearestTiesToEven); in visitCallInst()
H A DInstCombineCasts.cpp1455 (void)F.convert(Sem, APFloat::rmNearestTiesToEven, &losesInfo); in fitsInFPType()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DExprConstant.cpp2095 APFloat::rmNearestTiesToEven, &ignored) in HandleFloatToFloatCast()
2119 APFloat::rmNearestTiesToEven) in HandleIntToFloatCast()
2328 LHS.multiply(RHS, APFloat::rmNearestTiesToEven); in handleFloatFloatBinOp()
2331 LHS.add(RHS, APFloat::rmNearestTiesToEven); in handleFloatFloatBinOp()
2334 LHS.subtract(RHS, APFloat::rmNearestTiesToEven); in handleFloatFloatBinOp()
2337 LHS.divide(RHS, APFloat::rmNearestTiesToEven); in handleFloatFloatBinOp()
3626 Value.add(One, APFloat::rmNearestTiesToEven); in found()
3628 Value.subtract(One, APFloat::rmNearestTiesToEven); in found()
10547 C = scalbn(C, -DenomLogB, APFloat::rmNearestTiesToEven); in VisitBinaryOperator()
10552 APFloat::rmNearestTiesToEven); in VisitBinaryOperator()
[all …]
H A DAPValue.cpp308 V.convert(llvm::APFloat::IEEEdouble(), llvm::APFloat::rmNearestTiesToEven, in GetApproxValue()
/freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp126 APFloat::rmNearestTiesToEven, in isValueValidForType()
4113 APFloat::rmNearestTiesToEven); in getNode()
4154 APFloat::rmNearestTiesToEven, &Ignored); in getNode()
4193 APFloat::rmNearestTiesToEven, &ignored); in getNode()
4220 APFloat::rmNearestTiesToEven, &Ignored); in getNode()
5111 s = V1.add(V2, APFloat::rmNearestTiesToEven); in getNode()
5116 s = V1.subtract(V2, APFloat::rmNearestTiesToEven); in getNode()
5121 s = V1.multiply(V2, APFloat::rmNearestTiesToEven); in getNode()
5126 s = V1.divide(V2, APFloat::rmNearestTiesToEven); in getNode()
5152 APFloat::rmNearestTiesToEven, &ignored); in getNode()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DConstants.h328 FV.convert(Val.getSemantics(), APFloat::rmNearestTiesToEven, &ignored); in isExactlyValue()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Lex/
H A DLiteralSupport.cpp1052 return Result.convertFromString(Str, APFloat::rmNearestTiesToEven); in GetFloatValue()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp1023 (void)F.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, in valueHasFloatPrecision()
1439 if (Expo2.add(ExpoA, APFloat::rmNearestTiesToEven) != APFloat::opOK) in optimizePow()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp1233 APFloat::rmNearestTiesToEven, in canLosslesslyConvertToFPType()
1454 APFloat::rmNearestTiesToEven, &lost); in addLiteralImmOperand()
1547 APFloat::rmNearestTiesToEven, &Lost); in addKImmFPOperands()

12