Home
last modified time | relevance | path

Searched refs:wait (Results 1 – 25 of 581) sorted by relevance

12345678910>>...24

/llvm-project/clang/test/ParserOpenACC/
H A Dparse-wait-construct.c6 #pragma acc wait in func()
9 #pragma acc wait clause-list in func()
13 #pragma acc wait ( in func()
15 #pragma acc wait () in func()
18 #pragma acc wait () clause-list in func()
23 #pragma acc wait (devnum: in func()
26 #pragma acc wait (devnum:) in func()
30 #pragma acc wait (devnum:) clause-list in func()
35 #pragma acc wait (devnum: i + j in func()
38 #pragma acc wait (devnu in func()
[all...]
H A Dparse-wait-clause.c6 #pragma acc parallel wait in func()
10 #pragma acc parallel wait clause-list in func()
15 #pragma acc parallel wait ( in func()
18 #pragma acc parallel wait () in func()
22 #pragma acc parallel wait () clause-list in func()
28 #pragma acc parallel wait (devnum: in func()
32 #pragma acc parallel wait (devnum:) in func()
37 #pragma acc parallel wait (devnum:) clause-list in func()
43 #pragma acc parallel wait (devnum: i + j in func()
47 #pragma acc parallel wait (devnum: i + j) in func()
[all …]
/llvm-project/flang/test/Semantics/
H A Devent02b.f902 ! This test checks for semantic errors in event wait statements based on the
26 event wait(non_event)
29 event wait(concert[1])
32 event wait(occurrences(1)[1])
35 event wait(occurrences)
37 !_____________ invalid event-wait-spec-lists: invalid until-spec _________________
40 event wait(concert, until_count=invalid_type)
43 event wait(concert, until_count=non_scalar)
48 event wait(concert, stat=invalid_type)
51 event wait(concer
[all...]
H A Dnotifywait03.f9025 notify wait(non_notify)
28 notify wait(non_coarray)
31 notify wait(notify_var[1])
34 notify wait(notify_array(1)[1])
37 notify wait(notify_array)
42 notify wait(notify_var, until_count=invalid_type)
45 notify wait(notify_var, until_count=non_scalar)
50 notify wait(notify_var, stat=invalid_type)
53 notify wait(notify_var, stat=non_scalar)
58 notify wait(notify_var, errmsg=invalid_type)
[all …]
H A Devent02a.f9019 event wait(concert)
20 event wait(occurrences(1))
21 event wait(concert, until_count=threshold)
22 event wait(concert, until_count=indexed(1))
23 event wait(concert, until_count=co_indexed_integer[1])
24 event wait(concert, stat=sync_status)
25 event wait(concert, until_count=threshold, stat=sync_status)
26 event wait(concert, errmsg=error_message)
27 event wait(concert, until_count=threshold, errmsg=error_message)
28 event wait(concert, stat=sync_status, errmsg=error_message)
[all …]
H A Dnotifywait02.f9022 notify wait(notify=notify_var)
28 notify wait(notify_var, until_amount=count)
32 notify wait(notify_var, until_count)
36 notify wait(notify_var, count)
42 notify wait(notify_var, status=sync_status)
46 notify wait(notify_var, stat)
50 notify wait(notify_var, sync_status)
56 notify wait(notify_var, errormsg=error_message)
60 notify wait(notify_var, error_message)
64 notify wait(notify_var, errmsg)
[all …]
H A Dnotifywait01.f9015 notify wait(notify_var)
16 notify wait(notify_var, until_count=count)
17 notify wait(notify_var, until_count=count_array(1))
18 notify wait(notify_var, until_count=coindexed_integer[1])
19 notify wait(notify_var, stat=sync_status)
20 notify wait(notify_var, until_count=count, stat=sync_status)
21 notify wait(notify_var, errmsg=error_message)
22 notify wait(notify_var, until_count=count, errmsg=error_message)
23 notify wait(notify_var, stat=sync_status, errmsg=error_message)
24 notify wait(notify_var, until_count=count, stat=sync_status, errmsg=error_message)
/llvm-project/clang/test/SemaOpenACC/
H A Dcompute-construct-wait-clause.cpp18 #pragma acc parallel wait(Ambiguous) in Test()
23 #pragma acc parallel wait(4, Explicit, 5) in Test()
29 #pragma acc parallel wait(queues: Ambiguous, 5) in Test()
34 #pragma acc parallel wait(devnum: Explicit: 5) in Test()
39 #pragma acc parallel wait(devnum: Explicit:queues: 5) in Test()
43 #pragma acc parallel wait(devnum: queues: 5) in Test()
60 #pragma acc parallel wait(T{}) in TestInst()
63 #pragma acc parallel wait(devnum:typename T::ShortTy{}:queues:typename T::IntTy{}) in TestInst()
70 #pragma acc parallel wait(devnum:T::value :queues:T::ACValue) in TestInst()
78 #pragma acc parallel wait(devnu in TestInst()
[all...]
H A Dcompute-construct-wait-clause.c10 #pragma acc parallel wait in uses()
13 #pragma acc serial wait() in uses()
16 #pragma acc kernels wait(getS(), getI()) in uses()
19 #pragma acc parallel wait(devnum:getS(): getI()) in uses()
22 #pragma acc parallel wait(devnum:getS(): queues: getI()) wait(devnum:getI(): queues: getS(), getI(), 5) in uses()
25 // expected-error@+1{{OpenACC clause 'wait' requires expression of integer type ('struct NotConvertible' invalid)}} in uses()
26 #pragma acc parallel wait(devnum:NC : 5) in uses()
29 // expected-error@+1{{OpenACC clause 'wait' requires expression of integer type ('struct NotConvertible' invalid)}} in uses()
30 #pragma acc parallel wait(devnu in uses()
[all...]
H A Dcompute-construct-intexpr-clause-ast.cpp139 #pragma acc parallel wait in NormalUses()
142 // CHECK-NEXT: wait clause in NormalUses()
147 #pragma acc parallel wait() in NormalUses()
150 // CHECK-NEXT: wait clause in NormalUses()
155 #pragma acc parallel wait(some_int(), some_long()) in NormalUses()
158 // CHECK-NEXT: wait clause in NormalUses()
169 #pragma acc parallel wait(queues:some_int(), some_long()) in NormalUses()
172 // CHECK-NEXT: wait clause has queues tag in NormalUses()
183 #pragma acc parallel wait(devnum: some_int() :some_int(), some_long()) in NormalUses()
186 // CHECK-NEXT: wait claus in NormalUses()
[all...]
/llvm-project/llvm/test/CodeGen/AMDGPU/
H A Dllvm.amdgcn.s.wait.gfx12.ll10 call void @llvm.amdgcn.s.wait.bvhcnt(i16 0)
19 call void @llvm.amdgcn.s.wait.dscnt(i16 0)
28 call void @llvm.amdgcn.s.wait.expcnt(i16 0)
37 call void @llvm.amdgcn.s.wait.kmcnt(i16 0)
46 call void @llvm.amdgcn.s.wait.loadcnt(i16 0)
55 call void @llvm.amdgcn.s.wait.loadcnt(i16 0)
56 call void @llvm.amdgcn.s.wait.dscnt(i16 0)
65 call void @llvm.amdgcn.s.wait.samplecnt(i16 0)
74 call void @llvm.amdgcn.s.wait.storecnt(i16 0)
83 call void @llvm.amdgcn.s.wait.storecnt(i16 0)
[all …]
/llvm-project/libcxx/test/std/thread/thread.condition/thread.condition.condvarany/
H A Dwait_terminates.sh.cpp29 // Check that std::terminate is called if wait(...) fails to meet its post
34 // 1. void wait(Lock& lock);
35 // 2. void wait(Lock& lock, Pred);
40 // 7. bool wait(Lock& lock, stop_token stoken, Predicate pred);
55 // 5 From the main thread call the specified wait method on 'cv' with 'm'.
56 // When 'T2' notifies 'cv' and the wait method attempts to re-lock
59 // 6 Check that control flow does not return from the wait method and that
81 // The predicate used in the cv.wait calls.
115 while (mut.isLocked()) {} // wait until T1 releases mut inside the cv.wait cal in signal_me()
128 MS wait(250); main() local
[all...]
H A Dwait_token_pred.pass.cpp18 // bool wait(Lock& lock, stop_token stoken, Predicate pred);
44 std::same_as<bool> auto r1 = cv.wait(lock, ss.get_token(), []() { return false; }); in test()
47 std::same_as<bool> auto r2 = cv.wait(lock, ss.get_token(), []() { return true; }); in test()
60 std::same_as<bool> auto r1 = cv.wait(lock, ss.get_token(), []() { return true; }); in test()
71 std::same_as<bool> auto r2 = cv.wait(lock, ss.get_token(), [&]() { return flag; }); in test()
89 start.wait(false); in test()
98 std::same_as<bool> auto r = cv.wait(lock, ss.get_token(), [&]() { in test()
118 cv_.wait(lock, st, [] { return false; }); in test()
132 // request_stop potentially in-between check and wait in test()
142 pred_started.wait(fals in test()
[all...]
/llvm-project/mlir/test/Dialect/GPU/
H A Dasync-region.mlir14 // CHECK: %[[t0:.*]] = gpu.wait async
25 // CHECK: gpu.wait [%[[t4]]]
38 // CHECK-NOT: gpu.wait
49 // CHECK-NOT: gpu.wait
56 // CHECK: gpu.wait [%[[t]]]
68 // CHECK: gpu.wait [%[[t]]]
74 // CHECK-NOT: gpu.wait
86 // CHECK-NOT: gpu.wait
94 // CHECK-NOT: gpu.wait
101 // CHECK: gpu.wait [%[[t]]]
[all …]
H A Dcanonicalize.mlir3 // Fold all the gpu.wait ops as they are redundant.
6 %1 = gpu.wait async
7 gpu.wait []
8 %3 = gpu.wait async
9 gpu.wait [%3]
12 // CHECK-NOT: gpu.wait
28 // Replace uses of gpu.wait op with its async dependency.
31 %0 = gpu.wait async
33 gpu.wait [%0]
34 %1 = gpu.wait asyn
[all...]
/llvm-project/libcxx/test/std/atomics/atomics.ref/
H A Dwait.pass.cpp36 a.wait(T(0)); in operator ()()
41 a.wait(T(1)); in operator ()()
44 ASSERT_NOEXCEPT(a.wait(T(0))); in operator ()()
47 a.wait(T(0), std::memory_order_seq_cst); in operator ()()
52 a.wait(T(3), std::memory_order_seq_cst); in operator ()()
55 ASSERT_NOEXCEPT(a.wait(T(0), std::memory_order_seq_cst)); in operator ()()
63 x.wait(T(255), std::memory_order::acquire); in operator ()()
74 x.wait(T(255)); in operator ()()
79 x.wait(T(255), std::memory_order::seq_cst); in operator ()()
/llvm-project/openmp/runtime/test/tasking/
H A Domp_task_priority2.c61 int wait = 0; in main() local
65 wait = passed; in main()
66 } while (wait < 5); in main()
111 int wait = 0; in main() local
115 wait = passed; in main()
116 } while (wait < 10); // passed = 6 + 4 = 10 in main()
119 int wait = 0; in main() local
123 wait = passed; in main()
124 } while (wait < 6); in main()
/llvm-project/libcxx/test/libcxx/thread/
H A Datomic.availability.verify.cpp22 i.wait(4); // expected-error {{is unavailable}} in f()
23 i.wait(4, m); // expected-error {{is unavailable}} in f()
37 i.wait(4); // expected-error {{is unavailable}} in f()
38 i.wait(4, m); // expected-error {{is unavailable}} in f()
52 flag.wait(b); // expected-error {{is unavailable}} in f()
53 flag.wait(b, m); // expected-error {{is unavailable}} in f()
67 flag.wait(b); // expected-error {{is unavailable}} in f()
68 flag.wait(b, m); // expected-error {{is unavailable}} in f()
/llvm-project/libc/test/integration/src/unistd/
H A DCMakeLists.txt30 libc.src.sys.wait.wait
31 libc.src.sys.wait.wait4
32 libc.src.sys.wait.waitpid
55 libc.src.sys.wait.wait
56 libc.src.sys.wait.wait4
57 libc.src.sys.wait.waitpid
98 libc.src.sys.wait.waitpid
115 libc.src.sys.wait
[all...]
/llvm-project/llvm/test/CodeGen/X86/
H A Dfp-strict-libcalls-msvc32.ll10 ; CHECK-NEXT: wait
14 ; CHECK-NEXT: wait
27 ; CHECK-NEXT: wait
31 ; CHECK-NEXT: wait
44 ; CHECK-NEXT: wait
48 ; CHECK-NEXT: wait
61 ; CHECK-NEXT: wait
65 ; CHECK-NEXT: wait
81 ; CHECK-NEXT: wait
85 ; CHECK-NEXT: wait
[all...]
H A Dfp80-strict-libcalls.ll15 ; X86-NEXT: wait
29 ; X64-NEXT: wait
46 ; X86-NEXT: wait
58 ; X64-NEXT: wait
73 ; X86-NEXT: wait
83 ; X64-NEXT: wait
98 ; X86-NEXT: wait
108 ; X64-NEXT: wait
123 ; X86-NEXT: wait
133 ; X64-NEXT: wait
[all...]
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/bugprone/
H A Dinfinite-loop.cpp392 void wait(void) { in wait() function
402 wait(); in lambda_capture_from_outside()
413 wait(); in lambda_capture_from_outside_by_value()
424 wait(); in lambda_capture_from_outside_but_unchanged()
434 wait(); in block_capture_from_outside()
445 wait(); in block_capture_from_outside_by_value()
456 wait(); in block_capture_from_outside_but_unchanged()
467 wait(); in lambda_capture_with_loop_inside_lambda_bad()
479 wait(); in lambda_capture_with_loop_inside_lambda_bad_init_capture()
490 wait(); // No warning: the variable may be updated in lambda_capture_with_loop_inside_lambda_good()
[all …]
/llvm-project/llvm/unittests/Support/
H A DThreadPool.cpp91 CurrentPhaseCondition.wait( in waitForPhase()
95 /// assertion and ThreadPool destructor would wait() on all threads, which
152 Pool.wait(); in TYPED_TEST()
167 Pool.wait(); in TYPED_TEST()
182 Pool.wait(); in TYPED_TEST()
198 Pool.wait(); in TYPED_TEST()
209 Pool.wait(); in TYPED_TEST()
222 Pool.wait(); in TYPED_TEST()
259 Group1.wait(); in TYPED_TEST()
276 // Start first group and wait fo in TYPED_TEST()
[all...]
/llvm-project/llvm/lib/Support/
H A DGraphWriter.cpp138 StringRef Filename, bool wait, in ExecGraphViewer() argument
140 if (wait) { in ExecGraphViewer()
192 bool llvm::DisplayGraph(StringRef FilenameRef, bool wait, in DisplayGraph() argument
200 wait &= !*ViewBackground; in DisplayGraph()
204 if (wait) in DisplayGraph()
208 if (!ExecGraphViewer(ViewerPath, args, Filename, wait, ErrMsg)) in DisplayGraph()
217 if (!ExecGraphViewer(ViewerPath, args, Filename, wait, ErrMsg)) in DisplayGraph()
228 return ExecGraphViewer(ViewerPath, args, Filename, wait, ErrMsg); in DisplayGraph()
241 return ExecGraphViewer(ViewerPath, args, Filename, wait, ErrMsg); in DisplayGraph()
303 wait = false; in DisplayGraph()
[all …]
/llvm-project/llvm/include/llvm/Support/
H A DThreadPool.h63 virtual void wait() = 0;
70 virtual void wait(ThreadPoolTaskGroup &Group) = 0;
114 asyncEnqueue([Future]() { Future.wait(); }, Group); in asyncImpl()
138 void wait() override;
145 void wait(ThreadPoolTaskGroup &Group) override;
227 void wait() override;
230 void wait(ThreadPoolTaskGroup &Group) override;
271 ~ThreadPoolTaskGroup() { wait(); } in ~ThreadPoolTaskGroup()
281 void wait() { Pool.wait(*this); } in wait() function

12345678910>>...24