reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
101 x_ = tid << kTidShift; 102 x_ |= epoch; 113 return x_; 117 u64 res = (x_ & ~kIgnoreBit) >> kTidShift; 122 u64 res = x_ >> kTidShift; 127 u64 res = x_ & ((1ull << kClkBits) - 1); 133 x_ += 1; 138 void SetIgnoreBit() { x_ |= kIgnoreBit; } 139 void ClearIgnoreBit() { x_ &= ~kIgnoreBit; } 140 bool GetIgnoreBit() const { return (s64)x_ < 0; } 145 x_ = (x_ & ~(kHistoryMask << kHistoryShift)) | (u64(hs) << kHistoryShift); 145 x_ = (x_ & ~(kHistoryMask << kHistoryShift)) | (u64(hs) << kHistoryShift); 150 return (int)((x_ >> kHistoryShift) & kHistoryMask); 190 : FastState(s.x_) { 198 x_ |= ((kAccessSizeLog << 3) | addr0) << kClkBits; 206 x_ |= kReadBit; 213 x_ |= kAtomicBit; 218 return x_ & kAtomicBit; 222 return x_ == 0; 226 u64 shifted_xor = (s1.x_ ^ s2.x_) >> kTidShift; 226 u64 shifted_xor = (s1.x_ ^ s2.x_) >> kTidShift; 233 u64 masked_xor = ((s1.x_ ^ s2.x_) >> kClkBits) & 31; 233 u64 masked_xor = ((s1.x_ ^ s2.x_) >> kClkBits) & 31; 255 u64 ALWAYS_INLINE addr0() const { return (x_ >> kClkBits) & 7; } 258 bool ALWAYS_INLINE IsRead() const { return x_ & kReadBit; } 270 x_ |= kFreedBit; 274 return x_ & kFreedBit; 278 bool res = x_ & kFreedBit; 279 x_ &= ~kFreedBit; 284 bool v = x_ & ((u64(kIsWrite ^ 1) << kReadShift) 291 bool v = ((x_ >> kReadShift) & 3) 299 bool v = ((x_ >> kReadShift) & 3) 312 u64 size_log() const { return (x_ >> (3 + kClkBits)) & 3; }