Home
last modified time | relevance | path

Searched refs:atomic_store (Results 1 – 22 of 22) sorted by relevance

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_stackdepot.cc97 atomic_store(&depot.region_pos, 0, memory_order_relaxed); in allocDesc()
103 atomic_store(&depot.region_end, mem + allocsz, memory_order_release); in allocDesc()
104 atomic_store(&depot.region_pos, mem, memory_order_release); in allocDesc()
141 atomic_store(p, (uptr)s, memory_order_release); in unlock()
Dsanitizer_mutex.h26 atomic_store(&state_, 0, memory_order_relaxed); in Init()
40 atomic_store(&state_, 0, memory_order_release); in Unlock()
Dsanitizer_quarantine.h137 atomic_store(&c->size_, 0, memory_order_relaxed); in Transfer()
161 atomic_store(&size_, Size() + add, memory_order_relaxed); in SizeAdd()
Dsanitizer_lfstack.h29 atomic_store(&head_, 0, memory_order_relaxed); in Clear()
Dsanitizer_allocator.cc64 atomic_store(&internal_allocator_initialized, 1, memory_order_release);
Dsanitizer_atomic_clang.h56 INLINE void atomic_store(volatile T *a, typename T::Type v, memory_order mo) { in atomic_store() function
Dsanitizer_atomic_msvc.h87 INLINE void atomic_store(volatile T *a, typename T::Type v, memory_order mo) { in atomic_store() function
Dsanitizer_allocator.h216 atomic_store(&stats_[i], v, memory_order_relaxed); in Add()
220 atomic_store(&stats_[i], v, memory_order_relaxed); in Set()
/external/llvm/test/CodeGen/PowerPC/
Datomic-2.ll28 define void @atomic_store(i64* %mem, i64 %val) nounwind {
30 ; CHECK: @atomic_store
/external/compiler-rt/lib/lsan/
Dlsan_interceptors.cc212 atomic_store(&p->tid, 0, memory_order_release); in __lsan_thread_start_func()
233 atomic_store(&p.tid, 0, memory_order_relaxed); in INTERCEPTOR()
238 atomic_store(&p.tid, tid, memory_order_release); in INTERCEPTOR()
Dlsan_allocator.cc65 atomic_store(reinterpret_cast<atomic_uint8_t *>(m), 1, memory_order_relaxed); in RegisterAllocation()
72 atomic_store(reinterpret_cast<atomic_uint8_t *>(m), 0, memory_order_relaxed); in RegisterDeallocation()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_fd.cc47 atomic_store(&s->rc, 1, memory_order_relaxed); in allocsync()
113 atomic_store(&fdctx.globsync.rc, (u64)-1, memory_order_relaxed); in FdInit()
114 atomic_store(&fdctx.filesync.rc, (u64)-1, memory_order_relaxed); in FdInit()
115 atomic_store(&fdctx.socksync.rc, (u64)-1, memory_order_relaxed); in FdInit()
Dtsan_mutex.cc204 atomic_store(&state_, kUnlocked, memory_order_relaxed); in Mutex()
Dtsan_rtl.cc158 atomic_store(&ctx->last_symbolize_time_ns, 0, memory_order_relaxed); in BackgroundThread()
363 atomic_store((atomic_uint64_t*)sp, s, memory_order_relaxed); in StoreShadow()
Dtsan_mman.cc55 atomic_store(a, v & ~1, memory_order_relaxed); in Unlock()
Dtsan_interceptors.cc754 atomic_store(g, 1, memory_order_release); in __cxa_guard_release()
759 atomic_store(g, 0, memory_order_relaxed); in __cxa_guard_abort()
804 atomic_store(&p->tid, 0, memory_order_release); in __tsan_thread_start_func()
837 atomic_store(&p.tid, 0, memory_order_relaxed); in TSAN_INTERCEPTOR()
842 atomic_store(&p.tid, tid, memory_order_release); in TSAN_INTERCEPTOR()
1136 atomic_store(a, 2, memory_order_release); in TSAN_INTERCEPTOR()
Dtsan_rtl_report.cc515 atomic_store(&ctx->last_symbolize_time_ns, NanoTime(), memory_order_relaxed); in OutputReport()
/external/compiler-rt/lib/tsan/tests/rtl/
Dtsan_test_util_linux.cc329 atomic_store(&impl->event, 0, memory_order_release); in ScopedThreadCallback()
333 atomic_store(&impl->event, 0, memory_order_release); in ScopedThreadCallback()
344 atomic_store(&event, (uintptr_t)e, memory_order_release); in send()
354 atomic_store(&impl_->event, 0, memory_order_relaxed); in ScopedThread()
Dtsan_mutex.cc191 atomic_store(&singleton, (uintptr_t)&val, memory_order_release); in TEST()
212 atomic_store(&flag, 0, memory_order_release); in TEST()
/external/compiler-rt/lib/asan/
Dasan_mac.cc89 atomic_store(cache, result, memory_order_release); in GetMacosVersion()
Dasan_allocator2.cc273 atomic_store((atomic_uint8_t*)m, CHUNK_AVAILABLE, memory_order_relaxed); in Recycle()
431 atomic_store((atomic_uint8_t *)m, CHUNK_ALLOCATED, memory_order_release); in Allocate()
/external/llvm/include/llvm/Target/
DTargetSelectionDAG.td447 def atomic_store : SDNode<"ISD::ATOMIC_STORE", SDTAtomicStore,
918 defm atomic_store : binary_atomic_op<atomic_store>;