Lines Matching defs:x_
101 x_ = tid << kTidShift;
102 x_ |= epoch;
109 : x_(x) {
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);
150 return (int)((x_ >> kHistoryShift) & kHistoryMask);
172 u64 x_;
190 : FastState(s.x_) {
195 DCHECK_EQ((x_ >> kClkBits) & 31, 0);
198 x_ |= ((kAccessSizeLog << 3) | addr0) << kClkBits;
204 DCHECK_EQ(x_ & kReadBit, 0);
206 x_ |= kReadBit;
213 x_ |= kAtomicBit;
218 return x_ & kAtomicBit;
222 return x_ == 0;
226 u64 shifted_xor = (s1.x_ ^ s2.x_) >> kTidShift;
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; }