Home
last modified time | relevance | path

Searched refs:atomic_store_relaxed (Results 1 – 25 of 30) sorted by relevance

12

/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dtsd.h40 atomic_store_relaxed(&Precedence, 0); in tryLock()
44 atomic_store_relaxed( in tryLock()
50 atomic_store_relaxed(&Precedence, 0); in lock()
H A Dquarantine.h91 atomic_store_relaxed(&From->Size, 0); in transfer()
163 void addToSize(uptr add) { atomic_store_relaxed(&Size, getSize() + add); } in addToSize()
164 void subFromSize(uptr sub) { atomic_store_relaxed(&Size, getSize() - sub); } in subFromSize()
185 atomic_store_relaxed(&MaxSize, Size); in init()
186 atomic_store_relaxed(&MinSize, Size / 10 * 9); // 90% of max size. in init()
187 atomic_store_relaxed(&MaxCacheSize, CacheSize); in init()
H A Dstats.h40 atomic_store_relaxed(&StatsArray[I], V); in add()
45 atomic_store_relaxed(&StatsArray[I], V); in sub()
48 void set(StatType I, uptr V) { atomic_store_relaxed(&StatsArray[I], V); } in set()
H A Dcondition_variable_linux.cpp26 atomic_store_relaxed(&Counter, V + 1); in notifyAllImpl()
41 atomic_store_relaxed(&Counter, V); in waitImpl()
H A Dstack_depot.h151 atomic_store_relaxed(&Tab[Pos], RingPos); in insert()
152 atomic_store_relaxed(&Ring[RingPos], Id); in insert()
155 atomic_store_relaxed(&Ring[RingPos], *I); in insert()
H A Dcombined.h1423 atomic_store_relaxed(&Entry->Ptr, 0);
1426 atomic_store_relaxed(&Entry->AllocationTrace, AllocationTrace); in storeSecondaryAllocationStackMaybe()
1427 atomic_store_relaxed(&Entry->AllocationTid, AllocationTid); in storeSecondaryAllocationStackMaybe()
1428 atomic_store_relaxed(&Entry->AllocationSize, AllocationSize); in storeSecondaryAllocationStackMaybe()
1429 atomic_store_relaxed(&Entry->DeallocationTrace, DeallocationTrace); in storeSecondaryAllocationStackMaybe()
1430 atomic_store_relaxed(&Entry->DeallocationTid, DeallocationTid); in storeSecondaryAllocationStackMaybe()
1433 atomic_store_relaxed(&Entry->Ptr, reinterpret_cast<uptr>(Ptr)); in storeSecondaryAllocationStackMaybe()
H A Dchunk.h119 atomic_store_relaxed(getAtomicHeader(Ptr), NewPackedHeader); in storeHeader()
H A Datomic_helpers.h131 inline void atomic_store_relaxed(volatile T *A, typename T::Type V) { in atomic_store_relaxed() function
H A Dsecondary.h472 atomic_store_relaxed(&ReleaseToOsIntervalMs, Interval); in releaseOlderThan()
478 atomic_store_relaxed( in releaseOlderThan()
484 atomic_store_relaxed(&MaxEntrySize, static_cast<uptr>(Value));
/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_quarantine.h85 atomic_store_relaxed(&max_size_, size); in Init()
86 atomic_store_relaxed(&min_size_, size / 10 * 9); // 90% of max size. in Init()
87 atomic_store_relaxed(&max_cache_size_, cache_size); in Init()
233 atomic_store_relaxed(&from_cache->size_, 0); in Transfer()
304 atomic_store_relaxed(&size_, Size() + add); in SizeAdd()
307 atomic_store_relaxed(&size_, Size() - sub); in SizeSub()
H A Dsanitizer_atomic.h92 inline void atomic_store_relaxed(volatile T *a, typename T::Type v) { in atomic_store_relaxed() function
H A Dsanitizer_allocator.cpp187 atomic_store_relaxed(&allocator_out_of_memory, 1); in SetAllocatorOutOfMemory()
H A Dsanitizer_symbolizer_report.cpp339 atomic_store_relaxed(&reporting_thread_, 0); in CheckLocked()
/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_sync.h75 atomic_store_relaxed(&flags, atomic_load_relaxed(&flags) | f); in SetFlags()
87 atomic_store_relaxed(&flags, current | (flagz & MutexCreationFlagMask)); in UpdateFlags()
H A Dtsan_rtl.cpp171 atomic_store_relaxed( in DoResetImpl()
182 atomic_store_relaxed(&tctx->thr->trace_pos, 0); in DoResetImpl()
337 atomic_store_relaxed(&thr->trace_pos, 0); in SlotDetachImpl()
674 atomic_store_relaxed(&thr->in_signal_handler, 0); in CheckUnwind()
938 atomic_store_relaxed(&thr->trace_pos, reinterpret_cast<uptr>(pos)); in TraceSkipGap()
955 atomic_store_relaxed(&thr->trace_pos, in TraceSwitchPart()
983 atomic_store_relaxed(&thr->trace_pos, in TraceSwitchPartImpl()
H A Dtsan_interface_ann.cpp86 atomic_store_relaxed(&race->addcount, in AddExpectRace()
97 atomic_store_relaxed(&race->hitcount, 0); in AddExpectRace()
98 atomic_store_relaxed(&race->addcount, 1); in AddExpectRace()
H A Dtsan_dense_alloc.h189 atomic_store_relaxed(&fillpos_, fillpos + 1); in AllocSuperBlock()
H A Dtsan_sync.cpp39 atomic_store_relaxed(&flags, 0); in Reset()
H A Dtsan_rtl_thread.cpp276 atomic_store_relaxed(&thr->trace_pos, 0); in OnFinished()
H A Dtsan_rtl.h731 atomic_store_relaxed(&thr->trace_pos, (uptr)(evp + 1)); in TraceRelease()
/llvm-project/compiler-rt/lib/ubsan_minimal/
H A Dubsan_minimal_handlers.cpp80 __sanitizer::atomic_store_relaxed(&caller_pcs[sz], caller); in CheckFailed()
/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_allocator.cpp149 atomic_store_relaxed(&hwasan_allocator_tagging_enabled, in HwasanAllocatorInit()
656 atomic_store_relaxed(&hwasan_allocator_tagging_enabled, 1); in __hwasan_enable_allocator_tagging()
660 atomic_store_relaxed(&hwasan_allocator_tagging_enabled, 0); in __hwasan_disable_allocator_tagging()
/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_allocator.cpp298 atomic_store_relaxed(&destructing, 0); in Allocator()
299 atomic_store_relaxed(&constructed, 1); in Allocator()
303 atomic_store_relaxed(&destructing, 1); in ~Allocator()
/llvm-project/llvm/test/CodeGen/X86/
H A Datomic128.ll402 define void @atomic_store_relaxed(ptr %p, i128 %in) {
403 ; CHECK-NOAVX-LABEL: atomic_store_relaxed:
421 ; CHECK-AVX-LABEL: atomic_store_relaxed:
/llvm-project/llvm/test/CodeGen/AArch64/
H A Darm64-atomic-128.ll843 define void @atomic_store_relaxed(i128 %in, ptr %p) {
844 ; NOOUTLINE-LABEL: atomic_store_relaxed:
854 ; OUTLINE-LABEL: atomic_store_relaxed:
864 ; LSE-LABEL: atomic_store_relaxed:

12