| /llvm-project-15.0.7/mlir/test/Analysis/ |
| H A D | test-dominance.mlir | 14 // CHECK-NEXT: Nearest(0, 0) = 0 18 // CHECK: Nearest(1, 0) = 0 22 // CHECK: Nearest(2, 0) = 0 26 // CHECK: Nearest(3, 0) = 0 35 // CHECK: Nearest(1, 0) = 3 39 // CHECK: Nearest(2, 0) = 3 43 // CHECK: Nearest(3, 0) = 3 64 // CHECK: Nearest(1, 0) = 0 68 // CHECK: Nearest(2, 0) = 0 72 // CHECK: Nearest(3, 0) = 0 [all …]
|
| /llvm-project-15.0.7/llvm/unittests/Option/ |
| H A D | OptionParsingTest.cpp | 275 std::string Nearest; in TEST() local 286 EXPECT_EQ(Nearest, "-blorp"); in TEST() 288 EXPECT_EQ(Nearest, "--blorp"); in TEST() 290 EXPECT_EQ(Nearest, "-blarn"); in TEST() 292 EXPECT_EQ(Nearest, "--blarn"); in TEST() 294 EXPECT_EQ(Nearest, "--fjormp"); in TEST() 299 EXPECT_EQ(Nearest, "/cramb:foo"); in TEST() 309 EXPECT_EQ(Nearest, "--blurmp"); in TEST() 317 EXPECT_EQ(Nearest, "-doopf2"); in TEST() 321 EXPECT_EQ(Nearest, "-doopf1"); in TEST() [all …]
|
| /llvm-project-15.0.7/llvm/tools/llvm-mt/ |
| H A D | llvm-mt.cpp | 96 std::string Nearest; in main() local 97 if (T.findNearest(ArgString, Nearest) < 2) in main() 98 OS << ", did you mean '" << Nearest << "'?"; in main()
|
| /llvm-project-15.0.7/libc/utils/MPFRWrapper/ |
| H A D | MPFRUtils.h | 312 __llvm_libc::testing::mpfr::RoundingMode::Nearest)) 327 mpfr::ForceRoundingMode __r1(mpfr::RoundingMode::Nearest); \ 329 mpfr::RoundingMode::Nearest); \ 345 __llvm_libc::testing::mpfr::RoundingMode::Nearest)) 360 mpfr::ForceRoundingMode __r1(mpfr::RoundingMode::Nearest); \ 362 mpfr::RoundingMode::Nearest); \
|
| H A D | MPFRUtils.cpp | 103 case RoundingMode::Nearest: in get_mpfr_rounding_mode() 126 RoundingMode rounding = RoundingMode::Nearest) in MPFRNumber() 136 RoundingMode rounding = RoundingMode::Nearest) in MPFRNumber() 146 RoundingMode rounding = RoundingMode::Nearest) in MPFRNumber() 156 RoundingMode rounding = RoundingMode::Nearest) in MPFRNumber()
|
| /llvm-project-15.0.7/libc/test/src/math/exhaustive/ |
| H A D | expf_test.cpp | 42 test_full_range(POS_START, POS_STOP, mpfr::RoundingMode::Nearest); in TEST_F() 62 test_full_range(NEG_START, NEG_STOP, mpfr::RoundingMode::Nearest); in TEST_F()
|
| H A D | sinf_test.cpp | 43 test_full_range(POS_START, POS_STOP, mpfr::RoundingMode::Nearest); in TEST_F() 63 test_full_range(NEG_START, NEG_STOP, mpfr::RoundingMode::Nearest); in TEST_F()
|
| H A D | expm1f_test.cpp | 42 test_full_range(POS_START, POS_STOP, mpfr::RoundingMode::Nearest); in TEST_F() 62 test_full_range(NEG_START, NEG_STOP, mpfr::RoundingMode::Nearest); in TEST_F()
|
| H A D | exp2f_test.cpp | 40 test_full_range(POS_START, POS_STOP, mpfr::RoundingMode::Nearest); in TEST_F() 60 test_full_range(NEG_START, NEG_STOP, mpfr::RoundingMode::Nearest); in TEST_F()
|
| H A D | log2f_test.cpp | 37 mpfr::RoundingMode::Nearest); in TEST_F()
|
| H A D | logf_test.cpp | 37 mpfr::RoundingMode::Nearest); in TEST_F()
|
| H A D | log10f_test.cpp | 42 test_full_range(START, STOP, mpfr::RoundingMode::Nearest); in TEST_F()
|
| H A D | log1pf_test.cpp | 43 test_full_range(START, STOP, mpfr::RoundingMode::Nearest); in TEST_F()
|
| H A D | hypotf_test.cpp | 53 test_full_range(START, STOP, mpfr::RoundingMode::Nearest); in TEST_F()
|
| /llvm-project-15.0.7/libc/test/src/math/ |
| H A D | SqrtTest.h | 69 mpfr::ForceRoundingMode r1(mpfr::RoundingMode::Nearest); in test_all_rounding_modes() 71 mpfr::RoundingMode::Nearest); in test_all_rounding_modes()
|
| H A D | RIntTest.h | 51 return mpfr::RoundingMode::Nearest; in to_mpfr_rounding_mode()
|
| H A D | RoundToIntegerTest.h | 68 return mpfr::RoundingMode::Nearest; in to_mpfr_rounding_mode()
|
| /llvm-project-15.0.7/libc/utils/testutils/ |
| H A D | RoundingModeUtils.h | 17 enum class RoundingMode : uint8_t { Upward, Downward, TowardZero, Nearest }; enumerator
|
| H A D | RoundingModeUtils.cpp | 27 case RoundingMode::Nearest: in get_fe_rounding()
|
| /llvm-project-15.0.7/libc/test/src/stdlib/ |
| H A D | strtod_test.cpp | 23 ForceRoundingModeTest<RoundingMode::Nearest> {
|
| H A D | strtof_test.cpp | 23 ForceRoundingModeTest<RoundingMode::Nearest> {
|
| /llvm-project-15.0.7/llvm/tools/llvm-ml/ |
| H A D | llvm-ml.cpp | 226 std::string Nearest; in main() local 227 if (T.findNearest(ArgString, Nearest) < 2) in main() 228 OS << ", did you mean '" << Nearest << "'?"; in main()
|
| /llvm-project-15.0.7/flang/runtime/ |
| H A D | numeric.cpp | 248 template <int PREC, typename T> inline T Nearest(T x, bool positive) { in Nearest() function 646 return Nearest<24>(x, positive); in RTNAME() 650 return Nearest<53>(x, positive); in RTNAME() 655 return Nearest<64>(x, positive); in RTNAME() 660 return Nearest<113>(x, positive); in RTNAME()
|
| /llvm-project-15.0.7/llvm/lib/Option/ |
| H A D | OptTable.cpp | 524 std::string Nearest; in parseArgs() local 527 if (findNearest(Spelling, Nearest) > 1) in parseArgs() 531 "', did you mean '" + Nearest + "'?"); in parseArgs()
|
| /llvm-project-15.0.7/clang/tools/driver/ |
| H A D | cc1as_main.cpp | 206 std::string Nearest; in CreateFromArgs() local 207 if (OptTbl.findNearest(ArgString, Nearest, IncludedFlagsBitmask) > 1) in CreateFromArgs() 211 << ArgString << Nearest; in CreateFromArgs()
|