Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp2334 U.roundToIntegral(APFloat::rmNearestTiesToEven); in ConstantFoldScalarCall1()
2339 U.roundToIntegral(APFloat::rmNearestTiesToAway); in ConstantFoldScalarCall1()
2344 U.roundToIntegral(APFloat::rmNearestTiesToEven); in ConstantFoldScalarCall1()
2349 U.roundToIntegral(APFloat::rmTowardPositive); in ConstantFoldScalarCall1()
2354 U.roundToIntegral(APFloat::rmTowardNegative); in ConstantFoldScalarCall1()
2359 U.roundToIntegral(APFloat::rmTowardZero); in ConstantFoldScalarCall1()
2374 FloorU.roundToIntegral(APFloat::rmTowardNegative); in ConstantFoldScalarCall1()
2412 APFloat::opStatus St = U.roundToIntegral(*RM); in ConstantFoldScalarCall1()
2612 U.roundToIntegral(APFloat::rmTowardPositive); in ConstantFoldScalarCall1()
2653 U.roundToIntegral(APFloat::rmTowardNegative); in ConstantFoldScalarCall1()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPFloat.h443 LLVM_ABI opStatus roundToIntegral(roundingMode);
858 LLVM_ABI opStatus roundToIntegral(roundingMode RM);
1272 opStatus roundToIntegral(roundingMode RM) { in roundToIntegral() function
1273 APFLOAT_DISPATCH_ON_SEMANTICS(roundToIntegral(RM)); in roundToIntegral()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DFloat2Int.cpp233 auto Res = NewF.roundToIntegral(APFloat::rmNearestTiesToEven); in calcRange()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DAPFixedPoint.cpp606 Val.roundToIntegral(RM); in getFromFloatValue()
H A DAPFloat.cpp1174 truncated.roundToIntegral(rmTowardZero); in isInteger()
2406 APFloat::opStatus IEEEFloat::roundToIntegral(roundingMode rounding_mode) { in roundToIntegral() function in llvm::detail::IEEEFloat
5195 APFloat::opStatus DoubleAPFloat::roundToIntegral(APFloat::roundingMode RM) { in roundToIntegral() function in llvm::detail::DoubleAPFloat
5198 auto Ret = Tmp.roundToIntegral(RM); in roundToIntegral()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp2365 if (ExpoI.roundToIntegral(APFloat::rmTowardNegative) != in optimizePow()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp6902 APFloat::opStatus fs = V.roundToIntegral(APFloat::rmTowardPositive); in FoldConstantArithmetic()
6908 APFloat::opStatus fs = V.roundToIntegral(APFloat::rmTowardZero); in FoldConstantArithmetic()
6914 APFloat::opStatus fs = V.roundToIntegral(APFloat::rmTowardNegative); in FoldConstantArithmetic()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp7965 RHSRoundInt.roundToIntegral(APFloat::rmNearestTiesToEven); in foldFCmpIntToFPConst()