Lines Matching refs:storage_t
72 using storage_t = std::conditional< variable
75 static_assert(8 * sizeof(storage_t) >= needed_bits &&
76 8 * sizeof(storage_t) < 2 * needed_bits,
91 DCHECK_EQ(code, static_cast<storage_t>(code)); in from_liftoff_code()
109 storage_t combined_code = low.code() | high.code() << kBitsPerGpRegCode | in ForPair()
129 static constexpr storage_t kCodeMask = (1 << kBitsPerGpRegCode) - 1; in low_gp()
135 static constexpr storage_t kCodeMask = (1 << kBitsPerGpRegCode) - 1; in high_gp()
173 storage_t code_;
175 explicit constexpr LiftoffRegister(storage_t code) : code_(code) {} in LiftoffRegister()
194 using storage_t = std::conditional< variable
198 static constexpr storage_t kGpMask = storage_t{kLiftoffAssemblerGpCacheRegs};
199 static constexpr storage_t kFpMask = storage_t{kLiftoffAssemblerFpCacheRegs}
211 regs_ |= storage_t{1} << reg.low().liftoff_code(); in set()
212 regs_ |= storage_t{1} << reg.high().liftoff_code(); in set()
214 regs_ |= storage_t{1} << reg.liftoff_code(); in set()
221 regs_ &= ~(storage_t{1} << reg.low().liftoff_code()); in clear()
222 regs_ &= ~(storage_t{1} << reg.high().liftoff_code()); in clear()
224 regs_ &= ~(storage_t{1} << reg.liftoff_code()); in clear()
234 return (regs_ & (storage_t{1} << reg.liftoff_code())) != 0; in has()
279 static LiftoffRegList FromBits(storage_t bits) { in FromBits()
284 template <storage_t bits>
301 storage_t regs_ = 0;
304 explicit constexpr LiftoffRegList(storage_t bits) : regs_(bits) {} in LiftoffRegList()