Home | History | Annotate | Download | only in Sema

Lines Matching full:memory_order_release

126   __atomic_store_n(I, 4, memory_order_release);
127 __atomic_store_n(I, 4.0, memory_order_release);
128 __atomic_store_n(CI, 4, memory_order_release); // expected-error {{address argument to atomic operation must be a pointer to non-const type ('const int *' invalid)}}
129 __atomic_store_n(I, P, memory_order_release); // expected-warning {{parameter of type 'int'}}
130 __atomic_store_n(i, 1, memory_order_release); // expected-error {{must be a pointer to integer or pointer}}
131 __atomic_store_n(s1, *s2, memory_order_release); // expected-error {{must be a pointer to integer or pointer}}
132 __atomic_store_n(I, I, memory_order_release); // expected-warning {{incompatible pointer to integer conversion passing 'int *' to parameter of type 'int'; dereference with *}}
134 __atomic_store(I, *P, memory_order_release);
135 __atomic_store(CI, I, memory_order_release); // expected-error {{address argument to atomic operation must be a pointer to non-const type ('const int *' invalid)}}
136 __atomic_store(s1, s2, memory_order_release);
137 __atomic_store(i, I, memory_order_release); // expected-error {{trivially-copyable}}
202 __c11_atomic_store(ci, 0, memory_order_release); // expected-error {{address argument to atomic operation must be a pointer to non-const _Atomic type ('const _Atomic(int) *' invalid)}}
228 k = atomic_exchange_explicit(&n, k, memory_order_release);
242 k = atomic_fetch_sub_explicit(&n, k, memory_order_release);
275 (void)__c11_atomic_load(Ap, memory_order_release); // expected-warning {{memory order argument to atomic operation is invalid}}
285 (void)__c11_atomic_store(Ap, val, memory_order_release);
292 (void)__c11_atomic_fetch_add(Ap, 1, memory_order_release);
310 (void)__c11_atomic_fetch_sub(Ap, val, memory_order_release);
317 (void)__c11_atomic_fetch_and(Ap, val, memory_order_release);
324 (void)__c11_atomic_fetch_or(Ap, val, memory_order_release);
331 (void)__c11_atomic_fetch_xor(Ap, val, memory_order_release);
338 (void)__c11_atomic_exchange(Ap, val, memory_order_release);
345 (void)__c11_atomic_compare_exchange_strong(Ap, p, val, memory_order_release, memory_order_relaxed);
352 (void)__c11_atomic_compare_exchange_weak(Ap, p, val, memory_order_release, memory_order_relaxed);
359 (void)__atomic_load_n(p, memory_order_release); // expected-warning {{memory order argument to atomic operation is invalid}}
366 (void)__atomic_load(p, p, memory_order_release); // expected-warning {{memory order argument to atomic operation is invalid}}
373 (void)__atomic_store(p, p, memory_order_release);
380 (void)__atomic_store_n(p, val, memory_order_release);
387 (void)__atomic_fetch_add(p, val, memory_order_release);
394 (void)__atomic_fetch_sub(p, val, memory_order_release);
401 (void)__atomic_add_fetch(p, val, memory_order_release);
408 (void)__atomic_sub_fetch(p, val, memory_order_release);
415 (void)__atomic_fetch_and(p, val, memory_order_release);
422 (void)__atomic_fetch_or(p, val, memory_order_release);
429 (void)__atomic_fetch_xor(p, val, memory_order_release);
436 (void)__atomic_fetch_nand(p, val, memory_order_release);
443 (void)__atomic_and_fetch(p, val, memory_order_release);
450 (void)__atomic_or_fetch(p, val, memory_order_release);
457 (void)__atomic_xor_fetch(p, val, memory_order_release);
464 (void)__atomic_nand_fetch(p, val, memory_order_release);
471 (void)__atomic_exchange_n(p, val, memory_order_release);
478 (void)__atomic_exchange(p, p, p, memory_order_release);
485 (void)__atomic_compare_exchange(p, p, p, 0, memory_order_release, memory_order_relaxed);
492 (void)__atomic_compare_exchange_n(p, p, val, 0, memory_order_release, memory_order_relaxed);