Home
last modified time | relevance | path

Searched refs:atomic_load (Results 1 – 20 of 20) sorted by relevance

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_lfstack.h33 return (atomic_load(&head_, memory_order_relaxed) & kPtrMask) == 0; in Empty()
37 u64 cmp = atomic_load(&head_, memory_order_relaxed); in Push()
49 u64 cmp = atomic_load(&head_, memory_order_acquire); in Pop()
Dsanitizer_stackdepot.cc74 uptr cmp = atomic_load(&depot.region_pos, memory_order_acquire); in tryallocDesc()
75 uptr end = atomic_load(&depot.region_end, memory_order_acquire); in tryallocDesc()
127 uptr cmp = atomic_load(p, memory_order_relaxed); in lock()
149 uptr v = atomic_load(p, memory_order_consume); in StackDepotPut()
191 uptr v = atomic_load(p, memory_order_consume); in StackDepotGet()
Dsanitizer_allocator.cc59 if (atomic_load(&internal_allocator_initialized, memory_order_acquire) == 0) {
61 if (atomic_load(&internal_allocator_initialized, memory_order_relaxed) ==
Dsanitizer_mutex.h52 if (atomic_load(&state_, memory_order_relaxed) == 0 in LockSlow()
Dsanitizer_atomic_clang.h38 INLINE typename T::Type atomic_load( in atomic_load() function
Dsanitizer_atomic_msvc.h69 INLINE typename T::Type atomic_load( in atomic_load() function
Dsanitizer_quarantine.h122 return atomic_load(&size_, memory_order_relaxed); in Size()
Dsanitizer_linux.cc506 CHECK_NE(MtxUnlocked, atomic_load(m, memory_order_relaxed)); in CheckLocked()
Dsanitizer_allocator.h215 v += atomic_load(&stats_[i], memory_order_relaxed); in Add()
224 return atomic_load(&stats_[i], memory_order_relaxed); in Get()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_mutex.cc208 CHECK_EQ(atomic_load(&state_, memory_order_relaxed), kUnlocked); in ~Mutex()
220 if (atomic_load(&state_, memory_order_relaxed) == kUnlocked) { in Lock()
250 prev = atomic_load(&state_, memory_order_acquire); in ReadLock()
271 CHECK_NE(atomic_load(&state_, memory_order_relaxed), 0); in CheckLocked()
Dtsan_fd.cc52 if (s && atomic_load(&s->rc, memory_order_relaxed) != (u64)-1) in ref()
58 if (s && atomic_load(&s->rc, memory_order_relaxed) != (u64)-1) { in unref()
74 uptr l1 = atomic_load(pl1, memory_order_consume); in fddesc()
123 FdDesc *tab = (FdDesc*)atomic_load(&fdctx.tab[l1], memory_order_relaxed); in FdOnFork()
135 FdDesc *tab = (FdDesc*)atomic_load(&fdctx.tab[l1], memory_order_relaxed); in FdLocation()
Dtsan_mman.cc36 uptr v = atomic_load(a, memory_order_relaxed); in Lock()
43 v = atomic_load(a, memory_order_relaxed); in Lock()
53 uptr v = atomic_load(a, memory_order_relaxed); in Unlock()
Dtsan_rtl.cc152 u64 last = atomic_load(&ctx->last_symbolize_time_ns, in BackgroundThread()
357 u64 raw = atomic_load((atomic_uint64_t*)p, memory_order_relaxed); in LoadShadow()
Dtsan_interceptors.cc738 u32 cmp = atomic_load(g, memory_order_acquire); in __cxa_guard_acquire()
802 while ((tid = atomic_load(&p->tid, memory_order_acquire)) == 0) in __tsan_thread_start_func()
843 while (atomic_load(&p.tid, memory_order_acquire) != 0) in TSAN_INTERCEPTOR()
1127 u32 v = atomic_load(a, memory_order_acquire); in TSAN_INTERCEPTOR()
1140 v = atomic_load(a, memory_order_acquire); in TSAN_INTERCEPTOR()
/external/llvm/test/CodeGen/PowerPC/
Datomic-2.ll37 define i64 @atomic_load(i64* %mem) nounwind {
39 ; CHECK: @atomic_load
/external/compiler-rt/lib/lsan/
Dlsan_interceptors.cc210 while ((tid = atomic_load(&p->tid, memory_order_acquire)) == 0) in __lsan_thread_start_func()
239 while (atomic_load(&p.tid, memory_order_acquire) != 0) in INTERCEPTOR()
/external/compiler-rt/lib/tsan/tests/rtl/
Dtsan_mutex.cc169 int *val = (int *)atomic_load(singleton, memory_order_acquire); in singleton_thread()
215 uptr v = atomic_load(&flag, memory_order_acquire); in TEST()
Dtsan_test_util_linux.cc323 Event* ev = (Event*)atomic_load(&impl->event, memory_order_acquire); in ScopedThreadCallback()
343 CHECK_EQ(atomic_load(&event, memory_order_relaxed), 0); in send()
345 while (atomic_load(&event, memory_order_acquire) != 0) in send()
/external/compiler-rt/lib/asan/
Dasan_mac.cc86 static_cast<MacosVersion>(atomic_load(cache, memory_order_acquire)); in GetMacosVersion()
/external/llvm/include/llvm/Target/
DTargetSelectionDAG.td445 def atomic_load : SDNode<"ISD::ATOMIC_LOAD", SDTAtomicLoad,
922 (atomic_load node:$ptr), [{
927 (atomic_load node:$ptr), [{
932 (atomic_load node:$ptr), [{
937 (atomic_load node:$ptr), [{