Lines Matching refs:memory_order_acquire
6 memory_order_relaxed, memory_order_consume, memory_order_acquire,
105 __atomic_load(s1, s2, memory_order_acquire);
173 __c11_atomic_load(&const_atomic, memory_order_acquire); // expected-error {{address argument to atomic operation must be a pointer to non-const _Atomic type ('const _Atomic(int) *' invalid)}}
187 (void)__c11_atomic_load(Ap, memory_order_acquire);
197 (void)__c11_atomic_store(Ap, val, memory_order_acquire); // expected-warning {{memory order argument to atomic operation is invalid}}
204 (void)__c11_atomic_fetch_add(Ap, 1, memory_order_acquire);
218 (void)__c11_atomic_fetch_sub(Ap, val, memory_order_acquire);
225 (void)__c11_atomic_fetch_and(Ap, val, memory_order_acquire);
232 (void)__c11_atomic_fetch_or(Ap, val, memory_order_acquire);
239 (void)__c11_atomic_fetch_xor(Ap, val, memory_order_acquire);
246 (void)__c11_atomic_exchange(Ap, val, memory_order_acquire);
253 (void)__c11_atomic_compare_exchange_strong(Ap, p, val, memory_order_acquire, memory_order_relaxed);
260 (void)__c11_atomic_compare_exchange_weak(Ap, p, val, memory_order_acquire, memory_order_relaxed);
267 (void)__atomic_load_n(p, memory_order_acquire);
274 (void)__atomic_load(p, p, memory_order_acquire);
281 (void)__atomic_store(p, p, memory_order_acquire); // expected-warning {{memory order argument to atomic operation is invalid}}
288 (void)__atomic_store_n(p, val, memory_order_acquire); // expected-warning {{memory order argument to atomic operation is invalid}}
295 (void)__atomic_fetch_add(p, val, memory_order_acquire);
302 (void)__atomic_fetch_sub(p, val, memory_order_acquire);
309 (void)__atomic_add_fetch(p, val, memory_order_acquire);
316 (void)__atomic_sub_fetch(p, val, memory_order_acquire);
323 (void)__atomic_fetch_and(p, val, memory_order_acquire);
330 (void)__atomic_fetch_or(p, val, memory_order_acquire);
337 (void)__atomic_fetch_xor(p, val, memory_order_acquire);
344 (void)__atomic_fetch_nand(p, val, memory_order_acquire);
351 (void)__atomic_and_fetch(p, val, memory_order_acquire);
358 (void)__atomic_or_fetch(p, val, memory_order_acquire);
365 (void)__atomic_xor_fetch(p, val, memory_order_acquire);
372 (void)__atomic_nand_fetch(p, val, memory_order_acquire);
379 (void)__atomic_exchange_n(p, val, memory_order_acquire);
386 (void)__atomic_exchange(p, p, p, memory_order_acquire);
393 (void)__atomic_compare_exchange(p, p, p, 0, memory_order_acquire, memory_order_relaxed);
400 (void)__atomic_compare_exchange_n(p, p, val, 0, memory_order_acquire, memory_order_relaxed);