/external/clang/test/Sema/ |
D | atomic-ops.c | 253 k = atomic_fetch_or_explicit(&n, k, memory_order_consume); in f() 283 (void)__c11_atomic_load(Ap, memory_order_consume); in memory_checks() 293 …(void)__c11_atomic_store(Ap, val, memory_order_consume); // expected-warning {{memory order argume… in memory_checks() 300 (void)__c11_atomic_fetch_add(Ap, 1, memory_order_consume); in memory_checks() 318 (void)__c11_atomic_fetch_sub(Ap, val, memory_order_consume); in memory_checks() 325 (void)__c11_atomic_fetch_and(Ap, val, memory_order_consume); in memory_checks() 332 (void)__c11_atomic_fetch_or(Ap, val, memory_order_consume); in memory_checks() 339 (void)__c11_atomic_fetch_xor(Ap, val, memory_order_consume); in memory_checks() 346 (void)__c11_atomic_exchange(Ap, val, memory_order_consume); in memory_checks() 353 …(void)__c11_atomic_compare_exchange_strong(Ap, p, val, memory_order_consume, memory_order_relaxed); in memory_checks() [all …]
|
/external/llvm-project/clang/test/Sema/ |
D | atomic-ops.c | 266 k = atomic_fetch_or_explicit(&n, k, memory_order_consume); in f() 296 (void)__c11_atomic_load(Ap, memory_order_consume); in memory_checks() 306 …(void)__c11_atomic_store(Ap, val, memory_order_consume); // expected-warning {{memory order argume… in memory_checks() 313 (void)__c11_atomic_fetch_add(Ap, 1, memory_order_consume); in memory_checks() 331 (void)__c11_atomic_fetch_sub(Ap, val, memory_order_consume); in memory_checks() 338 (void)__c11_atomic_fetch_and(Ap, val, memory_order_consume); in memory_checks() 345 (void)__c11_atomic_fetch_or(Ap, val, memory_order_consume); in memory_checks() 352 (void)__c11_atomic_fetch_xor(Ap, val, memory_order_consume); in memory_checks() 359 (void)__c11_atomic_fetch_min(Ap, val, memory_order_consume); in memory_checks() 366 (void)__c11_atomic_fetch_max(Ap, val, memory_order_consume); in memory_checks() [all …]
|
/external/llvm-project/libcxx/test/libcxx/atomics/ |
D | diagnose_invalid_memory_order.verify.cpp | 35 x.load(std::memory_order_consume); in main() 46 std::atomic_load_explicit(&x, std::memory_order_consume); in main() 52 …x.store(42, std::memory_order_consume); // expected-warning {{memory order argument to atomic oper… in main() 55 …vx.store(42, std::memory_order_consume); // expected-warning {{memory order argument to atomic ope… in main() 64 …std::atomic_store_explicit(&x, 42, std::memory_order_consume); // expected-warning {{memory order … in main() 67 …std::atomic_store_explicit(&vx, 42, std::memory_order_consume); // expected-warning {{memory order… in main() 83 x.compare_exchange_weak(val1, val2, std::memory_order_seq_cst, std::memory_order_consume); in main() 97 …pare_exchange_weak_explicit(&x, &val1, val2, std::memory_order_seq_cst, std::memory_order_consume); in main() 109 x.compare_exchange_strong(val1, val2, std::memory_order_seq_cst, std::memory_order_consume); in main() 123 …re_exchange_strong_explicit(&x, &val1, val2, std::memory_order_seq_cst, std::memory_order_consume); in main()
|
/external/libcxx/test/libcxx/atomics/ |
D | diagnose_invalid_memory_order.fail.cpp | 36 x.load(std::memory_order_consume); in main() 47 std::atomic_load_explicit(&x, std::memory_order_consume); in main() 53 …x.store(42, std::memory_order_consume); // expected-warning {{memory order argument to atomic oper… in main() 56 …vx.store(42, std::memory_order_consume); // expected-warning {{memory order argument to atomic ope… in main() 65 …std::atomic_store_explicit(&x, 42, std::memory_order_consume); // expected-warning {{memory order … in main() 68 …std::atomic_store_explicit(&vx, 42, std::memory_order_consume); // expected-warning {{memory order… in main() 84 x.compare_exchange_weak(val1, val2, std::memory_order_seq_cst, std::memory_order_consume); in main() 98 …pare_exchange_weak_explicit(&x, &val1, val2, std::memory_order_seq_cst, std::memory_order_consume); in main() 110 x.compare_exchange_strong(val1, val2, std::memory_order_seq_cst, std::memory_order_consume); in main() 124 …re_exchange_strong_explicit(&x, &val1, val2, std::memory_order_seq_cst, std::memory_order_consume); in main()
|
/external/scudo/standalone/tests/ |
D | atomic_test.cpp | 51 checkStoreLoad<atomic_u8, memory_order_consume, memory_order_relaxed>(); in TEST() 57 checkStoreLoad<atomic_u16, memory_order_consume, memory_order_relaxed>(); in TEST() 63 checkStoreLoad<atomic_u32, memory_order_consume, memory_order_relaxed>(); in TEST() 69 checkStoreLoad<atomic_u64, memory_order_consume, memory_order_relaxed>(); in TEST() 75 checkStoreLoad<atomic_uptr, memory_order_consume, memory_order_relaxed>(); in TEST()
|
/external/llvm-project/compiler-rt/lib/scudo/standalone/tests/ |
D | atomic_test.cpp | 51 checkStoreLoad<atomic_u8, memory_order_consume, memory_order_relaxed>(); in TEST() 57 checkStoreLoad<atomic_u16, memory_order_consume, memory_order_relaxed>(); in TEST() 63 checkStoreLoad<atomic_u32, memory_order_consume, memory_order_relaxed>(); in TEST() 69 checkStoreLoad<atomic_u64, memory_order_consume, memory_order_relaxed>(); in TEST() 75 checkStoreLoad<atomic_uptr, memory_order_consume, memory_order_relaxed>(); in TEST()
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_atomic_test.cc | 56 CheckStoreLoad<atomic_uint8_t, memory_order_consume, memory_order_relaxed>(); in TEST() 62 CheckStoreLoad<atomic_uint16_t, memory_order_consume, memory_order_relaxed>(); in TEST() 68 CheckStoreLoad<atomic_uint32_t, memory_order_consume, memory_order_relaxed>(); in TEST() 74 CheckStoreLoad<atomic_uint64_t, memory_order_consume, memory_order_relaxed>(); in TEST() 81 CheckStoreLoad<atomic_uintptr_t, memory_order_consume, memory_order_relaxed> in TEST()
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_atomic_test.cpp | 67 CheckStoreLoad<atomic_uint8_t, memory_order_consume, memory_order_relaxed>(); in TEST() 73 CheckStoreLoad<atomic_uint16_t, memory_order_consume, memory_order_relaxed>(); in TEST() 79 CheckStoreLoad<atomic_uint32_t, memory_order_consume, memory_order_relaxed>(); in TEST() 88 CheckStoreLoad<atomic_uint64_t, memory_order_consume, memory_order_relaxed>(); in TEST() 96 CheckStoreLoad<atomic_uintptr_t, memory_order_consume, memory_order_relaxed> in TEST()
|
/external/llvm-project/libcxx/test/std/atomics/atomics.flag/ |
D | test_and_set.pass.cpp | 40 assert(f.test_and_set(std::memory_order_consume) == 0); in main() 41 assert(f.test_and_set(std::memory_order_consume) == 1); in main() 82 assert(f.test_and_set(std::memory_order_consume) == 0); in main() 83 assert(f.test_and_set(std::memory_order_consume) == 1); in main()
|
D | atomic_flag_test_explicit.pass.cpp | 35 assert(atomic_flag_test_explicit(&f, std::memory_order_consume) == 0); in main() 37 assert(atomic_flag_test_explicit(&f, std::memory_order_consume) == 1); in main() 79 assert(atomic_flag_test_explicit(&f, std::memory_order_consume) == 0); in main() 81 assert(atomic_flag_test_explicit(&f, std::memory_order_consume) == 1); in main()
|
D | atomic_flag_test_and_set_explicit.pass.cpp | 34 assert(atomic_flag_test_and_set_explicit(&f, std::memory_order_consume) == 0); in main() 70 assert(atomic_flag_test_and_set_explicit(&f, std::memory_order_consume) == 0); in main()
|
/external/libcxx/test/std/atomics/atomics.flag/ |
D | test_and_set.pass.cpp | 39 assert(f.test_and_set(std::memory_order_consume) == 0); in main() 40 assert(f.test_and_set(std::memory_order_consume) == 1); in main() 81 assert(f.test_and_set(std::memory_order_consume) == 0); in main() 82 assert(f.test_and_set(std::memory_order_consume) == 1); in main()
|
D | atomic_flag_test_and_set_explicit.pass.cpp | 33 assert(atomic_flag_test_and_set_explicit(&f, std::memory_order_consume) == 0); in main() 69 assert(atomic_flag_test_and_set_explicit(&f, std::memory_order_consume) == 0); in main()
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_atomic_clang_other.h | 27 DCHECK(mo & (memory_order_relaxed | memory_order_consume in atomic_load() 36 } else if (mo == memory_order_consume) { in atomic_load()
|
D | sanitizer_atomic_clang_x86.h | 29 DCHECK(mo & (memory_order_relaxed | memory_order_consume in atomic_load() 38 } else if (mo == memory_order_consume) { in atomic_load()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_atomic_clang_x86.h | 30 DCHECK(mo & (memory_order_relaxed | memory_order_consume in atomic_load() 39 } else if (mo == memory_order_consume) { in atomic_load()
|
D | sanitizer_atomic_clang_other.h | 27 DCHECK(mo & (memory_order_relaxed | memory_order_consume in atomic_load() 36 } else if (mo == memory_order_consume) { in atomic_load()
|
/external/libcxx/test/std/atomics/atomics.order/ |
D | memory_order.pass.cpp | 26 assert(std::memory_order_consume == 1); in main()
|
/external/llvm-project/libcxx/test/std/atomics/atomics.order/ |
D | memory_order.pass.cpp | 27 assert(static_cast<int>(std::memory_order_consume) == 1); in main()
|
D | memory_order_new.pass.cpp | 18 static_assert(std::memory_order_consume == std::memory_order::consume); in main()
|
/external/llvm-project/compiler-rt/lib/scudo/standalone/ |
D | atomic_helpers.h | 18 memory_order_consume = 1, enumerator 25 static_assert(memory_order_consume == __ATOMIC_CONSUME, "");
|
/external/scudo/standalone/ |
D | atomic_helpers.h | 18 memory_order_consume = 1, enumerator 25 static_assert(memory_order_consume == __ATOMIC_CONSUME, "");
|
/external/clang/test/CodeGen/ |
D | arm-atomics.c | 9 memory_order_relaxed, memory_order_consume, memory_order_acquire, enumerator
|
/external/llvm-project/clang/test/CodeGen/ |
D | arm-atomics.c | 9 memory_order_relaxed, memory_order_consume, memory_order_acquire, enumerator
|
D | arm-atomics-m0.c | 7 memory_order_relaxed, memory_order_consume, memory_order_acquire, enumerator
|