Home
last modified time | relevance | path

Searched refs:atomic_dec (Results 1 – 18 of 18) sorted by relevance

/external/llvm-project/libclc/generic/include/clc/atomic/
Datomic_dec.h1 _CLC_OVERLOAD _CLC_DECL int atomic_dec (volatile local int *);
2 _CLC_OVERLOAD _CLC_DECL int atomic_dec (volatile global int *);
3 _CLC_OVERLOAD _CLC_DECL uint atomic_dec (volatile local uint *);
4 _CLC_OVERLOAD _CLC_DECL uint atomic_dec (volatile global uint *);
/external/libdrm/
Dxf86atomic.h51 # define atomic_dec(x, v) ((void) __sync_sub_and_fetch(&(x)->atomic, (v))) macro
71 # define atomic_dec(x, v) ((void) AO_fetch_and_add_full(&(x)->atomic, -(v))) macro
96 # define atomic_dec(x, v) (atomic_add_int(&(x)->atomic, -(v))) macro
/external/llvm-project/libclc/generic/lib/cl_khr_global_int32_base_atomics/
Datom_dec.cl5 return atomic_dec(p); \
/external/llvm-project/libclc/generic/lib/cl_khr_local_int32_base_atomics/
Datom_dec.cl5 return atomic_dec(p); \
/external/linux-kselftest/tools/testing/selftests/futex/include/
Datomic.h60 atomic_dec(atomic_t *addr) in atomic_dec() function
/external/llvm-project/libclc/generic/lib/atomic/
Datomic_dec.cl4 _CLC_OVERLOAD _CLC_DEF TYPE atomic_dec(volatile AS TYPE *p) { \
/external/OpenCL-CTS/test_conformance/atomics/
Dmain.cpp34 ADD_TEST( atomic_dec ),
/external/libdrm/radeon/
Dradeon_cs_gem.c450atomic_dec((atomic_t *)radeon_gem_get_reloc_in_cs((struct radeon_bo*)csg->relocs_bo[i]), cs->id); in cs_gem_emit()
482atomic_dec((atomic_t *)radeon_gem_get_reloc_in_cs((struct radeon_bo*)csg->relocs_bo[i]), cs->id); in cs_gem_erase()
/external/libdrm/tests/amdgpu/
Dbo_tests.c313 atomic_dec(&find_bo_handle->refcount, 1); in amdgpu_bo_find_by_cpu_mapping()
/external/llvm-project/libclc/generic/lib/
DSOURCES10 atomic/atomic_dec.cl
/external/llvm-project/llvm/lib/Target/AMDGPU/
DDSInstructions.td908 defm : DSAtomicRetPat_mc<DS_DEC_RTN_U32, i32, "atomic_dec">;
929 defm : DSAtomicRetPat_mc<DS_DEC_RTN_U64, i64, "atomic_dec">;
DSIInstrInfo.td663 defm atomic_dec : SIAtomicM0Glue2 <"DEC", 1>;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DDSInstructions.td820 defm : DSAtomicRetPat_mc<DS_DEC_RTN_U32, i32, "atomic_dec">;
838 defm : DSAtomicRetPat_mc<DS_DEC_RTN_U64, i64, "atomic_dec">;
DSIInstrInfo.td655 defm atomic_dec : SIAtomicM0Glue2 <"DEC", 1>;
/external/llvm-project/clang/lib/Sema/
DOpenCLBuiltins.td995 foreach name = ["atomic_inc", "atomic_dec"] in {
/external/protobuf/ruby/ext/google/protobuf_c/
Dupb.c5522 static bool atomic_dec(uint32_t *a) { return --(*a) == 0; } in atomic_dec() function
5527 static bool atomic_dec(uint32_t *a) { return __sync_sub_and_fetch(a, 1) == 0; } in atomic_dec() function
5534 static bool atomic_dec(upb_atomic_t *a) { in atomic_dec() function
5560 return atomic_dec(group); in unrefgroup()
/external/llvm-project/clang/lib/Headers/
Dopencl-c.h13155 int __ovld atomic_dec(volatile __global int *p);
13156 unsigned int __ovld atomic_dec(volatile __global unsigned int *p);
13157 int __ovld atomic_dec(volatile __local int *p);
13158 unsigned int __ovld atomic_dec(volatile __local unsigned int *p);
13160 int __ovld atomic_dec(volatile int *p);
13161 unsigned int __ovld atomic_dec(volatile unsigned int *p);
/external/clang/lib/Headers/
Dopencl-c.h14550 int __ovld atomic_dec(volatile __global int *p);
14551 unsigned int __ovld atomic_dec(volatile __global unsigned int *p);
14552 int __ovld atomic_dec(volatile __local int *p);
14553 unsigned int __ovld atomic_dec(volatile __local unsigned int *p);