/llvm-project/clang/test/CodeGenCUDA/ |
H A D | atomic-ops.cu | 17 __device__ int atomic32_op_singlethread(int *ptr, int val, int desired) { in atomic32_op_singlethread() argument 36 __device__ unsigned int atomicu32_op_singlethread(unsigned int *ptr, unsigned int val, unsigned int desired) { in atomicu32_op_singlethread() argument 55 __device__ int atomic32_op_wavefront(int *ptr, int val, int desired) { in atomic32_op_wavefront() argument 74 __device__ unsigned int atomicu32_op_wavefront(unsigned int *ptr, unsigned int val, unsigned int desired) { in atomicu32_op_wavefront() argument 92 atomic32_op_workgroup(int * ptr,int val,int desired) atomic32_op_workgroup() argument 110 atomicu32_op_workgroup(unsigned int * ptr,unsigned int val,unsigned int desired) atomicu32_op_workgroup() argument 128 atomic32_op_agent(int * ptr,int val,int desired) atomic32_op_agent() argument 146 atomicu32_op_agent(unsigned int * ptr,unsigned int val,unsigned int desired) atomicu32_op_agent() argument 165 atomic32_op_system(int * ptr,int val,int desired) atomic32_op_system() argument 184 atomicu32_op_system(unsigned int * ptr,unsigned int val,unsigned int desired) atomicu32_op_system() argument 202 atomic64_op_singlethread(long long * ptr,long long * ptr2,long long val,long long desired) atomic64_op_singlethread() argument 222 atomicu64_op_singlethread(unsigned long long * ptr,unsigned long long * ptr2,unsigned long long val,unsigned long long desired) atomicu64_op_singlethread() argument 243 atomic64_op_wavefront(long long * ptr,long long * ptr2,long long val,long long desired) atomic64_op_wavefront() argument 264 atomicu64_op_wavefront(unsigned long long * ptr,unsigned long long * ptr2,unsigned long long val,unsigned long long desired) atomicu64_op_wavefront() argument 284 atomic64_op_workgroup(long long * ptr,long long * ptr2,long long val,long long desired) atomic64_op_workgroup() argument 303 atomicu64_op_workgroup(unsigned long long * ptr,unsigned long long * ptr2,unsigned long long val,unsigned long long desired) atomicu64_op_workgroup() argument 322 atomic64_op_agent(long long * ptr,long long * ptr2,long long val,long long desired) atomic64_op_agent() argument 341 atomicu64_op_agent(unsigned long long * ptr,unsigned long long * ptr2,unsigned long long val,unsigned long long desired) atomicu64_op_agent() argument 361 atomic64_op_system(long long * ptr,long long * ptr2,long long val,long long desired) atomic64_op_system() argument 382 atomicu64_op_system(unsigned long long * ptr,unsigned long long * ptr2,unsigned long long val,unsigned long long desired) atomicu64_op_system() argument [all...] |
/llvm-project/libcxx/test/support/ |
H A D | cmpxchg_loop.h | 12 bool cmpxchg_weak_loop(A& atomic, typename A::value_type& expected, typename A::value_type desired)… in cmpxchg_weak_loop() 23 bool cmpxchg_weak_loop(A& atomic, typename A::value_type& expected, typename A::value_type desired, in cmpxchg_weak_loop() 37 … c_cmpxchg_weak_loop(A* atomic, typename A::value_type* expected, typename A::value_type desired) { in c_cmpxchg_weak_loop() 48 …ol c_cmpxchg_weak_loop(A* atomic, typename A::value_type* expected, typename A::value_type desired, in c_cmpxchg_weak_loop()
|
/llvm-project/clang/test/CodeGen/ |
H A D | scoped-atomic-ops.c | 170 int desired = 1; fi4a() local 180 int desired = 1; fi4b() local 190 int desired = 1; fi4c() local 200 int desired = 1; fi4d() local 210 int desired = 1; fi4e() local [all...] |
H A D | c11atomics-ios.c | 229 _Bool test_promoted_cmpxchg(_Atomic(PS) *addr, PS *desired, PS *new) { in test_promoted_cmpxchg() argument
|
H A D | c11atomics.c | 389 _Bool test_promoted_cmpxchg(_Atomic(PS) *addr, PS *desired, PS *new) { in test_promoted_cmpxchg() argument
|
H A D | big-atomic-ops.c | 103 int desired = 1; in fi4a() local
|
H A D | atomic-ops.c | 136 int desired = 1; in fi4a() local
|
/llvm-project/clang/test/Analysis/ |
H A D | atomics.c | 76 uint32_t desired = 3; in test_atomic_compare_exchange_strong() local 88 uint32_t desired = 3; in test_atomic_compare_exchange_weak() local
|
/llvm-project/libc/test/src/__support/CPP/ |
H A D | atomic_test.cpp | 27 int desired = 123; in TEST() local
|
/llvm-project/compiler-rt/test/dfsan/ |
H A D | libatomic.c | 90 idata desired = {3}; in test_idata_cmp_exchange_1() local 118 idata desired = {3}; in test_idata_cmp_exchange_2() local
|
/llvm-project/clang/utils/ |
H A D | convert_arm_neon.py | 66 def get_resize(cur, desired): argument
|
/llvm-project/clang/lib/Headers/ |
H A D | stdatomic.h | 141 #define atomic_store(object, desired) __c11_atomic_store(object, desired, __ATOMIC_SEQ_CST) argument 147 #define atomic_exchange(object, desired) __c11_atomic_exchange(object, desired, __ATOMIC_SEQ_CST) argument 135 atomic_store(object,desired) global() argument 144 atomic_compare_exchange_strong(object,expected,desired) global() argument
|
/llvm-project/compiler-rt/test/BlocksRuntime/ |
H A D | fail.c | 81 char desired[512]; in main() local
|
/llvm-project/clang/test/SemaCUDA/ |
H A D | atomic-ops.cu | 64 __device__ bool test_hip_atomic_cmpxchg_weak(int *ptr, int val, int desired) { in test_hip_atomic_cmpxchg_weak()
|
H A D | spirv-amdgcn-atomic-ops.cu | 64 __device__ bool test_hip_atomic_cmpxchg_weak(int *ptr, int val, int desired) { in test_hip_atomic_cmpxchg_weak()
|
/llvm-project/libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/ |
H A D | compare_exchange_weak.pass.cpp | 47 const T desired(T(2.3)); in testBasic() local 63 const T desired(T(2.3)); in testBasic() local
|
H A D | compare_exchange_strong.pass.cpp | 47 const T desired(T(2.3)); in testBasic() local 59 const T desired(T(2.3)); in testBasic() local
|
/llvm-project/clang/test/Sema/ |
H A D | scoped-atomic-ops.c | 79 int desired = 1; fi4a() local
|
/llvm-project/libc/src/__support/threads/linux/ |
H A D | rwlock.h | 244 compare_exchange_weak_with(cpp::Atomic<int> & target,RwState desired,cpp::MemoryOrder success_order,cpp::MemoryOrder failure_order) compare_exchange_weak_with() argument
|
/llvm-project/compiler-rt/lib/builtins/ |
H A D | atomic.c | 220 void *desired, int success, int failure) { in __atomic_compare_exchange_c()
|
/llvm-project/libcxxabi/src/ |
H A D | cxa_guard_impl.h | 147 bool compare_exchange(IntType* expected, IntType desired, MemoryOrder ord_success, MemoryOrder ord_failure) { in compare_exchange() argument
|
/llvm-project/compiler-rt/lib/dfsan/ |
H A D | dfsan.cpp | 451 const void *desired, uptr size) { in __dfsan_mem_shadow_origin_conditional_exchange() argument
|