Home
last modified time | relevance | path

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

/external/compiler-rt/lib/tsan/rtl/
Dtsan_rtl.h186 void SetAddr0AndSizeLog(u64 addr0, unsigned kAccessSizeLog) { in SetAddr0AndSizeLog() argument
189 DCHECK_LE(kAccessSizeLog, 3); in SetAddr0AndSizeLog()
190 x_ |= ((kAccessSizeLog << 3) | addr0) << kClkBits; in SetAddr0AndSizeLog()
191 DCHECK_EQ(kAccessSizeLog, size_log()); in SetAddr0AndSizeLog()
619 int kAccessSizeLog, bool kAccessIsWrite, bool kIsAtomic);
621 int kAccessSizeLog, bool kAccessIsWrite, bool kIsAtomic,
636 uptr addr, int kAccessSizeLog) { in MemoryRead() argument
637 MemoryAccess(thr, pc, addr, kAccessSizeLog, false, false); in MemoryRead()
641 uptr addr, int kAccessSizeLog) { in MemoryWrite() argument
642 MemoryAccess(thr, pc, addr, kAccessSizeLog, true, false); in MemoryWrite()
[all …]
Dtsan_rtl.cc559 int kAccessSizeLog, bool kAccessIsWrite, bool kIsAtomic, in MemoryAccessImpl1() argument
563 StatInc(thr, (StatType)(StatMop1 + kAccessSizeLog)); in MemoryAccessImpl1()
618 int kAccessSizeLog = kSizeLog1; in UnalignedMemoryAccess() local
621 kAccessSizeLog = kSizeLog8; in UnalignedMemoryAccess()
624 kAccessSizeLog = kSizeLog4; in UnalignedMemoryAccess()
627 kAccessSizeLog = kSizeLog2; in UnalignedMemoryAccess()
629 MemoryAccess(thr, pc, addr, kAccessSizeLog, kAccessIsWrite, kIsAtomic); in UnalignedMemoryAccess()
724 int kAccessSizeLog, bool kAccessIsWrite, bool kIsAtomic) { in MemoryAccess() argument
729 (int)(1 << kAccessSizeLog), kAccessIsWrite, shadow_mem, in MemoryAccess()
748 StatInc(thr, (StatType)(StatMop1 + kAccessSizeLog)); in MemoryAccess()
[all …]
Dtsan_rtl_thread.cc379 int const kAccessSizeLog = 0; in MemoryAccessRange() local
382 cur.SetAddr0AndSizeLog(addr & (kShadowCell - 1), kAccessSizeLog); in MemoryAccessRange()
383 MemoryAccessImpl(thr, addr, kAccessSizeLog, is_write, false, in MemoryAccessRange()
390 int const kAccessSizeLog = 3; in MemoryAccessRange() local
393 cur.SetAddr0AndSizeLog(0, kAccessSizeLog); in MemoryAccessRange()
394 MemoryAccessImpl(thr, addr, kAccessSizeLog, is_write, false, in MemoryAccessRange()
400 int const kAccessSizeLog = 0; in MemoryAccessRange() local
403 cur.SetAddr0AndSizeLog(addr & (kShadowCell - 1), kAccessSizeLog); in MemoryAccessRange()
404 MemoryAccessImpl(thr, addr, kAccessSizeLog, is_write, false, in MemoryAccessRange()
Dtsan_update_shadow_word_inl.h18 const unsigned kAccessSize = 1 << kAccessSizeLog;