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/lib/Analysis/
DConstantFolding.cpp1433 V.roundToIntegral(APFloat::rmNearestTiesToAway); in ConstantFoldScalarCall()
1439 V.roundToIntegral(APFloat::rmTowardNegative); in ConstantFoldScalarCall()
1445 V.roundToIntegral(APFloat::rmTowardPositive); in ConstantFoldScalarCall()
1451 V.roundToIntegral(APFloat::rmTowardZero); in ConstantFoldScalarCall()
1457 V.roundToIntegral(APFloat::rmNearestTiesToEven); in ConstantFoldScalarCall()
1463 V.roundToIntegral(APFloat::rmNearestTiesToEven); in ConstantFoldScalarCall()
/external/llvm/include/llvm/ADT/
DAPFloat.h304 opStatus roundToIntegral(roundingMode);
/external/llvm/lib/Transforms/Scalar/
DFloat2Int.cpp335 auto Res = NewF.roundToIntegral(APFloat::rmNearestTiesToEven); in walkForwards()
/external/llvm/lib/Support/
DAPFloat.cpp775 truncated.roundToIntegral(rmTowardZero); in isInteger()
1867 APFloat::opStatus APFloat::roundToIntegral(roundingMode rounding_mode) { in roundToIntegral() function in APFloat
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp2929 APFloat::opStatus fs = V.roundToIntegral(APFloat::rmTowardPositive); in getNode()
2935 APFloat::opStatus fs = V.roundToIntegral(APFloat::rmTowardZero); in getNode()
2941 APFloat::opStatus fs = V.roundToIntegral(APFloat::rmTowardNegative); in getNode()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp3864 RHSRoundInt.roundToIntegral(APFloat::rmNearestTiesToEven); in FoldFCmp_IntToFP_Cst()