• Home
  • Raw
  • Download

Lines Matching refs:getTemp

193             next_use_distances_start.erase(def.getTemp());  in next_uses_per_block()
203 next_use_distances_start[op.getTemp()] = {block_idx, idx}; in next_uses_per_block()
216 …t = instr->definitions[0].isTemp() ? next_use_distances_start.find(instr->definitions[0].getTemp()) in next_uses_per_block()
219 phi_defs.insert(instr->definitions[0].getTemp()).second) { in next_uses_per_block()
228 std::make_pair(instr->operands[i].getTemp(), distance)); in next_uses_per_block()
341 if (ctx.remat.count(instr->operands[i].getTemp())) in do_reload()
342 ctx.unused_remats.erase(ctx.remat[instr->operands[i].getTemp()].instr); in do_reload()
370 ctx.remat[def.getTemp()] = remat_info{instr.get()}; in get_rematerialize_info()
414 [op](auto& pair) { return pair.first == op.getTemp(); }); in update_local_next_uses()
416 local_next_uses[idx].push_back(std::make_pair<Temp, uint32_t>(op.getTemp(), idx)); in update_local_next_uses()
425 [def](auto& pair) { return pair.first == def.getTemp(); }); in update_local_next_uses()
463 !ctx.spills_entry[block_idx].count(phi->definitions[0].getTemp())) in get_live_in_demand()
464 reg_pressure += phi->definitions[0].getTemp(); in get_live_in_demand()
705 partial_spills.insert(phi->definitions[0].getTemp()); in init_live_in_vars()
709 if (!ctx.spills_exit[preds[i]].count(phi->operands[i].getTemp())) in init_live_in_vars()
712 partial_spills.insert(phi->definitions[0].getTemp()); in init_live_in_vars()
715 ctx.spills_entry[block_idx][phi->definitions[0].getTemp()] = in init_live_in_vars()
717 partial_spills.erase(phi->definitions[0].getTemp()); in init_live_in_vars()
718 spilled_registers += phi->definitions[0].getTemp(); in init_live_in_vars()
861 !ctx.spills_entry[block_idx].count(phi->definitions[0].getTemp())) { in add_coupling_code()
868 uint32_t def_spill_id = ctx.spills_entry[block_idx][phi->definitions[0].getTemp()]; in add_coupling_code()
879 Temp var = phi->operands[i].getTemp(); in add_coupling_code()
922 ctx.spills_exit[pred_idx][spill_op.getTemp()] = spill_id; in add_coupling_code()
985 !ctx.spills_entry[block_idx].count(phi->definitions[0].getTemp())); in add_coupling_code()
995 if (!ctx.spills_exit[pred_idx].count(phi->operands[i].getTemp())) { in add_coupling_code()
997 ctx.renames[pred_idx].find(phi->operands[i].getTemp()); in add_coupling_code()
1002 auto remat_it = ctx.remat.find(phi->operands[i].getTemp()); in add_coupling_code()
1010 Temp tmp = phi->operands[i].getTemp(); in add_coupling_code()
1184 if (!current_spills.count(op.getTemp())) { in process_block()
1186 auto rename_it = ctx.renames[block_idx].find(op.getTemp()); in process_block()
1191 auto remat_it = ctx.remat.find(op.getTemp()); in process_block()
1200 ctx.renames[block_idx][op.getTemp()] = new_tmp; in process_block()
1201 reloads[new_tmp] = std::make_pair(op.getTemp(), current_spills[op.getTemp()]); in process_block()
1202 current_spills.erase(op.getTemp()); in process_block()
1351 if (op.getTemp() == rename.first) in spill_block()
1372 if (op.getTemp() == rename.first) { in spill_block()
1671 Temp temp = (*it)->operands[0].getTemp(); in assign_spill_slots()
1683 split->definitions[i].getTemp(), offset + i * 4, false, true); in assign_spill_slots()
1851 vgprs.insert(pred_instr->operands[0].getTemp()); in assign_spill_slots()