Home
last modified time | relevance | path

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

12

/external/llvm/unittests/ADT/
DAPFloatTest.cpp23 F.convertFromString(Str, llvm::APFloat::rmNearestTiesToEven); in convertToDoubleFromString()
37 APFloat::roundingMode rdmd = APFloat::rmNearestTiesToEven; in TEST()
722 P.roundToIntegral(APFloat::rmNearestTiesToEven); in TEST()
735 P.roundToIntegral(APFloat::rmNearestTiesToEven); in TEST()
748 P.roundToIntegral(APFloat::rmNearestTiesToEven); in TEST()
777 test.convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven, &losesInfo); in TEST()
782 test.add(APFloat(APFloat::x87DoubleExtended, "1.0"), APFloat::rmNearestTiesToEven); in TEST()
783 test.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, &losesInfo); in TEST()
788 test.add(APFloat(APFloat::IEEEquad, "1.0"), APFloat::rmNearestTiesToEven); in TEST()
789 test.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, &losesInfo); in TEST()
[all …]
/external/llvm/lib/Support/
DAPFloat.cpp717 normalize(rmNearestTiesToEven, lfExactlyZero); in APFloat()
744 convertFromString(text, rmNearestTiesToEven); in APFloat()
1092 if (rounding_mode == rmNearestTiesToEven || in handleOverflow()
1129 case rmNearestTiesToEven: in roundAwayFromZero()
1618 fs = V.divide(rhs, rmNearestTiesToEven); in remainder()
1626 rmNearestTiesToEven, &ignored); in remainder()
1631 rmNearestTiesToEven); in remainder()
1634 fs = V.multiply(rhs, rmNearestTiesToEven); in remainder()
1637 fs = subtract(V, rmNearestTiesToEven); in remainder()
1658 fs = V.divide(rhs, rmNearestTiesToEven); in mod()
[all …]
/external/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp606 APFloat::rmNearestTiesToEven); in getConstantValue()
621 APFloat::rmNearestTiesToEven); in getConstantValue()
759 apfLHS.add(APFloat(Sem, RHS.IntVal), APFloat::rmNearestTiesToEven); in getConstantValue()
764 APFloat::rmNearestTiesToEven); in getConstantValue()
769 APFloat::rmNearestTiesToEven); in getConstantValue()
774 APFloat::rmNearestTiesToEven); in getConstantValue()
779 APFloat::rmNearestTiesToEven); in getConstantValue()
/external/llvm/lib/Analysis/
DConstantFolding.cpp1198 APF.convert(APFloat::IEEEhalf, APFloat::rmNearestTiesToEven, &unused); in ConstantFoldFP()
1220 APF.convert(APFloat::IEEEhalf, APFloat::rmNearestTiesToEven, &unused); in ConstantFoldBinaryFP()
1248 : APFloat::rmNearestTiesToEven; in ConstantFoldConvertToInt()
1272 Val.convert(APFloat::IEEEhalf, APFloat::rmNearestTiesToEven, &lost); in ConstantFoldCall()
1300 APF.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, &unused); in ConstantFoldCall()
1415 Val.convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven, &lost); in ConstantFoldCall()
1475 APF.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, &unused); in ConstantFoldCall()
1491 APF.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, &unused); in ConstantFoldCall()
/external/clang/lib/AST/
DExprConstant.cpp1198 APFloat::rmNearestTiesToEven, &ignored) in HandleFloatToFloatCast()
1221 APFloat::rmNearestTiesToEven) in HandleIntToFloatCast()
5701 Result.multiply(RHS, APFloat::rmNearestTiesToEven); in VisitBinaryOperator()
5704 Result.add(RHS, APFloat::rmNearestTiesToEven); in VisitBinaryOperator()
5707 Result.subtract(RHS, APFloat::rmNearestTiesToEven); in VisitBinaryOperator()
5710 Result.divide(RHS, APFloat::rmNearestTiesToEven); in VisitBinaryOperator()
5987 APFloat::rmNearestTiesToEven); in VisitBinaryOperator()
5989 APFloat::rmNearestTiesToEven); in VisitBinaryOperator()
5998 APFloat::rmNearestTiesToEven); in VisitBinaryOperator()
6000 APFloat::rmNearestTiesToEven); in VisitBinaryOperator()
[all …]
DAPValue.cpp231 V.convert(llvm::APFloat::IEEEdouble, llvm::APFloat::rmNearestTiesToEven, in GetApproxValue()
DExpr.cpp714 V.convert(llvm::APFloat::IEEEdouble, llvm::APFloat::rmNearestTiesToEven, in getValueAsApproximateDouble()
/external/llvm/lib/IR/
DConstantFold.cpp581 APFloat::rmNearestTiesToEven, &ignored); in ConstantFoldCastInstruction()
654 APFloat::rmNearestTiesToEven); in ConstantFoldCastInstruction()
1119 (void)C3V.add(C2V, APFloat::rmNearestTiesToEven); in ConstantFoldBinaryInstruction()
1122 (void)C3V.subtract(C2V, APFloat::rmNearestTiesToEven); in ConstantFoldBinaryInstruction()
1125 (void)C3V.multiply(C2V, APFloat::rmNearestTiesToEven); in ConstantFoldBinaryInstruction()
1128 (void)C3V.divide(C2V, APFloat::rmNearestTiesToEven); in ConstantFoldBinaryInstruction()
1131 (void)C3V.mod(C2V, APFloat::rmNearestTiesToEven); in ConstantFoldBinaryInstruction()
DConstants.cpp556 APFloat::rmNearestTiesToEven, &ignored); in get()
1186 Val2.convert(APFloat::IEEEhalf, APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
1192 Val2.convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
1200 Val2.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
DAsmWriter.cpp846 apf.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, in WriteConstantInternal()
/external/llvm/include/llvm/ADT/
DAPFloat.h151 rmNearestTiesToEven, enumerator
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp217 enum APFloat::roundingMode RndMode = APFloat::rmNearestTiesToEven; in operator +=()
238 enum APFloat::roundingMode RndMode = APFloat::rmNearestTiesToEven; in operator -=()
282 F0.multiply(APFloat(Semantic, That.IntVal), APFloat::rmNearestTiesToEven); in operator *=()
284 F0.multiply(That.getFpVal(), APFloat::rmNearestTiesToEven); in operator *=()
DInstCombineCompares.cpp2769 APFloat::rmNearestTiesToEven); in FoldFCmp_IntToFP_Cst()
2781 APFloat::rmNearestTiesToEven); in FoldFCmp_IntToFP_Cst()
2794 APFloat::rmNearestTiesToEven); in FoldFCmp_IntToFP_Cst()
2805 APFloat::rmNearestTiesToEven); in FoldFCmp_IntToFP_Cst()
2964 F.convert(*Sem, APFloat::rmNearestTiesToEven, &Lossy); in visitFCmpInst()
DInstCombineMulDivRem.cpp832 (void)Reciprocal.divide(FpVal, APFloat::rmNearestTiesToEven); in CvtFDivConstToReciprocal()
DInstCombineCasts.cpp1144 (void)F.convert(Sem, APFloat::rmNearestTiesToEven, &losesInfo); in FitsInFPType()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp87 APFloat::rmNearestTiesToEven, in isValueValidForType()
1073 apf.convert(EVTToAPFloatSemantics(EltVT), APFloat::rmNearestTiesToEven, in getConstantFP()
2438 APFloat::rmNearestTiesToEven); in getNode()
2493 APFloat::rmNearestTiesToEven, &ignored); in getNode()
3114 s = V1.add(V2, APFloat::rmNearestTiesToEven); in getNode()
3119 s = V1.subtract(V2, APFloat::rmNearestTiesToEven); in getNode()
3124 s = V1.multiply(V2, APFloat::rmNearestTiesToEven); in getNode()
3129 s = V1.divide(V2, APFloat::rmNearestTiesToEven); in getNode()
3134 s = V1.mod(V2, APFloat::rmNearestTiesToEven); in getNode()
3151 APFloat::rmNearestTiesToEven, &ignored); in getNode()
/external/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.cpp1715 APF.convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven, in printFPConstant()
1720 APF.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, in printFPConstant()
/external/llvm/include/llvm/IR/
DConstants.h286 FV.convert(Val.getSemantics(), APFloat::rmNearestTiesToEven, &ignored); in isExactlyValue()
/external/clang/lib/Lex/
DLiteralSupport.cpp833 APFloat::rmNearestTiesToEven); in GetFloatValue()
/external/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h1215 APFloat::rmNearestTiesToEven, &ignored);
/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp576 APF.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, in emitDebugValueComment()
/external/llvm/lib/AsmParser/
DLLParser.cpp2787 ID.APFloatVal.convert(APFloat::IEEEhalf, APFloat::rmNearestTiesToEven, in ConvertValIDToValue()
2790 ID.APFloatVal.convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven, in ConvertValIDToValue()
/external/llvm/lib/Target/CppBackend/
DCPPBackend.cpp219 APF.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, &ignored); in printCFP()
/external/clang/lib/Sema/
DSemaChecking.cpp4327 truncated.convert(Src, llvm::APFloat::rmNearestTiesToEven, &ignored); in IsSameFloatAfterCast()
4328 truncated.convert(Tgt, llvm::APFloat::rmNearestTiesToEven, &ignored); in IsSameFloatAfterCast()
/external/llvm/lib/MC/MCParser/
DAsmParser.cpp2276 } else if (Value.convertFromString(IDVal, APFloat::rmNearestTiesToEven) == in ParseDirectiveRealValue()

12