Lines Matching defs:CacheState
113 struct CacheState { struct
117 CacheState& operator=(CacheState&&) = default; argument
120 std::vector<VarState> stack_state;
121 LiftoffRegList used_registers;
122 uint32_t register_use_count[kAfterMaxLiftoffRegCode] = {0};
123 LiftoffRegList last_spilled_regs;
125 uint32_t stack_base = 0;
129 LiftoffRegList available_regs =
134 LiftoffRegList candidates = GetCacheRegList(rc);
140 LiftoffRegList available_regs = candidates & ~used_registers & ~pinned;
148 Register high = unused_register(kGpReg, pinned).gp();
152 LiftoffRegList candidates = GetCacheRegList(rc);
158 LiftoffRegList available_regs = candidates & ~used_registers & ~pinned;
162 void inc_used(LiftoffRegister reg) { in inc_used()
174 void dec_used(LiftoffRegister reg) { in dec_used()
186 bool is_used(LiftoffRegister reg) const { in is_used()
193 uint32_t get_use_count(LiftoffRegister reg) const { in get_use_count()
203 void clear_used(LiftoffRegister reg) { in clear_used()
208 bool is_free(LiftoffRegister reg) const { return !is_used(reg); } in is_free()
232 void InitMerge(const CacheState& source, uint32_t num_locals, argument
245 CacheState& operator=(const CacheState&) = default; argument