Lines Matching refs:memory_order_seq_cst
105 __c11_atomic_load(i, memory_order_seq_cst); in f()
106 __c11_atomic_load(p, memory_order_seq_cst); in f()
107 __c11_atomic_load(d, memory_order_seq_cst); in f()
108 …__c11_atomic_load(ci, memory_order_seq_cst); // expected-error {{address argument to atomic operat… in f()
122 (int)__atomic_load(I, I, memory_order_seq_cst); // expected-error {{operand of type 'void'}} in f()
128 __c11_atomic_store(i, 1, memory_order_seq_cst); in f()
129 …__c11_atomic_store(p, 1, memory_order_seq_cst); // expected-warning {{incompatible integer to poin… in f()
130 (int)__c11_atomic_store(d, 1, memory_order_seq_cst); // expected-error {{operand of type 'void'}} in f()
145 int exchange_1 = __c11_atomic_exchange(i, 1, memory_order_seq_cst); in f()
146 …int exchange_2 = __c11_atomic_exchange(I, 1, memory_order_seq_cst); // expected-error {{must be a … in f()
147 …int exchange_3 = __atomic_exchange_n(i, 1, memory_order_seq_cst); // expected-error {{must be a po… in f()
148 int exchange_4 = __atomic_exchange_n(I, 1, memory_order_seq_cst); in f()
150 __atomic_exchange(s1, s2, s2, memory_order_seq_cst); in f()
151 …__atomic_exchange(s1, I, P, memory_order_seq_cst); // expected-warning 2{{parameter of type 'struc… in f()
152 …(int)__atomic_exchange(s1, s2, s2, memory_order_seq_cst); // expected-error {{operand of type 'voi… in f()
153 __atomic_exchange(I, I, I, memory_order_seq_cst); in f()
154 …__atomic_exchange(CI, I, I, memory_order_seq_cst); // expected-error {{address argument to atomic … in f()
155 …__atomic_exchange(I, I, CI, memory_order_seq_cst); // expected-warning {{passing 'const int *' to … in f()
157 __c11_atomic_fetch_add(i, 1, memory_order_seq_cst); in f()
158 __c11_atomic_fetch_add(p, 1, memory_order_seq_cst); in f()
159 …__c11_atomic_fetch_add(d, 1, memory_order_seq_cst); // expected-error {{must be a pointer to atomi… in f()
161 …__atomic_fetch_add(i, 3, memory_order_seq_cst); // expected-error {{pointer to integer or pointer}} in f()
162 __atomic_fetch_sub(I, 3, memory_order_seq_cst); in f()
163 __atomic_fetch_sub(P, 3, memory_order_seq_cst); in f()
164 …__atomic_fetch_sub(D, 3, memory_order_seq_cst); // expected-error {{must be a pointer to integer o… in f()
165 …__atomic_fetch_sub(s1, 3, memory_order_seq_cst); // expected-error {{must be a pointer to integer … in f()
167 __c11_atomic_fetch_and(i, 1, memory_order_seq_cst); in f()
168 …__c11_atomic_fetch_and(p, 1, memory_order_seq_cst); // expected-error {{must be a pointer to atomi… in f()
169 …__c11_atomic_fetch_and(d, 1, memory_order_seq_cst); // expected-error {{must be a pointer to atomi… in f()
171 __atomic_fetch_and(i, 3, memory_order_seq_cst); // expected-error {{pointer to integer}} in f()
172 __atomic_fetch_or(I, 3, memory_order_seq_cst); in f()
173 __atomic_fetch_xor(P, 3, memory_order_seq_cst); // expected-error {{must be a pointer to integer}} in f()
174 __atomic_fetch_or(D, 3, memory_order_seq_cst); // expected-error {{must be a pointer to integer}} in f()
175 …__atomic_fetch_and(s1, 3, memory_order_seq_cst); // expected-error {{must be a pointer to integer}} in f()
177 …exch_1 = __c11_atomic_compare_exchange_strong(i, 0, 1, memory_order_seq_cst, memory_order_seq_cst); in f()
178 … = __c11_atomic_compare_exchange_strong(p, 0, (int*)1, memory_order_seq_cst, memory_order_seq_cst); in f()
179 … = __c11_atomic_compare_exchange_strong(d, (int*)0, 1, memory_order_seq_cst, memory_order_seq_cst)… in f()
180 …(void)__c11_atomic_compare_exchange_strong(i, CI, 1, memory_order_seq_cst, memory_order_seq_cst); … in f()
182 …pexchw_1 = __c11_atomic_compare_exchange_weak(i, 0, 1, memory_order_seq_cst, memory_order_seq_cst); in f()
183 …_2 = __c11_atomic_compare_exchange_weak(p, 0, (int*)1, memory_order_seq_cst, memory_order_seq_cst); in f()
184 …_3 = __c11_atomic_compare_exchange_weak(d, (int*)0, 1, memory_order_seq_cst, memory_order_seq_cst)… in f()
185 …(void)__c11_atomic_compare_exchange_weak(i, CI, 1, memory_order_seq_cst, memory_order_seq_cst); //… in f()
187 …ol cmpexch_4 = __atomic_compare_exchange_n(I, I, 5, 1, memory_order_seq_cst, memory_order_seq_cst); in f()
188 …ol cmpexch_5 = __atomic_compare_exchange_n(I, P, 5, 0, memory_order_seq_cst, memory_order_seq_cst)… in f()
189 …ol cmpexch_6 = __atomic_compare_exchange_n(I, I, P, 0, memory_order_seq_cst, memory_order_seq_cst)… in f()
190 …(void)__atomic_compare_exchange_n(CI, I, 5, 1, memory_order_seq_cst, memory_order_seq_cst); // exp… in f()
191 …(void)__atomic_compare_exchange_n(I, CI, 5, 1, memory_order_seq_cst, memory_order_seq_cst); // exp… in f()
193 …Bool cmpexch_7 = __atomic_compare_exchange(I, I, 5, 1, memory_order_seq_cst, memory_order_seq_cst)… in f()
194 …Bool cmpexch_8 = __atomic_compare_exchange(I, P, I, 0, memory_order_seq_cst, memory_order_seq_cst)… in f()
195 …Bool cmpexch_9 = __atomic_compare_exchange(I, I, I, 0, memory_order_seq_cst, memory_order_seq_cst); in f()
196 …(void)__atomic_compare_exchange(CI, I, I, 0, memory_order_seq_cst, memory_order_seq_cst); // expec… in f()
197 …(void)__atomic_compare_exchange(I, CI, I, 0, memory_order_seq_cst, memory_order_seq_cst); // expec… in f()
200 …trong((_Atomic int _AS1 *)0x308, (int _AS2 *)0x309, 1, memory_order_seq_cst, memory_order_seq_cst); in f()
204 …(void)(int)__atomic_test_and_set(&flag_k, memory_order_seq_cst); // expected-warning {{passing 'co… in f()
205 (void)(int)__atomic_test_and_set(&flag, memory_order_seq_cst); in f()
206 …__atomic_clear(&flag_k, memory_order_seq_cst); // expected-warning {{passing 'const volatile int *… in f()
207 __atomic_clear(&flag, memory_order_seq_cst); in f()
208 (int)__atomic_clear(&flag, memory_order_seq_cst); // expected-error {{operand of type 'void'}} in f()
227 atomic_thread_fence(memory_order_seq_cst); in f()
228 atomic_signal_fence(memory_order_seq_cst); in f()
241 …atomic_compare_exchange_strong_explicit(&n, &k, k, memory_order_seq_cst); // expected-error {{too … in f()
242 atomic_compare_exchange_weak_explicit(&n, &k, k, memory_order_seq_cst, memory_order_acquire); in f()
286 (void)__c11_atomic_load(Ap, memory_order_seq_cst); in memory_checks()
296 (void)__c11_atomic_store(Ap, val, memory_order_seq_cst); in memory_checks()
303 (void)__c11_atomic_fetch_add(Ap, 1, memory_order_seq_cst); in memory_checks()
307 1, memory_order_seq_cst); in memory_checks()
321 (void)__c11_atomic_fetch_sub(Ap, val, memory_order_seq_cst); in memory_checks()
328 (void)__c11_atomic_fetch_and(Ap, val, memory_order_seq_cst); in memory_checks()
335 (void)__c11_atomic_fetch_or(Ap, val, memory_order_seq_cst); in memory_checks()
342 (void)__c11_atomic_fetch_xor(Ap, val, memory_order_seq_cst); in memory_checks()
349 (void)__c11_atomic_exchange(Ap, val, memory_order_seq_cst); in memory_checks()
356 …(void)__c11_atomic_compare_exchange_strong(Ap, p, val, memory_order_seq_cst, memory_order_relaxed); in memory_checks()
363 (void)__c11_atomic_compare_exchange_weak(Ap, p, val, memory_order_seq_cst, memory_order_relaxed); in memory_checks()
370 (void)__atomic_load_n(p, memory_order_seq_cst); in memory_checks()
377 (void)__atomic_load(p, p, memory_order_seq_cst); in memory_checks()
384 (void)__atomic_store(p, p, memory_order_seq_cst); in memory_checks()
391 (void)__atomic_store_n(p, val, memory_order_seq_cst); in memory_checks()
398 (void)__atomic_fetch_add(p, val, memory_order_seq_cst); in memory_checks()
405 (void)__atomic_fetch_sub(p, val, memory_order_seq_cst); in memory_checks()
412 (void)__atomic_add_fetch(p, val, memory_order_seq_cst); in memory_checks()
419 (void)__atomic_sub_fetch(p, val, memory_order_seq_cst); in memory_checks()
426 (void)__atomic_fetch_and(p, val, memory_order_seq_cst); in memory_checks()
433 (void)__atomic_fetch_or(p, val, memory_order_seq_cst); in memory_checks()
440 (void)__atomic_fetch_xor(p, val, memory_order_seq_cst); in memory_checks()
447 (void)__atomic_fetch_nand(p, val, memory_order_seq_cst); in memory_checks()
454 (void)__atomic_and_fetch(p, val, memory_order_seq_cst); in memory_checks()
461 (void)__atomic_or_fetch(p, val, memory_order_seq_cst); in memory_checks()
468 (void)__atomic_xor_fetch(p, val, memory_order_seq_cst); in memory_checks()
475 (void)__atomic_nand_fetch(p, val, memory_order_seq_cst); in memory_checks()
482 (void)__atomic_exchange_n(p, val, memory_order_seq_cst); in memory_checks()
489 (void)__atomic_exchange(p, p, p, memory_order_seq_cst); in memory_checks()
496 (void)__atomic_compare_exchange(p, p, p, 0, memory_order_seq_cst, memory_order_relaxed); in memory_checks()
503 (void)__atomic_compare_exchange_n(p, p, val, 0, memory_order_seq_cst, memory_order_relaxed); in memory_checks()