Searched refs:kIsAtomic (Results 1 – 3 of 3) sorted by relevance
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_rtl.h | 202 void SetAtomic(bool kIsAtomic) { in SetAtomic() argument 204 if (kIsAtomic) in SetAtomic() 206 DCHECK_EQ(IsAtomic(), kIsAtomic); in SetAtomic() 275 bool ALWAYS_INLINE IsBothReadsOrAtomic(bool kIsWrite, bool kIsAtomic) const { in IsBothReadsOrAtomic() argument 277 | (u64(kIsAtomic) << kAtomicShift)); in IsBothReadsOrAtomic() 278 DCHECK_EQ(v, (!IsWrite() && !kIsWrite) || (IsAtomic() && kIsAtomic)); in IsBothReadsOrAtomic() 282 bool ALWAYS_INLINE IsRWNotWeaker(bool kIsWrite, bool kIsAtomic) const { in IsRWNotWeaker() argument 284 <= u64((kIsWrite ^ 1) | (kIsAtomic << 1)); in IsRWNotWeaker() 285 DCHECK_EQ(v, (IsAtomic() < kIsAtomic) || in IsRWNotWeaker() 286 (IsAtomic() == kIsAtomic && !IsWrite() <= !kIsWrite)); in IsRWNotWeaker() [all …]
|
D | tsan_update_shadow_word_inl.h | 35 if (old.IsRWWeakerOrEqual(kAccessIsWrite, kIsAtomic)) 44 if (old.IsBothReadsOrAtomic(kAccessIsWrite, kIsAtomic)) 56 if (old.IsBothReadsOrAtomic(kAccessIsWrite, kIsAtomic))
|
D | tsan_rtl.cc | 559 int kAccessSizeLog, bool kAccessIsWrite, bool kIsAtomic, in MemoryAccessImpl1() argument 615 int size, bool kAccessIsWrite, bool kIsAtomic) { in UnalignedMemoryAccess() argument 629 MemoryAccess(thr, pc, addr, kAccessSizeLog, kAccessIsWrite, kIsAtomic); in UnalignedMemoryAccess() 724 int kAccessSizeLog, bool kAccessIsWrite, bool kIsAtomic) { in MemoryAccess() argument 765 cur.SetAtomic(kIsAtomic); in MemoryAccess() 783 MemoryAccessImpl1(thr, addr, kAccessSizeLog, kAccessIsWrite, kIsAtomic, in MemoryAccess() 790 int kAccessSizeLog, bool kAccessIsWrite, bool kIsAtomic, in MemoryAccessImpl() argument 801 MemoryAccessImpl1(thr, addr, kAccessSizeLog, kAccessIsWrite, kIsAtomic, in MemoryAccessImpl()
|