Searched refs:kIsAtomic (Results 1 – 3 of 3) sorted by relevance
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_rtl.h | 196 void SetAtomic(bool kIsAtomic) { in SetAtomic() argument 198 if (kIsAtomic) in SetAtomic() 200 DCHECK_EQ(IsAtomic(), kIsAtomic); in SetAtomic() 269 bool ALWAYS_INLINE IsBothReadsOrAtomic(bool kIsWrite, bool kIsAtomic) const { in IsBothReadsOrAtomic() argument 271 | (u64(kIsAtomic) << kAtomicShift)); in IsBothReadsOrAtomic() 272 DCHECK_EQ(v, (!IsWrite() && !kIsWrite) || (IsAtomic() && kIsAtomic)); in IsBothReadsOrAtomic() 276 bool ALWAYS_INLINE IsRWNotWeaker(bool kIsWrite, bool kIsAtomic) const { in IsRWNotWeaker() argument 278 <= u64((kIsWrite ^ 1) | (kIsAtomic << 1)); in IsRWNotWeaker() 279 DCHECK_EQ(v, (IsAtomic() < kIsAtomic) || in IsRWNotWeaker() 280 (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 | 534 int kAccessSizeLog, bool kAccessIsWrite, bool kIsAtomic, in MemoryAccessImpl1() argument 607 int size, bool kAccessIsWrite, bool kIsAtomic) { in UnalignedMemoryAccess() argument 621 MemoryAccess(thr, pc, addr, kAccessSizeLog, kAccessIsWrite, kIsAtomic); in UnalignedMemoryAccess() 713 int kAccessSizeLog, bool kAccessIsWrite, bool kIsAtomic) { in MemoryAccess() argument 754 cur.SetAtomic(kIsAtomic); in MemoryAccess() 772 MemoryAccessImpl1(thr, addr, kAccessSizeLog, kAccessIsWrite, kIsAtomic, in MemoryAccess() 779 int kAccessSizeLog, bool kAccessIsWrite, bool kIsAtomic, in MemoryAccessImpl() argument 790 MemoryAccessImpl1(thr, addr, kAccessSizeLog, kAccessIsWrite, kIsAtomic, in MemoryAccessImpl()
|