Home
last modified time | relevance | path

Searched refs:ms (Results 1 – 25 of 150) sorted by relevance

123456

/llvm-project-15.0.7/clang/test/CodeGen/PowerPC/
H A Dppc-xmmintrin.c64 res64 = _mm_avg_pu16(ms[0], ms[1]); in test_avg()
65 res64 = _mm_avg_pu8(ms[0], ms[1]); in test_avg()
85 res64 = _m_pavgw(ms[0], ms[1]); in test_alt_name_avg()
86 res64 = _m_pavgb(ms[0], ms[1]); in test_alt_name_avg()
561 res64 = _mm_max_pu8(ms[0], ms[1]); in test_max()
594 res64 = _m_pmaxsw(ms[0], ms[1]); in test_alt_name_max()
595 res64 = _m_pmaxub(ms[0], ms[1]); in test_alt_name_max()
611 res64 = _mm_min_pu8(ms[0], ms[1]); in test_min()
644 res64 = _m_pminsw(ms[0], ms[1]); in test_alt_name_min()
721 res64 = _m_pmulhuw(ms[0], ms[1]); in test_mul()
[all …]
/llvm-project-15.0.7/lld/wasm/
H A DOutputSegment.cpp45 MergeInputChunk *ms = dyn_cast<MergeInputChunk>(s); in finalizeInputSegments() local
46 if (!ms) { in finalizeInputSegments()
52 assert(ms->live); in finalizeInputSegments()
55 return seg->flags == ms->flags && seg->alignment == ms->alignment; in finalizeInputSegments()
59 << " alignment=" << ms->alignment << "\n"); in finalizeInputSegments()
60 auto *syn = make<SyntheticMergedChunk>(name, ms->alignment, ms->flags); in finalizeInputSegments()
68 (*i)->addMergeChunk(ms); in finalizeInputSegments()
71 for (auto *ms : mergedSegments) in finalizeInputSegments() local
72 ms->finalizeContents(); in finalizeInputSegments()
/llvm-project-15.0.7/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/
H A Dtry_lock_until.pass.cpp32 typedef std::chrono::milliseconds ms; typedef
38 assert(m.try_lock_until(Clock::now() + ms(300)) == true); in f1()
41 ns d = t1 - t0 - ms(250); in f1()
42 assert(d < ms(50)); // within 50ms in f1()
48 assert(m.try_lock_until(Clock::now() + ms(250)) == false); in f2()
50 ns d = t1 - t0 - ms(250); in f2()
51 assert(d < ms(50)); // within 50ms in f2()
59 std::this_thread::sleep_for(ms(250)); in main()
66 std::this_thread::sleep_for(ms(300)); in main()
H A Dtry_lock_for.pass.cpp32 typedef std::chrono::milliseconds ms; typedef
38 assert(m.try_lock_for(ms(300)) == true); in f1()
41 ns d = t1 - t0 - ms(250); in f1()
42 assert(d < ms(50)); // within 50ms in f1()
48 assert(m.try_lock_for(ms(250)) == false); in f2()
50 ns d = t1 - t0 - ms(250); in f2()
51 assert(d < ms(50)); // within 50ms in f2()
59 std::this_thread::sleep_for(ms(250)); in main()
66 std::this_thread::sleep_for(ms(300)); in main()
/llvm-project-15.0.7/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/
H A Dmutex_duration.pass.cpp32 typedef std::chrono::milliseconds ms; typedef
38 std::unique_lock<std::timed_mutex> lk(m, ms(300)); in f1()
41 ns d = t1 - t0 - ms(250); in f1()
42 assert(d < ms(50)); // within 50ms in f1()
48 std::unique_lock<std::timed_mutex> lk(m, ms(250)); in f2()
51 ns d = t1 - t0 - ms(250); in f2()
52 assert(d < ms(50)); // within 50ms in f2()
60 std::this_thread::sleep_for(ms(250)); in main()
67 std::this_thread::sleep_for(ms(300)); in main()
H A Dmutex_time_point.pass.cpp32 typedef std::chrono::milliseconds ms; typedef
38 std::unique_lock<std::timed_mutex> lk(m, Clock::now() + ms(300)); in f1()
41 ns d = t1 - t0 - ms(250); in f1()
48 std::unique_lock<std::timed_mutex> lk(m, Clock::now() + ms(250)); in f2()
51 ns d = t1 - t0 - ms(250); in f2()
52 assert(d < ms(50)); // within 50ms in f2()
60 std::this_thread::sleep_for(ms(250)); in main()
67 std::this_thread::sleep_for(ms(300)); in main()
/llvm-project-15.0.7/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/
H A Dtry_lock_until.pass.cpp32 typedef std::chrono::milliseconds ms; typedef
38 assert(m.try_lock_until(Clock::now() + ms(300)) == true); in f1()
43 ns d = t1 - t0 - ms(250); in f1()
44 assert(d < ms(50)); // within 50ms in f1()
50 assert(m.try_lock_until(Clock::now() + ms(250)) == false); in f2()
52 ns d = t1 - t0 - ms(250); in f2()
53 assert(d < ms(50)); // within 50ms in f2()
61 std::this_thread::sleep_for(ms(250)); in main()
68 std::this_thread::sleep_for(ms(300)); in main()
H A Dtry_lock_for.pass.cpp32 typedef std::chrono::milliseconds ms; typedef
38 assert(m.try_lock_for(ms(300)) == true); in f1()
43 ns d = t1 - t0 - ms(250); in f1()
50 assert(m.try_lock_for(ms(250)) == false); in f2()
52 ns d = t1 - t0 - ms(250); in f2()
61 std::this_thread::sleep_for(ms(250)); in main()
68 std::this_thread::sleep_for(ms(300)); in main()
/llvm-project-15.0.7/libcxx/test/std/thread/futures/futures.async/
H A Dasync.pass.cpp32 typedef std::chrono::milliseconds ms; typedef
39 std::this_thread::sleep_for(ms(200)); in f0()
48 std::this_thread::sleep_for(ms(200)); in f1()
55 std::this_thread::sleep_for(ms(200)); in f2()
61 std::this_thread::sleep_for(ms(200)); in f3()
68 std::this_thread::sleep_for(ms(200)); in f4()
74 std::this_thread::sleep_for(ms(200)); in f5()
86 std::this_thread::sleep_for(ms(300)); in test()
100 assert(t1-t0 > ms(100)); in test()
102 assert(t1-t0 < ms(100)); in test()
[all …]
/llvm-project-15.0.7/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/
H A Dlock.pass.cpp36 typedef std::chrono::milliseconds ms; typedef
39 ms WaitTime = ms(250);
45 ms Tolerance = ms(50);
47 ms Tolerance = ms(50 * 5);
H A Dlock_shared.pass.cpp37 typedef std::chrono::milliseconds ms; typedef
40 ms WaitTime = ms(250);
46 ms Tolerance = ms(50);
48 ms Tolerance = ms(50 * 5);
/llvm-project-15.0.7/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/
H A Dtry_lock_shared.pass.cpp37 typedef std::chrono::milliseconds ms; typedef
42 ms Tolerance = ms(200);
44 ms Tolerance = ms(200 * 5);
57 ns d = t1 - t0 - ms(250); in f()
67 std::this_thread::sleep_for(ms(250)); in main()
H A Dtry_lock_for.pass.cpp36 typedef std::chrono::milliseconds ms; typedef
40 ms WaitTime = ms(250);
46 ms Tolerance = ms(50);
48 ms Tolerance = ms(50 * 5);
H A Dtry_lock_until.pass.cpp37 typedef std::chrono::milliseconds ms; typedef
41 ms WaitTime = ms(250);
47 ms Tolerance = ms(50);
49 ms Tolerance = ms(50 * 5);
H A Dtry_lock_shared_for.pass.cpp38 typedef std::chrono::milliseconds ms; typedef
41 ms WaitTime = ms(250);
47 ms Tolerance = ms(50);
49 ms Tolerance = ms(50 * 5);
/llvm-project-15.0.7/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/
H A Dlock.pass.cpp36 typedef std::chrono::milliseconds ms; typedef
39 ms WaitTime = ms(250);
45 ms Tolerance = ms(25);
47 ms Tolerance = ms(25 * 5);
H A Dtry_lock_for.pass.cpp28 typedef std::chrono::milliseconds ms; typedef
35 assert(rel_time == ms(5)); in try_lock_shared_for()
47 assert(lk.try_lock_for(ms(5)) == true); in main()
53 TEST_IGNORE_NODISCARD lk.try_lock_for(ms(5)); in main()
62 assert(lk.try_lock_for(ms(5)) == false); in main()
69 TEST_IGNORE_NODISCARD lk.try_lock_for(ms(5)); in main()
/llvm-project-15.0.7/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/
H A Dtry_lock_for.pass.cpp25 typedef std::chrono::milliseconds ms; typedef
32 assert(rel_time == ms(5)); in try_lock_for()
44 assert(lk.try_lock_for(ms(5)) == true); in main()
50 TEST_IGNORE_NODISCARD lk.try_lock_for(ms(5)); in main()
59 assert(lk.try_lock_for(ms(5)) == false); in main()
66 TEST_IGNORE_NODISCARD lk.try_lock_for(ms(5)); in main()
/llvm-project-15.0.7/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/
H A Dmutex.pass.cpp37 typedef std::chrono::milliseconds ms; typedef
40 ms WaitTime = ms(250);
46 ms Tolerance = ms(50);
48 ms Tolerance = ms(50 * 5);
/llvm-project-15.0.7/libcxx/test/std/thread/futures/futures.unique_future/
H A Dwait_for.pass.cpp29 typedef std::chrono::milliseconds ms; typedef
31 static const ms sleepTime(500);
32 static const ms waitTime(5000);
63 assert(f.wait_for(ms(1)) == std::future_status::timeout); in test()
69 assert(f.wait_for(ms(waitTime)) == std::future_status::ready); in test()
72 assert(f.wait_for(ms(waitTime)) == std::future_status::ready); in test()
/llvm-project-15.0.7/libcxx/test/std/time/time.duration/time.duration.literals/
H A Dliterals.pass.cpp26 static_assert ( std::is_same<decltype( 3ms ), std::chrono::milliseconds>::value, "" ); in main()
45 std::chrono::milliseconds ms = 247ms; in main() local
46 assert ( ms == std::chrono::milliseconds(247)); in main()
47 auto ms2 = 247.0ms; in main()
48 assert ( ms == ms2 ); in main()
H A Dliterals2.pass.cpp37 std::chrono::milliseconds ms = 247ms; in main() local
38 assert ( ms == std::chrono::milliseconds(247)); in main()
39 auto ms2 = 247.0ms; in main()
40 assert ( ms == ms2 ); in main()
/llvm-project-15.0.7/libcxx/test/std/thread/futures/futures.shared_future/
H A Dwait_for.pass.cpp27 typedef std::chrono::milliseconds ms; typedef
29 static const ms sleepTime(500);
30 static const ms waitTime(5000);
63 assert(f.wait_for(ms(1)) == std::future_status::timeout); in main()
76 assert(f.wait_for(ms(1)) == std::future_status::timeout); in main()
89 assert(f.wait_for(ms(1)) == std::future_status::timeout); in main()
104 assert(f.wait_for(ms(1)) == std::future_status::timeout); in main()
120 assert(f.wait_for(ms(1)) == std::future_status::timeout); in main()
136 assert(f.wait_for(ms(1)) == std::future_status::timeout); in main()
/llvm-project-15.0.7/libcxx/test/std/time/time.duration/time.duration.cons/
H A Dconvert_exact.pass.cpp26 std::chrono::milliseconds ms(1); in main() local
27 std::chrono::microseconds us = ms; in main()
32 constexpr std::chrono::milliseconds ms(1); in main() local
33 constexpr std::chrono::microseconds us = ms; in main()
/llvm-project-15.0.7/clang/test/Lexer/
H A Dcxx1y_digit_separators.cpp3 int operator""ms(unsigned long long); // expected-warning {{reserved}}
4 float operator""ms(long double); // expected-warning {{reserved}}
20 int g = 123'ms; // expected-error {{digit separator cannot appear at end of digit sequence}}
36 float f = 1e1'ms; // expected-error {{digit separator cannot appear at end of digit sequence}}
45 float o = 0x0.0p0'ms; // expected-error {{digit separator cannot appear at end of digit sequence}}

123456