Home
last modified time | relevance | path

Searched refs:AtomicRef (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/libc/src/__support/CPP/
H A Datomic.h259 template <typename T> struct AtomicRef { struct
276 LIBC_INLINE explicit constexpr AtomicRef(T &obj) : ptr(&obj) {} in AtomicRef() argument
279 LIBC_INLINE constexpr AtomicRef(T *obj) : ptr(obj) {} in AtomicRef() function
281 LIBC_INLINE AtomicRef(const AtomicRef &) = default;
282 LIBC_INLINE AtomicRef &operator=(const AtomicRef &) = default; argument
400 template <typename T> AtomicRef(T &) -> AtomicRef<T>;
/freebsd/contrib/llvm-project/libc/src/__support/GPU/
H A Dallocator.cpp274 before = cpp::AtomicRef(get_bitfield()[slot]) in allocate()
295 cpp::AtomicRef(get_bitfield()[slot]) in deallocate()