Lines Matching refs:kIsAtomic
202 void SetAtomic(bool kIsAtomic) { in SetAtomic() argument
204 if (kIsAtomic) in SetAtomic()
206 DCHECK_EQ(IsAtomic(), kIsAtomic); in SetAtomic()
275 bool ALWAYS_INLINE IsBothReadsOrAtomic(bool kIsWrite, bool kIsAtomic) const { in IsBothReadsOrAtomic() argument
277 | (u64(kIsAtomic) << kAtomicShift)); 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()
285 DCHECK_EQ(v, (IsAtomic() < kIsAtomic) || 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()
293 DCHECK_EQ(v, (IsAtomic() > kIsAtomic) || in IsRWWeakerOrEqual()
294 (IsAtomic() == kIsAtomic && !IsWrite() >= !kIsWrite)); in IsRWWeakerOrEqual()
619 int kAccessSizeLog, bool kAccessIsWrite, bool kIsAtomic);
621 int kAccessSizeLog, bool kAccessIsWrite, bool kIsAtomic,
628 int size, bool kAccessIsWrite, bool kIsAtomic);