• Home
  • Raw
  • Download

Lines Matching refs:spills_exit

54    std::vector<std::map<Temp, uint32_t>> spills_exit;  member
70 spills_entry(program->blocks.size()), spills_exit(program->blocks.size()), in spill_ctx()
393 auto it = ctx.spills_exit[block_idx - 1].find(to_spill); in init_live_in_vars()
394 if (it == ctx.spills_exit[block_idx - 1].end()) in init_live_in_vars()
418 … if (ctx.spills_exit[block_idx - 1].find(to_spill) == ctx.spills_exit[block_idx - 1].end()) { in init_live_in_vars()
421 spill_id = ctx.spills_exit[block_idx - 1][to_spill]; in init_live_in_vars()
445 … if (ctx.spills_exit[block_idx - 1].find(to_spill) == ctx.spills_exit[block_idx - 1].end()) { in init_live_in_vars()
448 spill_id = ctx.spills_exit[block_idx - 1][to_spill]; in init_live_in_vars()
517 for (std::pair<Temp, uint32_t> pair : ctx.spills_exit[pred_idx]) { in init_live_in_vars()
527 for (std::pair<Temp, uint32_t> pair : ctx.spills_exit[pred_idx]) { in init_live_in_vars()
540 for (std::pair<Temp, uint32_t> pair : ctx.spills_exit[pred_idx]) { in init_live_in_vars()
550 for (std::pair<Temp, uint32_t> pair : ctx.spills_exit[pred_idx]) { in init_live_in_vars()
581 if (ctx.spills_exit[pred_idx].find(pair.first) == ctx.spills_exit[pred_idx].end()) { in init_live_in_vars()
587 spill_id = ctx.spills_exit[pred_idx][pair.first]; in init_live_in_vars()
611 … if (ctx.spills_exit[preds[i]].find(phi->operands[i].getTemp()) == ctx.spills_exit[preds[i]].end()) in init_live_in_vars()
747 if (ctx.spills_exit[pred_idx].find(live.first) == ctx.spills_exit[pred_idx].end()) { in add_coupling_code()
756 …aco_ptr<Instruction> reload = do_reload(ctx, live.first, new_name, ctx.spills_exit[pred_idx][live.… in add_coupling_code()
779 if (ctx.spills_exit[pred_idx].find(live.first) == ctx.spills_exit[pred_idx].end()) { in add_coupling_code()
788 …aco_ptr<Instruction> reload = do_reload(ctx, live.first, new_name, ctx.spills_exit[pred_idx][live.… in add_coupling_code()
841 for (std::pair<Temp, uint32_t> pair : ctx.spills_exit[pred_idx]) { in add_coupling_code()
848 std::map<Temp, uint32_t>::iterator spilled = ctx.spills_exit[pred_idx].find(var); in add_coupling_code()
849 if (spilled != ctx.spills_exit[pred_idx].end()) { in add_coupling_code()
874 ctx.spills_exit[pred_idx][phi->operands[i].getTemp()] = spill_id; in add_coupling_code()
888 std::map<Temp, uint32_t>::iterator spilled = ctx.spills_exit[pred_idx].find(pair.first); in add_coupling_code()
889 if (spilled != ctx.spills_exit[pred_idx].end()) { in add_coupling_code()
900 for (std::pair<Temp, uint32_t> exit_spill : ctx.spills_exit[pred_idx]) { in add_coupling_code()
926 ctx.spills_exit[pred.index][pair.first] = pair.second; in add_coupling_code()
942 …if (ctx.spills_exit[pred_idx].find(phi->operands[i].getTemp()) == ctx.spills_exit[pred_idx].end())… in add_coupling_code()
964 … aco_ptr<Instruction> reload = do_reload(ctx, tmp, new_name, ctx.spills_exit[pred_idx][tmp]); in add_coupling_code()
967 ctx.spills_exit[pred_idx].erase(tmp); in add_coupling_code()
991 if (ctx.spills_exit[pred_idx].find(pair.first) == ctx.spills_exit[pred_idx].end()) in add_coupling_code()
1004 …aco_ptr<Instruction> reload = do_reload(ctx, pair.first, new_name, ctx.spills_exit[pred.index][pai… in add_coupling_code()
1007 ctx.spills_exit[pred.index].erase(pair.first); in add_coupling_code()
1143 … ctx.spills_exit[block_idx].find(pair.first) == ctx.spills_exit[block_idx].end()) { in process_block()
1156 … ctx.spills_exit[block_idx].find(pair.first) == ctx.spills_exit[block_idx].end()) { in process_block()
1199 ctx.spills_exit[block_idx].insert(current_spills.begin(), current_spills.end()); in process_block()
1238 ctx.spills_exit[block_idx].insert(current_spills.begin(), current_spills.end()); in spill_block()
1537 for (std::pair<Temp, uint32_t> pair : ctx.spills_exit[block.linear_preds[0]]) { in assign_spill_slots()