/external/llvm/unittests/ADT/ |
D | APFloatTest.cpp | 23 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/ |
D | APFloat.cpp | 717 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/ |
D | ExecutionEngine.cpp | 606 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/ |
D | ConstantFolding.cpp | 1198 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/ |
D | ExprConstant.cpp | 1198 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 …]
|
D | APValue.cpp | 231 V.convert(llvm::APFloat::IEEEdouble, llvm::APFloat::rmNearestTiesToEven, in GetApproxValue()
|
D | Expr.cpp | 714 V.convert(llvm::APFloat::IEEEdouble, llvm::APFloat::rmNearestTiesToEven, in getValueAsApproximateDouble()
|
/external/llvm/lib/IR/ |
D | ConstantFold.cpp | 581 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()
|
D | Constants.cpp | 556 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()
|
D | AsmWriter.cpp | 846 apf.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, in WriteConstantInternal()
|
/external/llvm/include/llvm/ADT/ |
D | APFloat.h | 151 rmNearestTiesToEven, enumerator
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAddSub.cpp | 217 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 *=()
|
D | InstCombineCompares.cpp | 2769 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()
|
D | InstCombineMulDivRem.cpp | 832 (void)Reciprocal.divide(FpVal, APFloat::rmNearestTiesToEven); in CvtFDivConstToReciprocal()
|
D | InstCombineCasts.cpp | 1144 (void)F.convert(Sem, APFloat::rmNearestTiesToEven, &losesInfo); in FitsInFPType()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 87 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/ |
D | NVPTXAsmPrinter.cpp | 1715 APF.convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven, in printFPConstant() 1720 APF.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, in printFPConstant()
|
/external/llvm/include/llvm/IR/ |
D | Constants.h | 286 FV.convert(Val.getSemantics(), APFloat::rmNearestTiesToEven, &ignored); in isExactlyValue()
|
/external/clang/lib/Lex/ |
D | LiteralSupport.cpp | 833 APFloat::rmNearestTiesToEven); in GetFloatValue()
|
/external/llvm/include/llvm/CodeGen/ |
D | SelectionDAGNodes.h | 1215 APFloat::rmNearestTiesToEven, &ignored);
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | AsmPrinter.cpp | 576 APF.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, in emitDebugValueComment()
|
/external/llvm/lib/AsmParser/ |
D | LLParser.cpp | 2787 ID.APFloatVal.convert(APFloat::IEEEhalf, APFloat::rmNearestTiesToEven, in ConvertValIDToValue() 2790 ID.APFloatVal.convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven, in ConvertValIDToValue()
|
/external/llvm/lib/Target/CppBackend/ |
D | CPPBackend.cpp | 219 APF.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, &ignored); in printCFP()
|
/external/clang/lib/Sema/ |
D | SemaChecking.cpp | 4327 truncated.convert(Src, llvm::APFloat::rmNearestTiesToEven, &ignored); in IsSameFloatAfterCast() 4328 truncated.convert(Tgt, llvm::APFloat::rmNearestTiesToEven, &ignored); in IsSameFloatAfterCast()
|
/external/llvm/lib/MC/MCParser/ |
D | AsmParser.cpp | 2276 } else if (Value.convertFromString(IDVal, APFloat::rmNearestTiesToEven) == in ParseDirectiveRealValue()
|