Home
last modified time | relevance | path

Searched refs:__atomic_load_n (Results 1 – 5 of 5) sorted by relevance

/openbsd/gnu/llvm/libcxx/src/include/
H A Datomic_support.h15 #if defined(__clang__) && __has_builtin(__atomic_load_n) \
74 return __atomic_load_n(__val, __order);
/openbsd/gnu/llvm/compiler-rt/lib/tsan/benchmarks/
H A Dmop.cpp24 int t = __atomic_load_n(&turn, __ATOMIC_ACQUIRE); in thread()
/openbsd/gnu/llvm/compiler-rt/lib/builtins/
H A Demutls.c237 static __inline uintptr_t __atomic_load_n(void *ptr, unsigned type) { in __atomic_load_n() function
313 uintptr_t index = __atomic_load_n(&control->object.index, __ATOMIC_ACQUIRE); in emutls_get_index()
/openbsd/gnu/llvm/libcxx/include/__memory/
H A Dshared_ptr.h67 (__has_builtin(__atomic_load_n) || defined(_LIBCPP_COMPILER_GCC)) in __libcpp_relaxed_load()
68 return __atomic_load_n(__value, __ATOMIC_RELAXED); in __libcpp_relaxed_load()
79 (__has_builtin(__atomic_load_n) || defined(_LIBCPP_COMPILER_GCC)) in __libcpp_acquire_load()
80 return __atomic_load_n(__value, __ATOMIC_ACQUIRE); in __libcpp_acquire_load()
/openbsd/gnu/llvm/clang/include/clang/Basic/
H A DBuiltins.def838 ATOMIC_BUILTIN(__atomic_load_n, "v.", "t")