Lines Matching refs:live_inout

117     RegisterLiveness::RegionRegisterLiveness* live_inout =  in ComputePartialLiveness()  local
119 ComputePhiUses(*bb, &live_inout->live_out_); in ComputePartialLiveness()
122 cbb->ForEachSuccessorLabel([&live_inout, bb, this](uint32_t sid) { in ComputePartialLiveness()
138 live_inout->live_out_.insert(filter.begin(), filter.end()); in ComputePartialLiveness()
141 live_inout->live_in_ = live_inout->live_out_; in ComputePartialLiveness()
144 live_inout->live_in_.insert(&insn); in ComputePartialLiveness()
147 live_inout->live_in_.erase(&insn); in ComputePartialLiveness()
148 insn.ForEachInId([live_inout, this](uint32_t* id) { in ComputePartialLiveness()
151 live_inout->live_in_.insert(insn_op); in ComputePartialLiveness()
187 RegisterLiveness::RegionRegisterLiveness* live_inout = in DoLoopLivenessUnification() local
189 live_inout->live_in_.insert(live_loop.begin(), live_loop.end()); in DoLoopLivenessUnification()
190 live_inout->live_out_.insert(live_loop.begin(), live_loop.end()); in DoLoopLivenessUnification()
194 RegisterLiveness::RegionRegisterLiveness* live_inout = in DoLoopLivenessUnification() local
196 live_inout->live_in_.insert(live_loop.begin(), live_loop.end()); in DoLoopLivenessUnification()
197 live_inout->live_out_.insert(live_loop.begin(), live_loop.end()); in DoLoopLivenessUnification()
206 RegisterLiveness::RegionRegisterLiveness* live_inout = in EvaluateRegisterRequirements() local
208 assert(live_inout != nullptr && "Basic block not processed"); in EvaluateRegisterRequirements()
210 size_t reg_count = live_inout->live_out_.size(); in EvaluateRegisterRequirements()
211 for (Instruction* insn : live_inout->live_out_) { in EvaluateRegisterRequirements()
212 live_inout->AddRegisterClass(insn); in EvaluateRegisterRequirements()
214 live_inout->used_registers_ = reg_count; in EvaluateRegisterRequirements()
225 [live_inout, &die_in_block, &reg_count, this](uint32_t* id) { in EvaluateRegisterRequirements()
228 live_inout->live_out_.count(op_insn)) { in EvaluateRegisterRequirements()
233 live_inout->AddRegisterClass(def_use_manager_.GetDef(*id)); in EvaluateRegisterRequirements()
238 live_inout->used_registers_ = in EvaluateRegisterRequirements()
239 std::max(live_inout->used_registers_, reg_count); in EvaluateRegisterRequirements()
292 const RegionRegisterLiveness* live_inout = Get(bb_id); in ComputeLoopRegisterPressure() local
293 loop_reg_pressure->live_out_.insert(live_inout->live_in_.begin(), in ComputeLoopRegisterPressure()
294 live_inout->live_in_.end()); in ComputeLoopRegisterPressure()
315 const RegionRegisterLiveness* live_inout = Get(bb_id); in ComputeLoopRegisterPressure() local
316 assert(live_inout != nullptr && "Basic block not processed"); in ComputeLoopRegisterPressure()
318 loop_reg_pressure->used_registers_, live_inout->used_registers_); in ComputeLoopRegisterPressure()
350 const RegionRegisterLiveness* live_inout = Get(bb_id); in SimulateFusion() local
351 sim_result->live_out_.insert(live_inout->live_in_.begin(), in SimulateFusion()
352 live_inout->live_in_.end()); in SimulateFusion()
478 const RegionRegisterLiveness* live_inout = Get(bb_id); in SimulateFission() local
479 l2_sim_result->live_out_.insert(live_inout->live_in_.begin(), in SimulateFission()
480 live_inout->live_in_.end()); in SimulateFission()
512 const RegisterLiveness::RegionRegisterLiveness* live_inout = Get(bb_id); in SimulateFission() local
513 assert(live_inout != nullptr && "Basic block not processed"); in SimulateFission()
515 MakeFilterIteratorRange(live_inout->live_out_.begin(), in SimulateFission()
516 live_inout->live_out_.end(), belong_to_loop1); in SimulateFission()
518 MakeFilterIteratorRange(live_inout->live_out_.begin(), in SimulateFission()
519 live_inout->live_out_.end(), belong_to_loop2); in SimulateFission()
534 insn.ForEachInId([live_inout, &die_in_block, &l1_reg_count, &l2_reg_count, in SimulateFission()
539 live_inout->live_out_.count(op_insn)) { in SimulateFission()