Home
last modified time | relevance | path

Searched refs:roundToIntegral (Results 1 – 7 of 7) sorted by relevance

/external/llvm/unittests/ADT/
DAPFloatTest.cpp1259 TEST(APFloatTest, roundToIntegral) { in TEST() argument
1263 P.roundToIntegral(APFloat::rmTowardZero); in TEST()
1266 P.roundToIntegral(APFloat::rmTowardNegative); in TEST()
1269 P.roundToIntegral(APFloat::rmTowardPositive); in TEST()
1272 P.roundToIntegral(APFloat::rmNearestTiesToEven); in TEST()
1276 P.roundToIntegral(APFloat::rmTowardZero); in TEST()
1279 P.roundToIntegral(APFloat::rmTowardNegative); in TEST()
1282 P.roundToIntegral(APFloat::rmTowardPositive); in TEST()
1285 P.roundToIntegral(APFloat::rmNearestTiesToEven); in TEST()
1289 P.roundToIntegral(APFloat::rmTowardZero); in TEST()
[all …]
/external/llvm/include/llvm/ADT/
DAPFloat.h297 opStatus roundToIntegral(roundingMode);
/external/llvm/lib/Transforms/Scalar/
DFloat2Int.cpp328 auto Res = NewF.roundToIntegral(APFloat::rmNearestTiesToEven); in walkForwards()
/external/llvm/lib/Analysis/
DConstantFolding.cpp1420 V.roundToIntegral(APFloat::rmNearestTiesToAway); in ConstantFoldScalarCall()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp2796 APFloat::opStatus fs = V.roundToIntegral(APFloat::rmTowardPositive); in getNode()
2802 APFloat::opStatus fs = V.roundToIntegral(APFloat::rmTowardZero); in getNode()
2808 APFloat::opStatus fs = V.roundToIntegral(APFloat::rmTowardNegative); in getNode()
/external/llvm/lib/Support/
DAPFloat.cpp1846 APFloat::opStatus APFloat::roundToIntegral(roundingMode rounding_mode) { in roundToIntegral() function in APFloat
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp3737 RHSRoundInt.roundToIntegral(APFloat::rmNearestTiesToEven); in FoldFCmp_IntToFP_Cst()