Searched refs:tempId (Results 1 - 16 of 16) sorted by relevance
| /xsrc/external/mit/MesaLib/dist/src/amd/compiler/ |
| H A D | aco_optimizer.cpp | 592 ssa_info& info = ctx.info[instr->definitions[i].tempId()]; 615 ssa_info& info = ctx.info[instr->definitions[i].tempId()]; 674 if (op.tempId() != sgpr[0] && op.tempId() != sgpr[1]) { 676 sgpr[num_sgprs++] = op.tempId(); 740 ctx.info[add_instr->operands[i].tempId()].is_constant_or_literal(32)) { 741 *offset = ctx.info[add_instr->operands[i].tempId()].val; 888 ctx.info[def.tempId()].label &= label_vopc; 898 ssa_info& info = ctx.info[op.tempId()]; 948 if ((op.isTemp() && ctx.info[op.tempId()] [all...] |
| H A D | aco_dead_code_analysis.cpp | 66 if (ctx.uses[op.tempId()] == 0) 68 ctx.uses[op.tempId()]++; 89 [&uses](const Definition& def) { return !def.isTemp() || uses[def.tempId()]; })) 108 ctx.uses[startpgm->definitions.back().tempId()]++;
|
| H A D | aco_lower_to_cssa.cpp | 128 ctx.live_out[preds[i]].erase(op.tempId()); 145 ctx.merge_node_table[def.tempId()] = {Operand(def.getTemp()), index, block.index}; 345 merge_node& op_node = ctx.merge_node_table[copy.op.tempId()]; 353 } while (block_idx != pred && ctx.live_out[pred].count(copy.op.tempId())); 369 assert(ctx.merge_node_table.count(copy.def.tempId())); 370 if (op_node.index == ctx.merge_node_table[copy.def.tempId()].index) 454 renames.emplace(cp.def.tempId(), cp.op); 456 ctx.live_out[i].erase(cp.def.tempId()); 457 ctx.live_out[i].insert(cp.op.tempId()); 461 read_idx = ctx.merge_node_table[cp.op.tempId()] [all...] |
| H A D | aco_optimizer_postRA.cpp | 230 assert(last_vcc_wr->definitions[0].tempId() == op0_instr->operands[0].tempId()); 233 ctx.uses[instr->operands[0].tempId()]--; 267 if (ctx.uses[instr->operands[0].tempId()] > 1) 317 ctx.uses[instr->operands[0].tempId()]--; 319 ctx.uses[instr->operands[0].tempId()]++; 354 if (ctx.uses[instr->operands[scc_op_idx].tempId()] > 1) 370 ctx.uses[instr->operands[scc_op_idx].tempId()]--; 405 (!mov->definitions[0].tempId() || ctx.uses[mov->definitions[0].tempId()] > [all...] |
| H A D | aco_reindex_ssa.cpp | 45 ctx.renames[def.tempId()] = new_id; 57 uint32_t new_id = ctx.renames[op.tempId()];
|
| H A D | aco_register_allocation.cpp | 305 fill_subdword(op.physReg(), op.bytes(), op.tempId()); 307 fill(op.physReg(), op.size(), op.tempId()); 315 fill_subdword(def.physReg(), def.bytes(), def.tempId()); 317 fill(def.physReg(), def.size(), def.tempId()); 747 ctx.assignments[def.tempId()].reg = def.physReg(); 762 ctx.assignments[other.second.tempId()].reg = other.second.physReg(); 768 if (op.isTemp() && op.tempId() == other.second.tempId()) { 794 if (op.tempId() == copy.first.tempId()) { [all...] |
| H A D | aco_scheduler.cpp | 193 depends_on[op.tempId()] = true; 195 RAR_dependencies[op.tempId()] = true; 213 if (def.isTemp() && depends_on[def.tempId()]) 220 if (op.isTemp() && RAR_deps[op.tempId()]) { 229 depends_on[op.tempId()] = true; 231 RAR_dependencies[op.tempId()] = true; 288 depends_on[op.tempId()] = true; 290 RAR_dependencies[op.tempId()] = true; 291 RAR_dependencies_clause[op.tempId()] = true; 328 depends_on[def.tempId()] [all...] |
| H A D | aco_validate.cpp | 359 if (op.tempId() != sgpr[0] && op.tempId() != sgpr[1]) { 361 sgpr[num_sgprs++] = op.tempId(); 886 if (assignments.count(op.tempId()) && assignments[op.tempId()].reg != op.physReg()) 888 ra_fail(program, loc, assignments.at(op.tempId()).firstloc, 895 err |= ra_fail(program, loc, assignments.at(op.tempId()).firstloc, 903 if (!assignments[op.tempId()].firstloc.block) 904 assignments[op.tempId()].firstloc = loc; 905 if (!assignments[op.tempId()] [all...] |
| H A D | aco_opt_value_numbering.cpp | 133 if (a->operands[i].tempId() != b->operands[i].tempId()) 366 auto it = ctx.renames.find(op.tempId()); 386 ctx.renames[instr->definitions[0].tempId()] = instr->operands[0].getTemp(); 403 ctx.renames[instr->definitions[i].tempId()] = orig_instr->definitions[i].getTemp(); 436 auto it = renames.find(op.tempId());
|
| H A D | aco_live_var_analysis.cpp | 158 insn->operands[j].tempId() == operand.tempId()) { 246 const bool inserted = lives.live_out[preds[i]].insert(operand.tempId()).second; 258 operand.setKill(!live.count(operand.tempId()));
|
| H A D | aco_ir.cpp | 825 return a->operands[0].tempId() == b->operands[0].tempId();
|
| H A D | aco_print_ir.cpp | 182 fprintf(output, "%%%d%s", operand->tempId(), operand->isFixed() ? ":" : ""); 203 fprintf(output, "%%%d%s", definition->tempId(), definition->isFixed() ? ":" : "");
|
| H A D | aco_lower_to_hw_instr.cpp | 997 *def = Definition(src.def.tempId(), def_reg, src.def.regClass().resize(bytes)); 1005 op->setTemp(Temp(src.op.tempId(), op_cls)); 1633 other->second.def.setTemp(Temp(other->second.def.tempId(), 1635 other->second.op.setTemp(Temp(other->second.op.tempId(), 2099 unsigned id = instr->definitions[0].tempId();
|
| H A D | aco_ir.h | 726 constexpr uint32_t tempId() const noexcept { return data_.temp.id(); } function in class:aco::Operand 907 constexpr bool isTemp() const noexcept { return tempId() > 0; } 911 constexpr uint32_t tempId() const noexcept { return temp.id(); } function in class:aco::Definition
|
| H A D | aco_insert_exec_mask.cpp | 163 const unsigned def = definition.tempId();
|
| H A D | aco_instruction_selection.cpp | 10042 assert(instr->operands[i].tempId() == instr->operands.back().tempId());
|
Completed in 44 milliseconds