| /freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | APFloat.h | 302 using roundingMode = llvm::RoundingMode; member 304 static constexpr roundingMode rmNearestTiesToEven = 306 static constexpr roundingMode rmTowardPositive = RoundingMode::TowardPositive; 307 static constexpr roundingMode rmTowardNegative = RoundingMode::TowardNegative; 308 static constexpr roundingMode rmTowardZero = RoundingMode::TowardZero; 309 static constexpr roundingMode rmNearestTiesToAway = 376 using roundingMode = APFloatBase::roundingMode; variable 382 static constexpr roundingMode rmNearestTiesToEven = 384 static constexpr roundingMode rmNearestTiesToAway = 386 static constexpr roundingMode rmTowardNegative = APFloatBase::rmTowardNegative; [all …]
|
| /freebsd/lib/libc/softfloat/bits32/ |
| H A D | softfloat.c | 200 int8 roundingMode; in roundAndPackFloat32() local 205 roundingMode = float_rounding_mode; in roundAndPackFloat32() 206 roundNearestEven = roundingMode == float_round_nearest_even; in roundAndPackFloat32() 209 if ( roundingMode == float_round_to_zero ) { in roundAndPackFloat32() 215 if ( roundingMode == float_round_up ) roundIncrement = 0; in roundAndPackFloat32() 218 if ( roundingMode == float_round_down ) roundIncrement = 0; in roundAndPackFloat32() 412 int8 roundingMode; in roundAndPackFloat64() local 415 roundingMode = float_rounding_mode; in roundAndPackFloat64() 416 roundNearestEven = ( roundingMode == float_round_nearest_even ); in roundAndPackFloat64() 419 if ( roundingMode == float_round_to_zero ) { in roundAndPackFloat64() [all …]
|
| /freebsd/lib/libc/softfloat/bits64/ |
| H A D | softfloat.c | 113 int8 roundingMode; in roundAndPackInt32() local 118 roundingMode = float_rounding_mode; in roundAndPackInt32() 119 roundNearestEven = ( roundingMode == float_round_nearest_even ); in roundAndPackInt32() 122 if ( roundingMode == float_round_to_zero ) { in roundAndPackInt32() 128 if ( roundingMode == float_round_up ) roundIncrement = 0; in roundAndPackInt32() 131 if ( roundingMode == float_round_down ) roundIncrement = 0; in roundAndPackInt32() 164 int8 roundingMode; in roundAndPackInt64() local 168 roundingMode = float_rounding_mode; in roundAndPackInt64() 169 roundNearestEven = ( roundingMode == float_round_nearest_even ); in roundAndPackInt64() 172 if ( roundingMode == float_round_to_zero ) { in roundAndPackInt64() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | APFloat.cpp | 1593 APFloat::opStatus IEEEFloat::handleOverflow(roundingMode rounding_mode) { in handleOverflow() 1625 bool IEEEFloat::roundAwayFromZero(roundingMode rounding_mode, in roundAwayFromZero() 1663 APFloat::opStatus IEEEFloat::normalize(roundingMode rounding_mode, in normalize() 2128 roundingMode rounding_mode, in addOrSubtract() 2161 roundingMode rounding_mode) { in add() 2167 roundingMode rounding_mode) { in subtract() 2173 roundingMode rounding_mode) { in multiply() 2193 roundingMode rounding_mode) { in divide() 2362 roundingMode rounding_mode) { in fusedMultiplyAdd() 2406 APFloat::opStatus IEEEFloat::roundToIntegral(roundingMode rounding_mode) { in roundToIntegral() [all …]
|
| H A D | APFixedPoint.cpp | 514 APFloat::roundingMode RM = APFloat::rmNearestTiesToEven; in convertToFloat() 515 APFloat::roundingMode LosslessRM = APFloat::rmTowardZero; in convertToFloat() 562 APFloat::roundingMode RM = APFloat::rmTowardZero; in getFromFloatValue() 563 APFloat::roundingMode LosslessRM = APFloat::rmTowardZero; in getFromFloatValue()
|
| /freebsd/lib/libc/softfloat/ |
| H A D | timesoftfloat.c | 1915 flag roundingPrecision, roundingMode; member 2050 int8 roundingMode, in timeFunctionVariety() argument 2073 switch ( roundingMode ) { in timeFunctionVariety() 2412 int8 roundingPrecision, roundingMode, tininessMode; in timeFunction() local 2422 for ( roundingMode = 1; in timeFunction() 2423 roundingMode < NUM_ROUNDINGMODES; in timeFunction() 2424 ++roundingMode in timeFunction() 2426 if ( ! functions[ functionCode ].roundingMode ) { in timeFunction() 2427 roundingMode = 0; in timeFunction() 2430 roundingMode = roundingModeIn; in timeFunction() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | NVVMIntrinsicUtils.h | 185 inline APFloat::roundingMode 253 return APFloat::roundingMode::Invalid; in GetFPToIntegerRoundingMode()
|
| /freebsd/contrib/llvm-project/libc/src/__support/FPUtil/aarch64/ |
| H A D | FEnvImpl.h | 217 uint32_t roundingMode = in get_round() local 219 switch (roundingMode) { in get_round()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ConstantFolding.cpp | 2089 APFloat::roundingMode mode = roundTowardZero? APFloat::rmTowardZero in ConstantFoldSSEConvertToInt() 2384 std::optional<APFloat::roundingMode> RM; in ConstantFoldScalarCall1() 2490 APFloat::roundingMode RMode = in ConstantFoldScalarCall1()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/Instruction/RISCV/ |
| H A D | EmulateInstructionRISCV.cpp | 1287 APFloat::roundingMode RM)) { in F_Op()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Testing/Demangle/ |
| H A D | DemangleTestCases.inc | 23430 …ingModeENS_12lostFractionE", "llvm::APFloat::normalize(llvm::APFloat::roundingMode, llvm::lostFrac… 23438 …2roundingModeE", "llvm::APFloat::convertFromString(llvm::StringRef, llvm::APFloat::roundingMode)"}, 23449 …ModeEPb", "llvm::APFloat::convert(llvm::fltSemantics const&, llvm::APFloat::roundingMode, bool*)"}, 23457 …handleOverflowENS0_12roundingModeE", "llvm::APFloat::handleOverflow(llvm::APFloat::roundingMode)"}, 23458 …S_12lostFractionEj", "llvm::APFloat::roundAwayFromZero(llvm::APFloat::roundingMode, llvm::lostFrac… 23466 …gModeEb", "llvm::APFloat::addOrSubtract(llvm::APFloat const&, llvm::APFloat::roundingMode, bool)"}, 23467 …KS0_NS0_12roundingModeE", "llvm::APFloat::add(llvm::APFloat const&, llvm::APFloat::roundingMode)"}, 23468 …S0_12roundingModeE", "llvm::APFloat::subtract(llvm::APFloat const&, llvm::APFloat::roundingMode)"}, 23469 …S0_12roundingModeE", "llvm::APFloat::multiply(llvm::APFloat const&, llvm::APFloat::roundingMode)"}, 23470 …_NS0_12roundingModeE", "llvm::APFloat::divide(llvm::APFloat const&, llvm::APFloat::roundingMode)"}, [all …]
|