• Home
  • Raw
  • Download

Lines Matching refs:tempId

328          fill_subdword(op.physReg(), op.bytes(), op.tempId());  in fill()
330 fill(op.physReg(), op.size(), op.tempId()); in fill()
338 fill_subdword(def.physReg(), def.bytes(), def.tempId()); in fill()
340 fill(def.physReg(), def.size(), def.tempId()); in fill()
793 ctx.assignments[def.tempId()].reg = def.physReg(); in update_renames()
808 ctx.assignments[other.second.tempId()].reg = other.second.physReg(); in update_renames()
814 if (op.isTemp() && op.tempId() == other.second.tempId()) { in update_renames()
840 if (op.tempId() == copy.first.tempId()) { in update_renames()
1048 if (instr->operands[i].isTemp() && instr->operands[i].tempId() == id && in get_reg_for_create_vector_copy()
1073 assignment& op = ctx.assignments[instr->operands[i].tempId()]; in get_reg_for_create_vector_copy()
1076 reg_file.get_id(op.reg) == instr->operands[i].tempId()) { in get_reg_for_create_vector_copy()
1109 if (instr->operands[i].isTemp() && instr->operands[i].tempId() == id) { in get_regs_for_copies()
1182 if (op.isTemp() && op.isKillBeforeDef() && op.tempId() == reg_file[j]) { in get_regs_for_copies()
1526 if (ctx.assignments[op.tempId()].assigned) { in is_mimg_vaddr_intact()
1527 PhysReg reg = ctx.assignments[op.tempId()].reg; in is_mimg_vaddr_intact()
1559 if (op.isTemp() && op.tempId() == temp.id()) in get_reg_vector()
1573 if (op.isTemp() && op.tempId() != temp.id() && op.getTemp().type() == temp.type() && in get_reg_vector()
1574 ctx.assignments[op.tempId()].assigned) { in get_reg_vector()
1575 PhysReg reg = ctx.assignments[op.tempId()].reg; in get_reg_vector()
1613 if (ctx.assignments[def.tempId()].affinity) { in get_reg()
1614 assignment& affinity = ctx.assignments[ctx.assignments[def.tempId()].affinity]; in get_reg()
1672 if (ctx.assignments[def.tempId()].assigned && def.regClass().type() == info.rc.type()) in get_reg()
1696 killed_op_vars.emplace_back(op.tempId(), op.regClass()); in get_reg()
1703 if (ctx.assignments[def.tempId()].assigned && def.regClass().type() == info.rc.type()) in get_reg()
1704 def_vars.emplace_back(def.tempId(), def.regClass()); in get_reg()
1926 if (is_other_sgpr && instr->operands[!idx].tempId() != instr->operands[idx].tempId()) { in operand_can_use_reg()
1956 PhysReg src = ctx.assignments[operand.tempId()].reg; in get_reg_for_operand()
2009 if ((*phi_it)->definitions[0].tempId() == pc.first.tempId()) in get_reg_phi()
2016 ctx.assignments[prev_phi->definitions[0].tempId()] = {pc.second.physReg(), in get_reg_phi()
2022 std::unordered_map<unsigned, Temp>::iterator orig_it = ctx.orig_names.find(pc.first.tempId()); in get_reg_phi()
2027 ctx.orig_names[pc.second.tempId()] = orig; in get_reg_phi()
2085 ctx.assignments[definition.tempId()].set(definition); in get_regs_for_phis()
2095 if (ctx.assignments[definition.tempId()].affinity && in get_regs_for_phis()
2096 ctx.assignments[ctx.assignments[definition.tempId()].affinity].assigned) { in get_regs_for_phis()
2097 assignment& affinity = ctx.assignments[ctx.assignments[definition.tempId()].affinity]; in get_regs_for_phis()
2102 ctx.assignments[definition.tempId()].set(definition); in get_regs_for_phis()
2117 ctx.assignments[definition.tempId()].set(definition); in get_regs_for_phis()
2136 ctx.assignments[definition.tempId()].set(definition); in get_regs_for_phis()
2253 std::unordered_map<unsigned, Temp>::iterator it = ctx.orig_names.find(op.tempId()); in handle_loop_phis()
2257 op.setFixed(ctx.assignments[op.tempId()].reg); in handle_loop_phis()
2278 auto rename = renames.find(op.tempId()); in handle_loop_phis()
2317 operand.setFixed(ctx.assignments[operand.tempId()].reg); in init_reg_file()
2342 operand.setFixed(ctx.assignments[operand.tempId()].reg); in init_reg_file()
2387 ctx.vectors[op.tempId()] = instr.get(); in get_affinities()
2391 ctx.vectors[instr->operands[i].tempId()] = instr.get(); in get_affinities()
2394 ctx.split_vectors[instr->operands[0].tempId()] = instr.get(); in get_affinities()
2397 ctx.assignments[instr->definitions[0].tempId()].vcc = true; in get_affinities()
2401 ctx.assignments[instr->operands[2].tempId()].vcc = true; in get_affinities()
2403 ctx.assignments[instr->definitions[1].tempId()].vcc = true; in get_affinities()
2411 ctx.assignments[instr->operands[0].tempId()].vcc = true; in get_affinities()
2417 live.insert(op.tempId()); in get_affinities()
2425 live.erase(def.tempId()); in get_affinities()
2428 temp_to_phi_ressources.find(def.tempId()); in get_affinities()
2466 temp_to_phi_ressources[op.tempId()] = it->second; in get_affinities()
2477 live.erase(instr->definitions[0].tempId()); in get_affinities()
2483 temp_to_phi_ressources.find(instr->definitions[0].tempId()); in get_affinities()
2500 temp_to_phi_ressources[op.tempId()] = index; in get_affinities()
2519 auto it = temp_to_phi_ressources.find(phi->definitions[0].tempId()); in get_affinities()
2522 temp_to_phi_ressources[phi->definitions[0].tempId()] = index; in get_affinities()
2530 temp_to_phi_ressources[op.tempId()] = index; in get_affinities()
2568 unsigned def_id = instr->definitions[0].tempId(); in optimize_encoding_vop2()
2623 unsigned def_id = instr->definitions[0].tempId(); in optimize_encoding_sopk()
2731 phi_op.setFixed(ctx.assignments[phi_op.tempId()].reg); in register_allocation()
2763 assert(ctx.assignments[operand.tempId()].assigned); in register_allocation()
2765 PhysReg reg = ctx.assignments[operand.tempId()].reg; in register_allocation()
2855 ctx.assignments[definition.tempId()].set(definition); in register_allocation()
2929 ctx.assignments[definition->tempId()].set(*definition); in register_allocation()
2982 ctx.orig_names.find(pc->operands[i].tempId()); in register_allocation()
2984 ctx.orig_names[pc->definitions[i].tempId()] = orig; in register_allocation()