Home
last modified time | relevance | path

Searched refs:kIsAtomic (Results 1 – 6 of 6) sorted by relevance

/external/compiler-rt/lib/tsan/rtl/
Dtsan_update_shadow_word_inl.h35 if (old.IsRWWeakerOrEqual(kAccessIsWrite, kIsAtomic))
41 if (old.IsRWWeakerOrEqual(kAccessIsWrite, kIsAtomic))
45 if (old.IsBothReadsOrAtomic(kAccessIsWrite, kIsAtomic))
57 if (old.IsBothReadsOrAtomic(kAccessIsWrite, kIsAtomic))
Dtsan_rtl.h203 void SetAtomic(bool kIsAtomic) { in SetAtomic() argument
205 if (kIsAtomic) in SetAtomic()
207 DCHECK_EQ(IsAtomic(), kIsAtomic); in SetAtomic()
276 bool ALWAYS_INLINE IsBothReadsOrAtomic(bool kIsWrite, bool kIsAtomic) const { in IsBothReadsOrAtomic() argument
278 | (u64(kIsAtomic) << kAtomicShift)); in IsBothReadsOrAtomic()
279 DCHECK_EQ(v, (!IsWrite() && !kIsWrite) || (IsAtomic() && kIsAtomic)); in IsBothReadsOrAtomic()
283 bool ALWAYS_INLINE IsRWNotWeaker(bool kIsWrite, bool kIsAtomic) const { in IsRWNotWeaker() argument
285 <= u64((kIsWrite ^ 1) | (kIsAtomic << 1)); in IsRWNotWeaker()
286 DCHECK_EQ(v, (IsAtomic() < kIsAtomic) || in IsRWNotWeaker()
287 (IsAtomic() == kIsAtomic && !IsWrite() <= !kIsWrite)); in IsRWNotWeaker()
[all …]
Dtsan_rtl.cc581 int kAccessSizeLog, bool kAccessIsWrite, bool kIsAtomic, in MemoryAccessImpl1() argument
637 int size, bool kAccessIsWrite, bool kIsAtomic) { in UnalignedMemoryAccess() argument
651 MemoryAccess(thr, pc, addr, kAccessSizeLog, kAccessIsWrite, kIsAtomic); in UnalignedMemoryAccess()
746 int kAccessSizeLog, bool kAccessIsWrite, bool kIsAtomic) { in MemoryAccess() argument
787 cur.SetAtomic(kIsAtomic); in MemoryAccess()
805 MemoryAccessImpl1(thr, addr, kAccessSizeLog, kAccessIsWrite, kIsAtomic, in MemoryAccess()
812 int kAccessSizeLog, bool kAccessIsWrite, bool kIsAtomic, in MemoryAccessImpl() argument
823 MemoryAccessImpl1(thr, addr, kAccessSizeLog, kAccessIsWrite, kIsAtomic, in MemoryAccessImpl()
/external/llvm-project/compiler-rt/lib/tsan/rtl/
Dtsan_update_shadow_word_inl.h34 if (LIKELY(old.IsRWWeakerOrEqual(kAccessIsWrite, kIsAtomic))) {
42 if (old.IsRWWeakerOrEqual(kAccessIsWrite, kIsAtomic)) {
48 if (LIKELY(old.IsBothReadsOrAtomic(kAccessIsWrite, kIsAtomic)))
60 if (old.IsBothReadsOrAtomic(kAccessIsWrite, kIsAtomic))
Dtsan_rtl.h210 void SetAtomic(bool kIsAtomic) { in SetAtomic() argument
212 if (kIsAtomic) in SetAtomic()
214 DCHECK_EQ(IsAtomic(), kIsAtomic); in SetAtomic()
283 bool ALWAYS_INLINE IsBothReadsOrAtomic(bool kIsWrite, bool kIsAtomic) const { in IsBothReadsOrAtomic() argument
285 | (u64(kIsAtomic) << kAtomicShift)); in IsBothReadsOrAtomic()
286 DCHECK_EQ(v, (!IsWrite() && !kIsWrite) || (IsAtomic() && kIsAtomic)); in IsBothReadsOrAtomic()
290 bool ALWAYS_INLINE IsRWNotWeaker(bool kIsWrite, bool kIsAtomic) const { in IsRWNotWeaker() argument
292 <= u64((kIsWrite ^ 1) | (kIsAtomic << 1)); in IsRWNotWeaker()
293 DCHECK_EQ(v, (IsAtomic() < kIsAtomic) || in IsRWNotWeaker()
294 (IsAtomic() == kIsAtomic && !IsWrite() <= !kIsWrite)); in IsRWNotWeaker()
[all …]
Dtsan_rtl.cpp655 int kAccessSizeLog, bool kAccessIsWrite, bool kIsAtomic, in MemoryAccessImpl1() argument
724 int size, bool kAccessIsWrite, bool kIsAtomic) { in UnalignedMemoryAccess() argument
738 MemoryAccess(thr, pc, addr, kAccessSizeLog, kAccessIsWrite, kIsAtomic); in UnalignedMemoryAccess()
833 int kAccessSizeLog, bool kAccessIsWrite, bool kIsAtomic) { in MemoryAccess() argument
874 cur.SetAtomic(kIsAtomic); in MemoryAccess()
892 MemoryAccessImpl1(thr, addr, kAccessSizeLog, kAccessIsWrite, kIsAtomic, in MemoryAccess()
899 int kAccessSizeLog, bool kAccessIsWrite, bool kIsAtomic, in MemoryAccessImpl() argument
910 MemoryAccessImpl1(thr, addr, kAccessSizeLog, kAccessIsWrite, kIsAtomic, in MemoryAccessImpl()