Home
last modified time | relevance | path

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

/external/compiler-rt/lib/tsan/rtl/
Dtsan_rtl.h275 bool ALWAYS_INLINE IsBothReadsOrAtomic(bool kIsWrite, bool kIsAtomic) const { in IsBothReadsOrAtomic() argument
276 bool v = x_ & ((u64(kIsWrite ^ 1) << kReadShift) in IsBothReadsOrAtomic()
278 DCHECK_EQ(v, (!IsWrite() && !kIsWrite) || (IsAtomic() && kIsAtomic)); in IsBothReadsOrAtomic()
282 bool ALWAYS_INLINE IsRWNotWeaker(bool kIsWrite, bool kIsAtomic) const { in IsRWNotWeaker() argument
284 <= u64((kIsWrite ^ 1) | (kIsAtomic << 1)); in IsRWNotWeaker()
286 (IsAtomic() == kIsAtomic && !IsWrite() <= !kIsWrite)); in IsRWNotWeaker()
290 bool ALWAYS_INLINE IsRWWeakerOrEqual(bool kIsWrite, bool kIsAtomic) const { in IsRWWeakerOrEqual() argument
292 >= u64((kIsWrite ^ 1) | (kIsAtomic << 1)); in IsRWWeakerOrEqual()
294 (IsAtomic() == kIsAtomic && !IsWrite() >= !kIsWrite)); in IsRWWeakerOrEqual()