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.cpp2139 U.roundToIntegral(APFloat::rmNearestTiesToEven); in ConstantFoldScalarCall1()
2144 U.roundToIntegral(APFloat::rmNearestTiesToAway); in ConstantFoldScalarCall1()
2149 U.roundToIntegral(APFloat::rmNearestTiesToEven); in ConstantFoldScalarCall1()
2154 U.roundToIntegral(APFloat::rmTowardPositive); in ConstantFoldScalarCall1()
2159 U.roundToIntegral(APFloat::rmTowardNegative); in ConstantFoldScalarCall1()
2164 U.roundToIntegral(APFloat::rmTowardZero); in ConstantFoldScalarCall1()
2179 FloorU.roundToIntegral(APFloat::rmTowardNegative); in ConstantFoldScalarCall1()
2217 APFloat::opStatus St = U.roundToIntegral(*RM); in ConstantFoldScalarCall1()
2325 U.roundToIntegral(APFloat::rmTowardPositive); in ConstantFoldScalarCall1()
2366 U.roundToIntegral(APFloat::rmTowardNegative); in ConstantFoldScalarCall1()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPFloat.h350 opStatus roundToIntegral(roundingMode);
749 opStatus roundToIntegral(roundingMode RM);
1159 opStatus roundToIntegral(roundingMode RM) { in roundToIntegral() function
1160 APFLOAT_DISPATCH_ON_SEMANTICS(roundToIntegral(RM)); in roundToIntegral()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DFloat2Int.cpp237 auto Res = NewF.roundToIntegral(APFloat::rmNearestTiesToEven); in calcRange()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DAPFixedPoint.cpp589 Val.roundToIntegral(RM); in getFromFloatValue()
H A DAPFloat.cpp1129 truncated.roundToIntegral(rmTowardZero); in isInteger()
2306 IEEEFloat::opStatus IEEEFloat::roundToIntegral(roundingMode rounding_mode) { in roundToIntegral() function in llvm::detail::IEEEFloat
5011 APFloat::opStatus DoubleAPFloat::roundToIntegral(APFloat::roundingMode RM) { in roundToIntegral() function in llvm::detail::DoubleAPFloat
5014 auto Ret = Tmp.roundToIntegral(RM); in roundToIntegral()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp2354 if (ExpoI.roundToIntegral(APFloat::rmTowardNegative) != in optimizePow()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp6489 APFloat::opStatus fs = V.roundToIntegral(APFloat::rmTowardPositive); in FoldConstantArithmetic()
6495 APFloat::opStatus fs = V.roundToIntegral(APFloat::rmTowardZero); in FoldConstantArithmetic()
6501 APFloat::opStatus fs = V.roundToIntegral(APFloat::rmTowardNegative); in FoldConstantArithmetic()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp7630 RHSRoundInt.roundToIntegral(APFloat::rmNearestTiesToEven); in foldFCmpIntToFPConst()