Lines Matching refs:getTemp
564 if (copy.first.getTemp() == other.second.getTemp()) { in update_renames()
565 copy.first.setTemp(other.first.getTemp()); in update_renames()
597 op.setTemp(copy.second.getTemp()); in update_renames()
957 killed_ops += instr->operands[j].getTemp().size(); in get_reg_impl()
1067 op.getTemp().type() == rc.type()) { in get_reg_impl()
1227 op.getTemp().type() == temp.type() && in get_reg()
1317 ….isTemp() || !instr->operands[i].isKillBeforeDef() || instr->operands[i].getTemp().type() != rc.ty… in get_reg_create_vector()
1370 instr->operands[j].getTemp().type() != rc.type()) in get_reg_create_vector()
1400 instr->operands[i].getTemp().type() != rc.type()) in get_reg_create_vector()
1456 if (def.getTemp().type() == RegType::sgpr) { in handle_pseudo()
1465 if (op.isTemp() && op.getTemp().type() == RegType::sgpr) { in handle_pseudo()
1555 PhysReg reg = get_reg(ctx, register_file, pc_op.getTemp(), parallelcopy, ctx.pseudo_dummy); in get_reg_for_operand()
1563 dst = get_reg(ctx, register_file, operand.getTemp(), parallelcopy, instr, operand_index); in get_reg_for_operand()
1673 const Temp t = op.getTemp(); in try_remove_trivial_phi()
1674 if (t == same || t == def.getTemp()) { in try_remove_trivial_phi()
1683 assert(same != Temp() || same == def.getTemp()); in try_remove_trivial_phi()
1696 if (instr->definitions[0].getTemp() != temp) in try_remove_trivial_phi()
1697 phi_users.emplace_back(instr->definitions[0].getTemp()); in try_remove_trivial_phi()
1712 if (it != ctx.renames[i].end() && it->second == def.getTemp()) in try_remove_trivial_phi()
1750 affinity_related.emplace_back(instr->definitions[0].getTemp()); in register_allocation()
1751 affinity_related.emplace_back(instr->definitions[0].getTemp()); in register_allocation()
1754 affinity_related.emplace_back(op.getTemp()); in register_allocation()
1763 …if (op.isTemp() && op.isFirstKill() && op.getTemp().type() == instr->definitions[0].getTemp().type… in register_allocation()
1787 phi_ressources[it->second][0] = def.getTemp(); in register_allocation()
1800 phi_ressources[it->second].emplace_back(op.getTemp()); in register_allocation()
1929 … definition.setFixed(get_reg(ctx, register_file, definition.getTemp(), parallelcopy, phi)); in register_allocation()
1958 Temp orig = pc.first.getTemp(); in register_allocation()
1963 ctx.renames[block.index][orig.id()] = pc.second.getTemp(); in register_allocation()
1967 … aco_opcode opcode = pc.first.getTemp().is_linear() ? aco_opcode::p_linear_phi : aco_opcode::p_phi; in register_allocation()
1968 …std::vector<unsigned>& preds = pc.first.getTemp().is_linear() ? block.linear_preds : block.logical… in register_allocation()
2017 phi->operands[idx].getTemp().type() == RegType::sgpr && in register_allocation()
2019 Temp phi_op = read_variable(ctx, phi->operands[idx].getTemp(), block.index); in register_allocation()
2043 operand.setTemp(read_variable(ctx, operand.getTemp(), block.index)); in register_allocation()
2059 … std::unordered_map<unsigned, phi_info>::iterator phi = ctx.phi_map.find(operand.getTemp().id()); in register_allocation()
2078 instr->operands[2].getTemp().type() == RegType::vgpr && in register_allocation()
2080 instr->operands[1].getTemp().type() == RegType::vgpr && in register_allocation()
2205 instr->operands[i].getTemp().type() == definition->getTemp().type() && in register_allocation()
2214 PhysReg reg = get_reg_create_vector(ctx, register_file, definition->getTemp(), in register_allocation()
2220 Temp tmp = definition->getTemp(); in register_allocation()
2233 …assert(definition->isFixed() && ((definition->getTemp().type() == RegType::vgpr && definition->phy… in register_allocation()
2234 … (definition->getTemp().type() != RegType::vgpr && definition->physReg() < 256))); in register_allocation()
2268 …if (temp_in_scc && parallelcopy[i].first.isTemp() && parallelcopy[i].first.getTemp().type() == Reg… in register_allocation()
2271 unsigned size = parallelcopy[i].first.getTemp().size(); in register_allocation()
2275 size = parallelcopy[i].second.getTemp().size(); in register_allocation()
2287 Temp orig = it != ctx.orig_names.end() ? it->second : pc->operands[i].getTemp(); in register_allocation()
2289 ctx.renames[block.index][orig.id()] = pc->definitions[i].getTemp(); in register_allocation()
2347 if (op.isTemp() && op.getTemp().type() == RegType::sgpr) { in register_allocation()
2417 …std::vector<unsigned> preds = phi->definitions[0].getTemp().is_linear() ? succ.linear_preds : succ… in register_allocation()
2419 … phi->operands[i].setTemp(read_variable(ctx, phi->operands[i].getTemp(), preds[i])); in register_allocation()
2422 try_remove_trivial_phi(ctx, phi->definitions[0].getTemp()); in register_allocation()
2434 operand.setTemp(read_variable(ctx, operand.getTemp(), preds[i])); in register_allocation()
2436 … std::unordered_map<unsigned, phi_info>::iterator phi = ctx.phi_map.find(operand.getTemp().id()); in register_allocation()