Searched defs:memory_order_seq_cst (Results 1 - 10 of 10) sorted by relevance

/external/clang/test/CodeGen/
H A Datomic-ops-libcall.c5 memory_order_release, memory_order_acq_rel, memory_order_seq_cst enumerator in enum:memory_order
11 return __c11_atomic_fetch_add(p, 3, memory_order_seq_cst);
17 return __c11_atomic_fetch_sub(p, 5, memory_order_seq_cst);
23 return __c11_atomic_fetch_add(p, 3, memory_order_seq_cst);
29 return __c11_atomic_fetch_sub(p, 5, memory_order_seq_cst);
H A Darm-atomics-m.c8 memory_order_release, memory_order_acq_rel, memory_order_seq_cst enumerator in enum:memory_order
15 __atomic_fetch_add(&i, 1, memory_order_seq_cst);
17 __atomic_fetch_sub(&i, 1, memory_order_seq_cst);
20 __atomic_load(&i, &r, memory_order_seq_cst);
23 __atomic_store(&i, &r, memory_order_seq_cst);
26 __atomic_fetch_add(&l, 1, memory_order_seq_cst);
28 __atomic_fetch_sub(&l, 1, memory_order_seq_cst);
31 __atomic_load(&l, &rl, memory_order_seq_cst);
34 __atomic_store(&l, &rl, memory_order_seq_cst);
H A Darm-atomics-m0.c8 memory_order_release, memory_order_acq_rel, memory_order_seq_cst enumerator in enum:memory_order
15 __atomic_fetch_add(&i, 1, memory_order_seq_cst);
17 __atomic_fetch_sub(&i, 1, memory_order_seq_cst);
20 __atomic_load(&i, &r, memory_order_seq_cst);
23 __atomic_store(&i, &r, memory_order_seq_cst);
26 __atomic_fetch_add(&l, 1, memory_order_seq_cst);
28 __atomic_fetch_sub(&l, 1, memory_order_seq_cst);
31 __atomic_load(&l, &rl, memory_order_seq_cst);
34 __atomic_store(&l, &rl, memory_order_seq_cst);
H A Darm-atomics.c10 memory_order_release, memory_order_acq_rel, memory_order_seq_cst enumerator in enum:memory_order
17 __atomic_fetch_add(&i, 1, memory_order_seq_cst);
19 __atomic_fetch_sub(&i, 1, memory_order_seq_cst);
22 __atomic_load(&i, &r, memory_order_seq_cst);
25 __atomic_store(&i, &r, memory_order_seq_cst);
28 __atomic_fetch_add(&l, 1, memory_order_seq_cst);
30 __atomic_fetch_sub(&l, 1, memory_order_seq_cst);
33 __atomic_load(&l, &rl, memory_order_seq_cst);
36 __atomic_store(&l, &rl, memory_order_seq_cst);
H A Datomic-arm64.c10 memory_order_seq_cst = 5 enumerator in enum:__anon18614
30 __c11_atomic_store(&a_bool, 1, memory_order_seq_cst);
40 __c11_atomic_store(&a_float, 3, memory_order_seq_cst);
50 __c11_atomic_store(&a_pointer, &a_bool, memory_order_seq_cst);
61 __c11_atomic_store(&a_pointer_pair, pair, memory_order_seq_cst);
72 __c11_atomic_store(&a_pointer_quad, quad, memory_order_seq_cst);
H A Datomics-inlining.c19 memory_order_seq_cst enumerator in enum:memory_order
23 (void)__atomic_load(&c1, &c2, memory_order_seq_cst);
24 (void)__atomic_store(&c1, &c2, memory_order_seq_cst);
25 (void)__atomic_load(&s1, &s2, memory_order_seq_cst);
26 (void)__atomic_store(&s1, &s2, memory_order_seq_cst);
27 (void)__atomic_load(&i1, &i2, memory_order_seq_cst);
28 (void)__atomic_store(&i1, &i2, memory_order_seq_cst);
29 (void)__atomic_load(&ll1, &ll2, memory_order_seq_cst);
30 (void)__atomic_store(&ll1, &ll2, memory_order_seq_cst);
31 (void)__atomic_load(&a1, &a2, memory_order_seq_cst);
[all...]
H A Dbig-atomic-ops.c14 memory_order_release, memory_order_acq_rel, memory_order_seq_cst enumerator in enum:memory_order
20 return __c11_atomic_load(i, memory_order_seq_cst);
27 __atomic_load(i, &v, memory_order_seq_cst);
34 return __atomic_load_n(i, memory_order_seq_cst);
40 __c11_atomic_store(i, 1, memory_order_seq_cst);
47 __atomic_store(i, &v, memory_order_seq_cst);
53 __atomic_store_n(i, 1, memory_order_seq_cst);
60 return __c11_atomic_fetch_and(i, 1, memory_order_seq_cst);
67 return __atomic_fetch_xor(i, 1, memory_order_seq_cst);
74 return __atomic_add_fetch(i, 1, memory_order_seq_cst);
[all...]
H A Datomic-ops.c14 memory_order_release, memory_order_acq_rel, memory_order_seq_cst enumerator in enum:memory_order
20 return __c11_atomic_load(i, memory_order_seq_cst);
27 __atomic_load(i, &v, memory_order_seq_cst);
34 return __atomic_load_n(i, memory_order_seq_cst);
40 __c11_atomic_store(i, 1, memory_order_seq_cst);
47 __atomic_store(i, &v, memory_order_seq_cst);
53 __atomic_store_n(i, 1, memory_order_seq_cst);
60 return __c11_atomic_fetch_and(i, 1, memory_order_seq_cst);
67 return __atomic_fetch_xor(i, 1, memory_order_seq_cst);
74 return __atomic_add_fetch(i, 1, memory_order_seq_cst);
[all...]
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_atomic.h27 memory_order_seq_cst = 1 << 5 enumerator in enum:__sanitizer::memory_order
/external/clang/test/Sema/
H A Datomic-ops.c7 memory_order_release, memory_order_acq_rel, memory_order_seq_cst enumerator in enum:memory_order
91 __c11_atomic_load(i, memory_order_seq_cst);
92 __c11_atomic_load(p, memory_order_seq_cst);
93 __c11_atomic_load(d, memory_order_seq_cst);
104 (int)__atomic_load(I, I, memory_order_seq_cst); // expected-error {{operand of type 'void'}}
107 __c11_atomic_store(i, 1, memory_order_seq_cst);
108 __c11_atomic_store(p, 1, memory_order_seq_cst); // expected-warning {{incompatible integer to pointer conversion}}
109 (int)__c11_atomic_store(d, 1, memory_order_seq_cst); // expected-error {{operand of type 'void'}}
121 int exchange_1 = __c11_atomic_exchange(i, 1, memory_order_seq_cst);
122 int exchange_2 = __c11_atomic_exchange(I, 1, memory_order_seq_cst); // expecte
[all...]

Completed in 210 milliseconds