Home
last modified time | relevance | path

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

12

/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()
DNVPTXAsmPrinter.cpp1681 APF.convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven, &ignored); in printFPConstant()
1685 APF.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, &ignored); in printFPConstant()
/external/llvm/include/llvm/ADT/
DAPFloat.h156 rmNearestTiesToEven, enumerator
305 Result.add(RHS, rmNearestTiesToEven);
313 Result.subtract(RHS, rmNearestTiesToEven);
321 Result.multiply(RHS, rmNearestTiesToEven);
329 Result.divide(RHS, rmNearestTiesToEven);
/external/llvm/lib/Support/
DAPFloat.cpp798 normalize(rmNearestTiesToEven, lfExactlyZero); in APFloat()
814 convertFromString(text, rmNearestTiesToEven); in APFloat()
1200 if (rounding_mode == rmNearestTiesToEven || in handleOverflow()
1237 case rmNearestTiesToEven: in roundAwayFromZero()
1731 fs = V.divide(rhs, rmNearestTiesToEven); in remainder()
1739 rmNearestTiesToEven, &ignored); in remainder()
1744 rmNearestTiesToEven); in remainder()
1747 fs = V.multiply(rhs, rmNearestTiesToEven); in remainder()
1750 fs = subtract(V, rmNearestTiesToEven); in remainder()
1771 fs = V.divide(rhs, rmNearestTiesToEven); in mod()
[all …]
/external/llvm/unittests/ADT/
DAPFloatTest.cpp24 F.convertFromString(Str, llvm::APFloat::rmNearestTiesToEven); in convertToDoubleFromString()
458 APFloat::roundingMode rdmd = APFloat::rmNearestTiesToEven; in TEST()
464 f1.fusedMultiplyAdd(f2, f3, APFloat::rmNearestTiesToEven); in TEST()
475 f1.fusedMultiplyAdd(f2, f3, APFloat::rmNearestTiesToEven); in TEST()
485 f1.fusedMultiplyAdd(f2, f3, APFloat::rmNearestTiesToEven); in TEST()
506 f1.fusedMultiplyAdd(f2, f3, APFloat::rmNearestTiesToEven); in TEST()
515 f1.fusedMultiplyAdd(f2, f3, APFloat::rmNearestTiesToEven); in TEST()
526 M1.fusedMultiplyAdd(M1, A, APFloat::rmNearestTiesToEven); in TEST()
527 M1.convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven, &losesInfo); in TEST()
556 APFloat::roundingMode rdmd = APFloat::rmNearestTiesToEven; in TEST()
[all …]
/external/llvm/lib/Transforms/Scalar/
DFloat2Int.cpp328 auto Res = NewF.roundToIntegral(APFloat::rmNearestTiesToEven); in walkForwards()
338 APFloat::rmNearestTiesToEven, in walkForwards()
452 APFloat::rmNearestTiesToEven, in convert()
/external/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp676 APFloat::rmNearestTiesToEven); in getConstantValue()
691 APFloat::rmNearestTiesToEven); in getConstantValue()
829 apfLHS.add(APFloat(Sem, RHS.IntVal), APFloat::rmNearestTiesToEven); in getConstantValue()
834 APFloat::rmNearestTiesToEven); in getConstantValue()
839 APFloat::rmNearestTiesToEven); in getConstantValue()
844 APFloat::rmNearestTiesToEven); in getConstantValue()
849 APFloat::rmNearestTiesToEven); in getConstantValue()
/external/llvm/lib/Analysis/
DConstantFolding.cpp1303 APF.convert(APFloat::IEEEhalf, APFloat::rmNearestTiesToEven, &unused); in GetConstantFoldFPValue()
1377 : APFloat::rmNearestTiesToEven; in ConstantFoldConvertToInt()
1397 APF.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, &unused); in getValueAsDouble()
1410 Val.convert(APFloat::IEEEhalf, APFloat::rmNearestTiesToEven, &lost); in ConstantFoldScalarCall()
1548 Val.convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven, &lost); in ConstantFoldScalarCall()
1722 APFloat::rmNearestTiesToEven); in ConstantFoldScalarCall()
/external/llvm/lib/IR/
DConstantFold.cpp599 APFloat::rmNearestTiesToEven, &ignored); in ConstantFoldCastInstruction()
677 APFloat::rmNearestTiesToEven)) { in ConstantFoldCastInstruction()
1172 (void)C3V.add(C2V, APFloat::rmNearestTiesToEven); in ConstantFoldBinaryInstruction()
1175 (void)C3V.subtract(C2V, APFloat::rmNearestTiesToEven); in ConstantFoldBinaryInstruction()
1178 (void)C3V.multiply(C2V, APFloat::rmNearestTiesToEven); in ConstantFoldBinaryInstruction()
1181 (void)C3V.divide(C2V, APFloat::rmNearestTiesToEven); in ConstantFoldBinaryInstruction()
1184 (void)C3V.mod(C2V, APFloat::rmNearestTiesToEven); in ConstantFoldBinaryInstruction()
DConstants.cpp642 APFloat::rmNearestTiesToEven, &ignored); in get()
1306 Val2.convert(APFloat::IEEEhalf, APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
1312 Val2.convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
1320 Val2.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp254 enum APFloat::roundingMode RndMode = APFloat::rmNearestTiesToEven; in operator +=()
275 enum APFloat::roundingMode RndMode = APFloat::rmNearestTiesToEven; in operator -=()
320 APFloat::rmNearestTiesToEven); in operator *=()
322 F0.multiply(That.getFpVal(), APFloat::rmNearestTiesToEven); in operator *=()
DInstCombineCompares.cpp3730 RHS.convertToInteger(RHSCvt, APFloat::rmNearestTiesToEven, &IsExact); in FoldFCmp_IntToFP_Cst()
3737 RHSRoundInt.roundToIntegral(APFloat::rmNearestTiesToEven); in FoldFCmp_IntToFP_Cst()
3808 APFloat::rmNearestTiesToEven); in FoldFCmp_IntToFP_Cst()
3820 APFloat::rmNearestTiesToEven); in FoldFCmp_IntToFP_Cst()
3833 APFloat::rmNearestTiesToEven); in FoldFCmp_IntToFP_Cst()
3844 APFloat::rmNearestTiesToEven); in FoldFCmp_IntToFP_Cst()
4003 F.convert(*Sem, APFloat::rmNearestTiesToEven, &Lossy); in visitFCmpInst()
DInstCombineMulDivRem.cpp1191 (void)Reciprocal.divide(FpVal, APFloat::rmNearestTiesToEven); in CvtFDivConstToReciprocal()
DInstCombineCalls.cpp1076 APFloat::rmNearestTiesToEven); in visitCallInst()
DInstCombineCasts.cpp1148 (void)F.convert(Sem, APFloat::rmNearestTiesToEven, &losesInfo); in FitsInFPType()
/external/clang/lib/AST/
DExprConstant.cpp1522 APFloat::rmNearestTiesToEven, &ignored) in HandleFloatToFloatCast()
1545 APFloat::rmNearestTiesToEven) in HandleIntToFloatCast()
1750 LHS.multiply(RHS, APFloat::rmNearestTiesToEven); in handleFloatFloatBinOp()
1753 LHS.add(RHS, APFloat::rmNearestTiesToEven); in handleFloatFloatBinOp()
1756 LHS.subtract(RHS, APFloat::rmNearestTiesToEven); in handleFloatFloatBinOp()
1759 LHS.divide(RHS, APFloat::rmNearestTiesToEven); in handleFloatFloatBinOp()
2985 Value.add(One, APFloat::rmNearestTiesToEven); in found()
2987 Value.subtract(One, APFloat::rmNearestTiesToEven); in found()
8019 APFloat::rmNearestTiesToEven); in VisitBinaryOperator()
8024 APFloat::rmNearestTiesToEven); in VisitBinaryOperator()
[all …]
DAPValue.cpp266 V.convert(llvm::APFloat::IEEEdouble, llvm::APFloat::rmNearestTiesToEven, in GetApproxValue()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp86 APFloat::rmNearestTiesToEven, in isValueValidForType()
1251 apf.convert(EVTToAPFloatSemantics(EltVT), APFloat::rmNearestTiesToEven, in getConstantFP()
2757 APFloat::rmNearestTiesToEven); in getNode()
2818 APFloat::rmNearestTiesToEven, &ignored); in getNode()
3499 s = V1.add(V2, APFloat::rmNearestTiesToEven); in getNode()
3504 s = V1.subtract(V2, APFloat::rmNearestTiesToEven); in getNode()
3509 s = V1.multiply(V2, APFloat::rmNearestTiesToEven); in getNode()
3514 s = V1.divide(V2, APFloat::rmNearestTiesToEven); in getNode()
3521 s = V1.mod(V2, APFloat::rmNearestTiesToEven); in getNode()
3540 APFloat::rmNearestTiesToEven, &ignored); in getNode()
[all …]
/external/lldb/source/Core/
DDataExtractor.cpp1902 … ap_float.convertToHexString (float_cstr, 0, false, llvm::APFloat::rmNearestTiesToEven); in Dump()
1910 … ap_float.convertToHexString (float_cstr, 0, false, llvm::APFloat::rmNearestTiesToEven); in Dump()
/external/llvm/include/llvm/IR/
DConstants.h284 FV.convert(Val.getSemantics(), APFloat::rmNearestTiesToEven, &ignored); in isExactlyValue()
/external/clang/lib/Lex/
DLiteralSupport.cpp976 return Result.convertFromString(Str, APFloat::rmNearestTiesToEven); in GetFloatValue()
/external/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h1422 APFloat::rmNearestTiesToEven, &ignored);
/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp702 APF.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, in emitDebugValueComment()
/external/llvm/lib/Target/CppBackend/
DCPPBackend.cpp224 APF.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, &ignored); in printCFP()
/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp940 (void)F.convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven, in valueHasFloatPrecision()

12