Home
last modified time | relevance | path

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

/external/llvm-project/compiler-rt/lib/tsan/rtl/
Dtsan_defs.h40 const int kClkBits = 42; variable
41 const unsigned kMaxTidReuse = (1 << (64 - kClkBits)) - 1;
44 u64 epoch : kClkBits;
45 u64 reused : 64 - kClkBits; // tid reuse count
Dtsan_rtl.h127 u64 res = x_ & ((1ull << kClkBits) - 1); in epoch()
170 static const u64 kHistoryShift = kClkBits;
195 DCHECK_EQ((x_ >> kClkBits) & 31, 0); in SetAddr0AndSizeLog()
198 x_ |= ((kAccessSizeLog << 3) | addr0) << kClkBits; in SetAddr0AndSizeLog()
233 u64 masked_xor = ((s1.x_ ^ s2.x_) >> kClkBits) & 31; in Addr0AndSizeAreEqual()
255 u64 ALWAYS_INLINE addr0() const { return (x_ >> kClkBits) & 7; } in addr0()
307 static const u64 kReadShift = 5 + kClkBits;
309 static const u64 kAtomicShift = 6 + kClkBits;
312 u64 size_log() const { return (x_ >> (3 + kClkBits)) & 3; } in size_log()
Dtsan_clock.h68 u64 epoch : kClkBits;
69 u64 tid : 64 - kClkBits; // kInvalidId if not active
Dtsan_clock.cpp124 CHECK_EQ(reused_, ((u64)reused_ << kClkBits) >> kClkBits); in ThreadClock()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_rtl.h120 u64 res = x_ & ((1ull << kClkBits) - 1); in epoch()
163 static const u64 kHistoryShift = kClkBits;
188 DCHECK_EQ((x_ >> kClkBits) & 31, 0); in SetAddr0AndSizeLog()
191 x_ |= ((kAccessSizeLog << 3) | addr0) << kClkBits; in SetAddr0AndSizeLog()
226 u64 masked_xor = ((s1.x_ ^ s2.x_) >> kClkBits) & 31; in Addr0AndSizeAreEqual()
248 u64 ALWAYS_INLINE addr0() const { return (x_ >> kClkBits) & 7; } in addr0()
300 static const u64 kReadShift = 5 + kClkBits;
302 static const u64 kAtomicShift = 6 + kClkBits;
305 u64 size_log() const { return (x_ >> (3 + kClkBits)) & 3; } in size_log()
Dtsan_defs.h58 const int kClkBits = 42; variable
59 const unsigned kMaxTidReuse = (1 << (64 - kClkBits)) - 1;
Dtsan_clock.h22 u64 epoch : kClkBits;
23 u64 reused : 64 - kClkBits;
Dtsan_clock.cc97 CHECK_EQ(reused_, ((u64)reused_ << kClkBits) >> kClkBits); in ThreadClock()