Home
last modified time | relevance | path

Searched refs:kAccessSizeLog (Results 1 – 8 of 8) sorted by relevance

/external/compiler-rt/lib/tsan/rtl/
Dtsan_rtl.h187 void SetAddr0AndSizeLog(u64 addr0, unsigned kAccessSizeLog) { in SetAddr0AndSizeLog() argument
190 DCHECK_LE(kAccessSizeLog, 3); in SetAddr0AndSizeLog()
191 x_ |= ((kAccessSizeLog << 3) | addr0) << kClkBits; in SetAddr0AndSizeLog()
192 DCHECK_EQ(kAccessSizeLog, size_log()); in SetAddr0AndSizeLog()
660 int kAccessSizeLog, bool kAccessIsWrite, bool kIsAtomic);
662 int kAccessSizeLog, bool kAccessIsWrite, bool kIsAtomic,
677 uptr addr, int kAccessSizeLog) { in MemoryRead() argument
678 MemoryAccess(thr, pc, addr, kAccessSizeLog, false, false); in MemoryRead()
682 uptr addr, int kAccessSizeLog) { in MemoryWrite() argument
683 MemoryAccess(thr, pc, addr, kAccessSizeLog, true, false); in MemoryWrite()
[all …]
Dtsan_rtl_thread.cc371 int const kAccessSizeLog = 0; in MemoryAccessRange() local
374 cur.SetAddr0AndSizeLog(addr & (kShadowCell - 1), kAccessSizeLog); in MemoryAccessRange()
375 MemoryAccessImpl(thr, addr, kAccessSizeLog, is_write, false, in MemoryAccessRange()
382 int const kAccessSizeLog = 3; in MemoryAccessRange() local
385 cur.SetAddr0AndSizeLog(0, kAccessSizeLog); in MemoryAccessRange()
386 MemoryAccessImpl(thr, addr, kAccessSizeLog, is_write, false, in MemoryAccessRange()
392 int const kAccessSizeLog = 0; in MemoryAccessRange() local
395 cur.SetAddr0AndSizeLog(addr & (kShadowCell - 1), kAccessSizeLog); in MemoryAccessRange()
396 MemoryAccessImpl(thr, addr, kAccessSizeLog, is_write, false, in MemoryAccessRange()
Dtsan_rtl.cc581 int kAccessSizeLog, bool kAccessIsWrite, bool kIsAtomic, in MemoryAccessImpl1() argument
585 StatInc(thr, (StatType)(StatMop1 + kAccessSizeLog)); in MemoryAccessImpl1()
640 int kAccessSizeLog = kSizeLog1; in UnalignedMemoryAccess() local
643 kAccessSizeLog = kSizeLog8; in UnalignedMemoryAccess()
646 kAccessSizeLog = kSizeLog4; in UnalignedMemoryAccess()
649 kAccessSizeLog = kSizeLog2; in UnalignedMemoryAccess()
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()
770 StatInc(thr, (StatType)(StatMop1 + kAccessSizeLog)); in MemoryAccess()
[all …]
Dtsan_update_shadow_word_inl.h18 const unsigned kAccessSize = 1 << kAccessSizeLog;
/external/llvm-project/compiler-rt/lib/tsan/rtl/
Dtsan_rtl_thread.cpp396 int const kAccessSizeLog = 0; in MemoryAccessRange() local
399 cur.SetAddr0AndSizeLog(addr & (kShadowCell - 1), kAccessSizeLog); in MemoryAccessRange()
400 MemoryAccessImpl(thr, addr, kAccessSizeLog, is_write, false, in MemoryAccessRange()
407 int const kAccessSizeLog = 3; in MemoryAccessRange() local
410 cur.SetAddr0AndSizeLog(0, kAccessSizeLog); in MemoryAccessRange()
411 MemoryAccessImpl(thr, addr, kAccessSizeLog, is_write, false, in MemoryAccessRange()
417 int const kAccessSizeLog = 0; in MemoryAccessRange() local
420 cur.SetAddr0AndSizeLog(addr & (kShadowCell - 1), kAccessSizeLog); in MemoryAccessRange()
421 MemoryAccessImpl(thr, addr, kAccessSizeLog, is_write, false, in MemoryAccessRange()
Dtsan_rtl.h194 void SetAddr0AndSizeLog(u64 addr0, unsigned kAccessSizeLog) { in SetAddr0AndSizeLog() argument
197 DCHECK_LE(kAccessSizeLog, 3); in SetAddr0AndSizeLog()
198 x_ |= ((kAccessSizeLog << 3) | addr0) << kClkBits; in SetAddr0AndSizeLog()
199 DCHECK_EQ(kAccessSizeLog, size_log()); in SetAddr0AndSizeLog()
724 int kAccessSizeLog, bool kAccessIsWrite, bool kIsAtomic);
726 int kAccessSizeLog, bool kAccessIsWrite, bool kIsAtomic,
741 uptr addr, int kAccessSizeLog) { in MemoryRead() argument
742 MemoryAccess(thr, pc, addr, kAccessSizeLog, false, false); in MemoryRead()
746 uptr addr, int kAccessSizeLog) { in MemoryWrite() argument
747 MemoryAccess(thr, pc, addr, kAccessSizeLog, true, false); in MemoryWrite()
[all …]
Dtsan_rtl.cpp655 int kAccessSizeLog, bool kAccessIsWrite, bool kIsAtomic, in MemoryAccessImpl1() argument
659 StatInc(thr, (StatType)(StatMop1 + kAccessSizeLog)); in MemoryAccessImpl1()
727 int kAccessSizeLog = kSizeLog1; in UnalignedMemoryAccess() local
730 kAccessSizeLog = kSizeLog8; in UnalignedMemoryAccess()
733 kAccessSizeLog = kSizeLog4; in UnalignedMemoryAccess()
736 kAccessSizeLog = kSizeLog2; in UnalignedMemoryAccess()
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()
857 StatInc(thr, (StatType)(StatMop1 + kAccessSizeLog)); in MemoryAccess()
[all …]
Dtsan_update_shadow_word_inl.h17 const unsigned kAccessSize = 1 << kAccessSizeLog;