Lines Matching refs:Ap
280 void memory_checks(_Atomic(int) *Ap, int *p, int val) { in memory_checks() argument
281 (void)__c11_atomic_load(Ap, memory_order_relaxed); in memory_checks()
282 (void)__c11_atomic_load(Ap, memory_order_acquire); in memory_checks()
283 (void)__c11_atomic_load(Ap, memory_order_consume); in memory_checks()
284 …(void)__c11_atomic_load(Ap, memory_order_release); // expected-warning {{memory order argument to … in memory_checks()
285 …(void)__c11_atomic_load(Ap, memory_order_acq_rel); // expected-warning {{memory order argument to … in memory_checks()
286 (void)__c11_atomic_load(Ap, memory_order_seq_cst); in memory_checks()
287 (void)__c11_atomic_load(Ap, val); in memory_checks()
288 …(void)__c11_atomic_load(Ap, -1); // expected-warning {{memory order argument to atomic operation i… in memory_checks()
289 …(void)__c11_atomic_load(Ap, 42); // expected-warning {{memory order argument to atomic operation i… in memory_checks()
291 (void)__c11_atomic_store(Ap, val, memory_order_relaxed); in memory_checks()
292 …(void)__c11_atomic_store(Ap, val, memory_order_acquire); // expected-warning {{memory order argume… in memory_checks()
293 …(void)__c11_atomic_store(Ap, val, memory_order_consume); // expected-warning {{memory order argume… in memory_checks()
294 (void)__c11_atomic_store(Ap, val, memory_order_release); in memory_checks()
295 …(void)__c11_atomic_store(Ap, val, memory_order_acq_rel); // expected-warning {{memory order argume… in memory_checks()
296 (void)__c11_atomic_store(Ap, val, memory_order_seq_cst); in memory_checks()
298 (void)__c11_atomic_fetch_add(Ap, 1, memory_order_relaxed); in memory_checks()
299 (void)__c11_atomic_fetch_add(Ap, 1, memory_order_acquire); in memory_checks()
300 (void)__c11_atomic_fetch_add(Ap, 1, memory_order_consume); in memory_checks()
301 (void)__c11_atomic_fetch_add(Ap, 1, memory_order_release); in memory_checks()
302 (void)__c11_atomic_fetch_add(Ap, 1, memory_order_acq_rel); in memory_checks()
303 (void)__c11_atomic_fetch_add(Ap, 1, memory_order_seq_cst); in memory_checks()
309 (void)__c11_atomic_init(Ap, val); in memory_checks()
310 (void)__c11_atomic_init(Ap, val); in memory_checks()
311 (void)__c11_atomic_init(Ap, val); in memory_checks()
312 (void)__c11_atomic_init(Ap, val); in memory_checks()
313 (void)__c11_atomic_init(Ap, val); in memory_checks()
314 (void)__c11_atomic_init(Ap, val); in memory_checks()
316 (void)__c11_atomic_fetch_sub(Ap, val, memory_order_relaxed); in memory_checks()
317 (void)__c11_atomic_fetch_sub(Ap, val, memory_order_acquire); in memory_checks()
318 (void)__c11_atomic_fetch_sub(Ap, val, memory_order_consume); in memory_checks()
319 (void)__c11_atomic_fetch_sub(Ap, val, memory_order_release); in memory_checks()
320 (void)__c11_atomic_fetch_sub(Ap, val, memory_order_acq_rel); in memory_checks()
321 (void)__c11_atomic_fetch_sub(Ap, val, memory_order_seq_cst); in memory_checks()
323 (void)__c11_atomic_fetch_and(Ap, val, memory_order_relaxed); in memory_checks()
324 (void)__c11_atomic_fetch_and(Ap, val, memory_order_acquire); in memory_checks()
325 (void)__c11_atomic_fetch_and(Ap, val, memory_order_consume); in memory_checks()
326 (void)__c11_atomic_fetch_and(Ap, val, memory_order_release); in memory_checks()
327 (void)__c11_atomic_fetch_and(Ap, val, memory_order_acq_rel); in memory_checks()
328 (void)__c11_atomic_fetch_and(Ap, val, memory_order_seq_cst); in memory_checks()
330 (void)__c11_atomic_fetch_or(Ap, val, memory_order_relaxed); in memory_checks()
331 (void)__c11_atomic_fetch_or(Ap, val, memory_order_acquire); in memory_checks()
332 (void)__c11_atomic_fetch_or(Ap, val, memory_order_consume); in memory_checks()
333 (void)__c11_atomic_fetch_or(Ap, val, memory_order_release); in memory_checks()
334 (void)__c11_atomic_fetch_or(Ap, val, memory_order_acq_rel); in memory_checks()
335 (void)__c11_atomic_fetch_or(Ap, val, memory_order_seq_cst); in memory_checks()
337 (void)__c11_atomic_fetch_xor(Ap, val, memory_order_relaxed); in memory_checks()
338 (void)__c11_atomic_fetch_xor(Ap, val, memory_order_acquire); in memory_checks()
339 (void)__c11_atomic_fetch_xor(Ap, val, memory_order_consume); in memory_checks()
340 (void)__c11_atomic_fetch_xor(Ap, val, memory_order_release); in memory_checks()
341 (void)__c11_atomic_fetch_xor(Ap, val, memory_order_acq_rel); in memory_checks()
342 (void)__c11_atomic_fetch_xor(Ap, val, memory_order_seq_cst); in memory_checks()
344 (void)__c11_atomic_exchange(Ap, val, memory_order_relaxed); in memory_checks()
345 (void)__c11_atomic_exchange(Ap, val, memory_order_acquire); in memory_checks()
346 (void)__c11_atomic_exchange(Ap, val, memory_order_consume); in memory_checks()
347 (void)__c11_atomic_exchange(Ap, val, memory_order_release); in memory_checks()
348 (void)__c11_atomic_exchange(Ap, val, memory_order_acq_rel); in memory_checks()
349 (void)__c11_atomic_exchange(Ap, val, memory_order_seq_cst); in memory_checks()
351 …(void)__c11_atomic_compare_exchange_strong(Ap, p, val, memory_order_relaxed, memory_order_relaxed); in memory_checks()
352 …(void)__c11_atomic_compare_exchange_strong(Ap, p, val, memory_order_acquire, memory_order_relaxed); in memory_checks()
353 …(void)__c11_atomic_compare_exchange_strong(Ap, p, val, memory_order_consume, memory_order_relaxed); in memory_checks()
354 …(void)__c11_atomic_compare_exchange_strong(Ap, p, val, memory_order_release, memory_order_relaxed); in memory_checks()
355 …(void)__c11_atomic_compare_exchange_strong(Ap, p, val, memory_order_acq_rel, memory_order_relaxed); in memory_checks()
356 …(void)__c11_atomic_compare_exchange_strong(Ap, p, val, memory_order_seq_cst, memory_order_relaxed); in memory_checks()
358 (void)__c11_atomic_compare_exchange_weak(Ap, p, val, memory_order_relaxed, memory_order_relaxed); in memory_checks()
359 (void)__c11_atomic_compare_exchange_weak(Ap, p, val, memory_order_acquire, memory_order_relaxed); in memory_checks()
360 (void)__c11_atomic_compare_exchange_weak(Ap, p, val, memory_order_consume, memory_order_relaxed); in memory_checks()
361 (void)__c11_atomic_compare_exchange_weak(Ap, p, val, memory_order_release, memory_order_relaxed); in memory_checks()
362 (void)__c11_atomic_compare_exchange_weak(Ap, p, val, memory_order_acq_rel, 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()