• Home
  • Raw
  • Download

Lines Matching refs:renames

52    std::vector<std::map<Temp, Temp>> renames;  member
69 register_demand(std::move(register_demand)), renames(program->blocks.size()), in spill_ctx()
748 std::map<Temp, Temp>::iterator it = ctx.renames[pred_idx].find(live.first); in add_coupling_code()
749 if (it != ctx.renames[pred_idx].end()) in add_coupling_code()
750 ctx.renames[block_idx].insert(*it); in add_coupling_code()
759 ctx.renames[block_idx][live.first] = new_name; in add_coupling_code()
780 std::map<Temp, Temp>::iterator it = ctx.renames[pred_idx].find(live.first); in add_coupling_code()
781 if (it != ctx.renames[pred_idx].end()) in add_coupling_code()
782 ctx.renames[block_idx].insert(*it); in add_coupling_code()
791 ctx.renames[block_idx][live.first] = new_name; in add_coupling_code()
835 std::map<Temp, Temp>::iterator rename_it = ctx.renames[pred_idx].find(var); in add_coupling_code()
837 if (rename_it == ctx.renames[preds[i]].end() && ctx.remat.count(var)) in add_coupling_code()
856 if (rename_it != ctx.renames[pred_idx].end()) { in add_coupling_code()
858 ctx.renames[pred_idx].erase(rename_it); in add_coupling_code()
909 std::map<Temp, Temp>::iterator rename_it = ctx.renames[pred_idx].find(var); in add_coupling_code()
910 if (rename_it != ctx.renames[pred_idx].end()) { in add_coupling_code()
912 ctx.renames[pred_idx].erase(rename_it); in add_coupling_code()
943 … std::map<Temp, Temp>::iterator it = ctx.renames[pred_idx].find(phi->operands[i].getTemp()); in add_coupling_code()
944 if (it != ctx.renames[pred_idx].end()) in add_coupling_code()
968 ctx.renames[pred_idx][tmp] = new_name; in add_coupling_code()
1008 ctx.renames[pred.index][pair.first] = new_name; in add_coupling_code()
1015 if (ctx.renames[pred_idx].find(pair.first) == ctx.renames[pred_idx].end()) { in add_coupling_code()
1022 rename = ctx.renames[pred_idx][pair.first]; in add_coupling_code()
1024 is_same = rename == ctx.renames[pred_idx][pair.first]; in add_coupling_code()
1038 if (ctx.renames[preds[i]].find(pair.first) != ctx.renames[preds[i]].end()) { in add_coupling_code()
1039 tmp = ctx.renames[preds[i]][pair.first]; in add_coupling_code()
1056 ctx.renames[block_idx][pair.first] = rename; in add_coupling_code()
1107 if (ctx.renames[block_idx].find(op.getTemp()) != ctx.renames[block_idx].end()) in process_block()
1108 op.setTemp(ctx.renames[block_idx][op.getTemp()]); in process_block()
1116 ctx.renames[block_idx][op.getTemp()] = new_tmp; in process_block()
1177 if (ctx.renames[block_idx].find(to_spill) != ctx.renames[block_idx].end()) { in process_block()
1178 to_spill = ctx.renames[block_idx][to_spill]; in process_block()
1225 !ctx.renames[block_idx].empty() || in spill_block()
1249 std::map<Temp, Temp> renames = std::move(ctx.renames[loop_header->index]); in spill_block() local
1255 renames.swap(ctx.renames[loop_header->index]); in spill_block()
1256 for (std::pair<Temp, Temp> rename : renames) { in spill_block()
1289 ctx.renames[idx].insert(rename); in spill_block()