/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_rtl.h | 187 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 …]
|
D | tsan_rtl_thread.cc | 371 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()
|
D | tsan_rtl.cc | 581 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 …]
|
D | tsan_update_shadow_word_inl.h | 18 const unsigned kAccessSize = 1 << kAccessSizeLog;
|
/external/llvm-project/compiler-rt/lib/tsan/rtl/ |
D | tsan_rtl_thread.cpp | 396 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()
|
D | tsan_rtl.h | 194 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 …]
|
D | tsan_rtl.cpp | 655 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 …]
|
D | tsan_update_shadow_word_inl.h | 17 const unsigned kAccessSize = 1 << kAccessSizeLog;
|