Home
last modified time | relevance | path

Searched refs:kAccessIsWrite (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.cc581 int kAccessSizeLog, bool kAccessIsWrite, bool kIsAtomic, in MemoryAccessImpl1() argument
584 StatInc(thr, kAccessIsWrite ? StatMopWrite : StatMopRead); in MemoryAccessImpl1()
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
751 (int)(1 << kAccessSizeLog), kAccessIsWrite, shadow_mem, in MemoryAccess()
769 StatInc(thr, kAccessIsWrite ? StatMopWrite : StatMopRead); in MemoryAccess()
778 StatInc(thr, kAccessIsWrite ? StatMopWrite : StatMopRead); in MemoryAccess()
786 cur.SetWrite(kAccessIsWrite); in MemoryAccess()
790 thr->fast_synch_epoch, kAccessIsWrite))) { in MemoryAccess()
[all …]
Dtsan_rtl.h196 void SetWrite(unsigned kAccessIsWrite) { in SetWrite() argument
198 if (!kAccessIsWrite) in SetWrite()
200 DCHECK_EQ(kAccessIsWrite, IsWrite()); in SetWrite()
660 int kAccessSizeLog, bool kAccessIsWrite, bool kIsAtomic);
662 int kAccessSizeLog, bool kAccessIsWrite, bool kIsAtomic,
669 int size, bool kAccessIsWrite, bool kIsAtomic);
/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.cpp655 int kAccessSizeLog, bool kAccessIsWrite, bool kIsAtomic, in MemoryAccessImpl1() argument
658 StatInc(thr, kAccessIsWrite ? StatMopWrite : StatMopRead); in MemoryAccessImpl1()
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
838 (int)(1 << kAccessSizeLog), kAccessIsWrite, shadow_mem, in MemoryAccess()
852 if (!SANITIZER_GO && !kAccessIsWrite && *shadow_mem == kShadowRodata) { in MemoryAccess()
856 StatInc(thr, kAccessIsWrite ? StatMopWrite : StatMopRead); in MemoryAccess()
865 StatInc(thr, kAccessIsWrite ? StatMopWrite : StatMopRead); in MemoryAccess()
873 cur.SetWrite(kAccessIsWrite); in MemoryAccess()
[all …]
Dtsan_rtl.h203 void SetWrite(unsigned kAccessIsWrite) { in SetWrite() argument
205 if (!kAccessIsWrite) in SetWrite()
207 DCHECK_EQ(kAccessIsWrite, IsWrite()); in SetWrite()
724 int kAccessSizeLog, bool kAccessIsWrite, bool kIsAtomic);
726 int kAccessSizeLog, bool kAccessIsWrite, bool kIsAtomic,
733 int size, bool kAccessIsWrite, bool kIsAtomic);