Home | History | Annotate | Download | only in Sema

Lines Matching refs:__atomic_load

100   __atomic_load(i, I, memory_order_relaxed); // expected-error {{must be a pointer to a trivially-copyable type}}
101 __atomic_load(I, i, memory_order_relaxed); // expected-warning {{passing '_Atomic(int) *' to parameter of type 'int *'}}
102 __atomic_load(I, *P, memory_order_relaxed);
103 __atomic_load(I, *P, memory_order_relaxed, 42); // expected-error {{too many arguments}}
104 (int)__atomic_load(I, I, memory_order_seq_cst); // expected-error {{operand of type 'void'}}
105 __atomic_load(s1, s2, memory_order_acquire);
273 (void)__atomic_load(p, p, memory_order_relaxed);
274 (void)__atomic_load(p, p, memory_order_acquire);
275 (void)__atomic_load(p, p, memory_order_consume);
276 (void)__atomic_load(p, p, memory_order_release); // expected-warning {{memory order argument to atomic operation is invalid}}
277 (void)__atomic_load(p, p, memory_order_acq_rel); // expected-warning {{memory order argument to atomic operation is invalid}}
278 (void)__atomic_load(p, p, memory_order_seq_cst);