Home
last modified time | relevance | path

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

123

/external/llvm/include/llvm/ADT/
DAPFloat.h161 rmNearestTiesToEven, enumerator
314 Result.add(RHS, rmNearestTiesToEven);
322 Result.subtract(RHS, rmNearestTiesToEven);
330 Result.multiply(RHS, rmNearestTiesToEven);
338 Result.divide(RHS, rmNearestTiesToEven);
/external/llvm/lib/Support/
DAPFloat.cpp807 normalize(rmNearestTiesToEven, lfExactlyZero); in APFloat()
823 convertFromString(text, rmNearestTiesToEven); in APFloat()
1224 if (rounding_mode == rmNearestTiesToEven || in handleOverflow()
1261 case rmNearestTiesToEven: in roundAwayFromZero()
1755 fs = V.divide(rhs, rmNearestTiesToEven); in remainder()
1763 rmNearestTiesToEven, &ignored); in remainder()
1768 rmNearestTiesToEven); in remainder()
1771 fs = V.multiply(rhs, rmNearestTiesToEven); in remainder()
1774 fs = subtract(V, rmNearestTiesToEven); in remainder()
1795 fs = V.divide(rhs, rmNearestTiesToEven); in mod()
[all …]
/external/llvm/lib/Target/NVPTX/
DNVPTXMCExpr.cpp33 APF.convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven, &Ignored); in printImpl()
38 APF.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, &Ignored); in printImpl()
/external/llvm/unittests/ADT/
DAPFloatTest.cpp23 F.convertFromString(Str, llvm::APFloat::rmNearestTiesToEven); in convertToDoubleFromString()
457 APFloat::roundingMode rdmd = APFloat::rmNearestTiesToEven; in TEST()
463 f1.fusedMultiplyAdd(f2, f3, APFloat::rmNearestTiesToEven); in TEST()
474 f1.fusedMultiplyAdd(f2, f3, APFloat::rmNearestTiesToEven); in TEST()
484 f1.fusedMultiplyAdd(f2, f3, APFloat::rmNearestTiesToEven); in TEST()
505 f1.fusedMultiplyAdd(f2, f3, APFloat::rmNearestTiesToEven); in TEST()
514 f1.fusedMultiplyAdd(f2, f3, APFloat::rmNearestTiesToEven); in TEST()
525 M1.fusedMultiplyAdd(M1, A, APFloat::rmNearestTiesToEven); in TEST()
526 M1.convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven, &losesInfo); in TEST()
555 APFloat::roundingMode rdmd = APFloat::rmNearestTiesToEven; in TEST()
[all …]
/external/swiftshader/third_party/LLVM/lib/Support/
DAPFloat.cpp737 normalize(rmNearestTiesToEven, lfExactlyZero); in APFloat()
771 convertFromString(text, rmNearestTiesToEven); in APFloat()
1119 if (rounding_mode == rmNearestTiesToEven || in handleOverflow()
1159 case rmNearestTiesToEven: in roundAwayFromZero()
1652 fs = V.divide(rhs, rmNearestTiesToEven); in remainder()
1660 rmNearestTiesToEven, &ignored); in remainder()
1665 rmNearestTiesToEven); in remainder()
1668 fs = V.multiply(rhs, rmNearestTiesToEven); in remainder()
1671 fs = subtract(V, rmNearestTiesToEven); in remainder()
1693 fs = V.divide(rhs, rmNearestTiesToEven); in mod()
[all …]
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/
DExecutionEngine.cpp596 APFloat::rmNearestTiesToEven); in getConstantValue()
611 APFloat::rmNearestTiesToEven); in getConstantValue()
746 apfLHS.add(APFloat(RHS.IntVal), APFloat::rmNearestTiesToEven); in getConstantValue()
750 apfLHS.subtract(APFloat(RHS.IntVal), APFloat::rmNearestTiesToEven); in getConstantValue()
754 apfLHS.multiply(APFloat(RHS.IntVal), APFloat::rmNearestTiesToEven); in getConstantValue()
758 apfLHS.divide(APFloat(RHS.IntVal), APFloat::rmNearestTiesToEven); in getConstantValue()
762 apfLHS.mod(APFloat(RHS.IntVal), APFloat::rmNearestTiesToEven); in getConstantValue()
/external/llvm/lib/Transforms/Scalar/
DFloat2Int.cpp323 auto Res = NewF.roundToIntegral(APFloat::rmNearestTiesToEven); in walkForwards()
333 APFloat::rmNearestTiesToEven, in walkForwards()
447 APFloat::rmNearestTiesToEven, in convert()
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DAPFloat.h162 rmNearestTiesToEven, enumerator
262 Result.add(RHS, rmNearestTiesToEven);
270 Result.subtract(RHS, rmNearestTiesToEven);
278 Result.multiply(RHS, rmNearestTiesToEven);
286 Result.divide(RHS, rmNearestTiesToEven);
/external/llvm/lib/Analysis/
DConstantFolding.cpp1367 APF.convert(APFloat::IEEEhalf, APFloat::rmNearestTiesToEven, &unused); in GetConstantFoldFPValue()
1437 : APFloat::rmNearestTiesToEven; in ConstantFoldConvertToInt()
1457 APF.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, &unused); in getValueAsDouble()
1475 Val.convert(APFloat::IEEEhalf, APFloat::rmNearestTiesToEven, &lost); in ConstantFoldScalarCall()
1509 V.roundToIntegral(APFloat::rmNearestTiesToEven); in ConstantFoldScalarCall()
1515 V.roundToIntegral(APFloat::rmNearestTiesToEven); in ConstantFoldScalarCall()
1654 Ty->getFltSemantics(), APFloat::rmNearestTiesToEven, &lost); in ConstantFoldScalarCall()
1831 APFloat::rmNearestTiesToEven); in ConstantFoldScalarCall()
/external/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp694 APFloat::rmNearestTiesToEven); in getConstantValue()
709 APFloat::rmNearestTiesToEven); in getConstantValue()
847 apfLHS.add(APFloat(Sem, RHS.IntVal), APFloat::rmNearestTiesToEven); in getConstantValue()
852 APFloat::rmNearestTiesToEven); in getConstantValue()
857 APFloat::rmNearestTiesToEven); in getConstantValue()
862 APFloat::rmNearestTiesToEven); in getConstantValue()
/external/llvm/lib/Target/WebAssembly/InstPrinter/
DWebAssemblyInstPrinter.cpp130 buf, /*hexDigits=*/0, /*upperCase=*/false, APFloat::rmNearestTiesToEven); in toString()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DConstantFold.cpp579 APFloat::rmNearestTiesToEven, &ignored); in ConstantFoldCastInstruction()
651 APFloat::rmNearestTiesToEven); in ConstantFoldCastInstruction()
1255 (void)C3V.add(C2V, APFloat::rmNearestTiesToEven); in ConstantFoldBinaryInstruction()
1258 (void)C3V.subtract(C2V, APFloat::rmNearestTiesToEven); in ConstantFoldBinaryInstruction()
1261 (void)C3V.multiply(C2V, APFloat::rmNearestTiesToEven); in ConstantFoldBinaryInstruction()
1264 (void)C3V.divide(C2V, APFloat::rmNearestTiesToEven); in ConstantFoldBinaryInstruction()
1267 (void)C3V.mod(C2V, APFloat::rmNearestTiesToEven); in ConstantFoldBinaryInstruction()
DConstants.cpp491 APFloat::rmNearestTiesToEven, &ignored); in get()
943 Val2.convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
950 Val2.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DAPFloat.h151 rmNearestTiesToEven, enumerator
/external/llvm/lib/IR/
DConstantFold.cpp598 APFloat::rmNearestTiesToEven, &ignored); in ConstantFoldCastInstruction()
676 APFloat::rmNearestTiesToEven)) { in ConstantFoldCastInstruction()
1191 (void)C3V.add(C2V, APFloat::rmNearestTiesToEven); in ConstantFoldBinaryInstruction()
1194 (void)C3V.subtract(C2V, APFloat::rmNearestTiesToEven); in ConstantFoldBinaryInstruction()
1197 (void)C3V.multiply(C2V, APFloat::rmNearestTiesToEven); in ConstantFoldBinaryInstruction()
1200 (void)C3V.divide(C2V, APFloat::rmNearestTiesToEven); in ConstantFoldBinaryInstruction()
DConstants.cpp631 APFloat::rmNearestTiesToEven, &ignored); in get()
1222 Val2.convert(APFloat::IEEEhalf, APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
1228 Val2.convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
1236 Val2.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DConstantFolding.cpp1159 : APFloat::rmNearestTiesToEven; in ConstantFoldConvertToInt()
1182 Val.convert(APFloat::IEEEhalf, APFloat::rmNearestTiesToEven, &lost); in ConstantFoldCall()
1289 Val.convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven, &lost); in ConstantFoldCall()
/external/clang/lib/AST/
DExprConstant.cpp1678 APFloat::rmNearestTiesToEven, &ignored) in HandleFloatToFloatCast()
1701 APFloat::rmNearestTiesToEven) in HandleIntToFloatCast()
1908 LHS.multiply(RHS, APFloat::rmNearestTiesToEven); in handleFloatFloatBinOp()
1911 LHS.add(RHS, APFloat::rmNearestTiesToEven); in handleFloatFloatBinOp()
1914 LHS.subtract(RHS, APFloat::rmNearestTiesToEven); in handleFloatFloatBinOp()
1917 LHS.divide(RHS, APFloat::rmNearestTiesToEven); in handleFloatFloatBinOp()
3174 Value.add(One, APFloat::rmNearestTiesToEven); in found()
3176 Value.subtract(One, APFloat::rmNearestTiesToEven); in found()
8679 APFloat::rmNearestTiesToEven); in VisitBinaryOperator()
8684 APFloat::rmNearestTiesToEven); in VisitBinaryOperator()
[all …]
DAPValue.cpp266 V.convert(llvm::APFloat::IEEEdouble, llvm::APFloat::rmNearestTiesToEven, in GetApproxValue()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp261 enum APFloat::roundingMode RndMode = APFloat::rmNearestTiesToEven; in operator +=()
306 APFloat::rmNearestTiesToEven); in operator *=()
308 F0.multiply(That.getFpVal(), APFloat::rmNearestTiesToEven); in operator *=()
DInstCombineCompares.cpp4316 RHS.convertToInteger(RHSCvt, APFloat::rmNearestTiesToEven, &IsExact); in FoldFCmp_IntToFP_Cst()
4323 RHSRoundInt.roundToIntegral(APFloat::rmNearestTiesToEven); in FoldFCmp_IntToFP_Cst()
4411 APFloat::rmNearestTiesToEven); in FoldFCmp_IntToFP_Cst()
4423 APFloat::rmNearestTiesToEven); in FoldFCmp_IntToFP_Cst()
4436 APFloat::rmNearestTiesToEven); in FoldFCmp_IntToFP_Cst()
4447 APFloat::rmNearestTiesToEven); in FoldFCmp_IntToFP_Cst()
4620 F.convert(*Sem, APFloat::rmNearestTiesToEven, &Lossy); in visitFCmpInst()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCompares.cpp2654 APFloat::rmNearestTiesToEven); in FoldFCmp_IntToFP_Cst()
2666 APFloat::rmNearestTiesToEven); in FoldFCmp_IntToFP_Cst()
2679 APFloat::rmNearestTiesToEven); in FoldFCmp_IntToFP_Cst()
2838 F.convert(*Sem, APFloat::rmNearestTiesToEven, &Lossy); in visitFCmpInst()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp100 (void) Val2.convert(*EVTToAPFloatSemantics(VT), APFloat::rmNearestTiesToEven, in isValueValidForType()
1031 apf.convert(*EVTToAPFloatSemantics(EltVT), APFloat::rmNearestTiesToEven, in getConstantFP()
2412 APFloat::rmNearestTiesToEven); in getNode()
2449 APFloat::rmNearestTiesToEven, &ignored); in getNode()
2978 s = V1.add(V2, APFloat::rmNearestTiesToEven); in getNode()
2983 s = V1.subtract(V2, APFloat::rmNearestTiesToEven); in getNode()
2988 s = V1.multiply(V2, APFloat::rmNearestTiesToEven); in getNode()
2993 s = V1.divide(V2, APFloat::rmNearestTiesToEven); in getNode()
2998 s = V1.mod(V2, APFloat::rmNearestTiesToEven); in getNode()
/external/swiftshader/third_party/LLVM/include/llvm/
DConstants.h285 FV.convert(Val.getSemantics(), APFloat::rmNearestTiesToEven, &ignored); in isExactlyValue()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp87 APFloat::rmNearestTiesToEven, in isValueValidForType()
1254 APF.convert(EVTToAPFloatSemantics(EltVT), APFloat::rmNearestTiesToEven, in getConstantFP()
2924 APFloat::rmNearestTiesToEven); in getNode()
2987 APFloat::rmNearestTiesToEven, &ignored); in getNode()
3790 s = V1.add(V2, APFloat::rmNearestTiesToEven); in getNode()
3795 s = V1.subtract(V2, APFloat::rmNearestTiesToEven); in getNode()
3800 s = V1.multiply(V2, APFloat::rmNearestTiesToEven); in getNode()
3805 s = V1.divide(V2, APFloat::rmNearestTiesToEven); in getNode()
3831 APFloat::rmNearestTiesToEven, &ignored); in getNode()
3948 V1.fusedMultiplyAdd(V2, V3, APFloat::rmNearestTiesToEven); in getNode()

123