Home
last modified time | relevance | path

Searched refs:setFixed (Results 1 – 11 of 11) sorted by relevance

/third_party/mesa3d/src/amd/compiler/
Daco_ir.h500 setFixed(PhysReg{128}); in Operand()
508 setFixed(reg); in Operand()
522 op.setFixed(PhysReg{0u}); in c8()
535 op.setFixed(PhysReg{128u + v}); in c16()
537 op.setFixed(PhysReg{(unsigned)(192 - (int16_t)v)}); in c16()
539 op.setFixed(PhysReg{240}); in c16()
541 op.setFixed(PhysReg{241}); in c16()
543 op.setFixed(PhysReg{242}); in c16()
545 op.setFixed(PhysReg{243}); in c16()
547 op.setFixed(PhysReg{244}); in c16()
[all …]
Daco_register_allocation.cpp745 def.setFixed(it->second.physReg()); in update_renames()
761 other.second.setFixed(it->second.physReg()); in update_renames()
770 op.setFixed(other.second.physReg()); in update_renames()
811 op.setFixed(copy.second.physReg()); in update_renames()
1048 pc_op.setFixed(var.reg); in get_regs_for_copies()
1137 pc_op.setFixed(var.reg); in get_regs_for_copies()
1421 pc_op.setFixed(ctx.assignments[var.id].reg); in compact_relocate_vars()
1848 instr->operands[idx].setFixed(m0); in operand_can_use_reg()
1907 pc_op.setFixed(src); in get_reg_for_operand()
1938 definition.setFixed(reg); in get_regs_for_phis()
[all …]
Daco_ir.cpp285 instr->definitions[0].setFixed(vcc); in convert_to_SDWA()
287 instr->definitions[1].setFixed(vcc); in convert_to_SDWA()
289 instr->operands[2].setFixed(vcc); in convert_to_SDWA()
360 instr->definitions.back().setFixed(vcc); in convert_to_DPP()
363 instr->operands[2].setFixed(vcc); in convert_to_DPP()
Daco_lower_to_hw_instr.cpp194 instr->definitions[1].setFixed(vcc); in emit_vadd32()
1049 op.setFixed(PhysReg{248}); /* it can be an inline constant on GFX8+ */ in copy_constant()
1221 lo_half.setFixed(lo_half.physReg().advance(4 - def.physReg().byte())); in do_copy()
1341 tmp_copy.op.setFixed(copy.def.physReg()); in do_swap()
1342 tmp_copy.def.setFixed(copy.op.physReg()); in do_swap()
1401 lo.setFixed(def.physReg()); in do_pack_2x16()
1406 hi.setFixed(def.physReg().advance(2)); in do_pack_2x16()
1413 op.setFixed(reg); in do_pack_2x16()
1614 other->second.op.setFixed(it->first.advance(reg_hi.byte())); in handle_operands()
1806 target->second.op.setFixed(swap.op.physReg()); in handle_operands()
[all …]
Daco_assembler.cpp89 instr->operands[1].setFixed(PhysReg(255)); in emit_instruction()
895 instr->operands[1].setFixed(PhysReg{255}); /* this operand has to be a literal */ in emit_long_jump()
Daco_optimizer.cpp3781 instr->definitions[0].setFixed(scc); in select_instruction()
Daco_instruction_selection.cpp10469 branch->operands[0].setFixed(scc); in begin_uniform_if_then()
11253 startpgm->definitions[arg].setFixed(PhysReg{file == AC_ARG_SGPR ? reg : reg + 256}); in add_startpgm()
11271 def.setFixed(PhysReg(256 + ctx->args->ac.args[idx].offset)); in add_startpgm()
/third_party/mesa3d/src/amd/compiler/tests/
Dtest_optimizer_postRA.cpp41 startpgm->definitions[0].setFixed(reg_v0);
147 op_in_0.setFixed(reg_s0);
149 op_in_1.setFixed(reg_s4);
151 op_in_2.setFixed(reg_s6);
285 bld.instructions->at(0)->definitions[0].setFixed(PhysReg(256));
286 bld.instructions->at(0)->definitions[1].setFixed(PhysReg(257));
287 bld.instructions->at(0)->definitions[2].setFixed(vcc);
288 bld.instructions->at(0)->definitions[3].setFixed(PhysReg(0));
Dtest_regalloc.cpp94 op.setFixed(PhysReg(2));
108 op.setFixed(PhysReg(1));
125 op.setFixed(PhysReg(2));
142 op.setFixed(PhysReg(2));
Dtest_hard_clause.cpp32 desc_op.setFixed(PhysReg(0)); in create_mubuf()
48 desc_op.setFixed(PhysReg(0)); in create_mtbuf()
74 mimg->operands[0].setFixed(PhysReg(0)); in create_mimg()
94 desc_op.setFixed(PhysReg(0)); in create_smem_buffer()
Dtest_assembler.cpp37 bld.smem(aco_opcode::s_memtime, bld.def(s2)).def(0).setFixed(PhysReg{0});