Home
last modified time | relevance | path

Searched refs:reg_i (Results 1 – 14 of 14) sorted by relevance

/external/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_emitssboinstruction.cpp37 …emit_instruction(new AluInstruction(op1_mbcnt_32lo_accum_prev_int, m_rat_return_address.reg_i(0), … in load_rat_return_address()
38 …emit_instruction(new AluInstruction(op1_mbcnt_32hi_int, m_rat_return_address.reg_i(1), literal(-1)… in load_rat_return_address()
39 …emit_instruction(new AluInstruction(op3_muladd_uint24, m_rat_return_address.reg_i(2), PValue(new I… in load_rat_return_address()
41 emit_instruction(new AluInstruction(op3_muladd_uint24, m_rat_return_address.reg_i(1), in load_rat_return_address()
42 … m_rat_return_address.reg_i(2), literal(0x40), m_rat_return_address.reg_i(0), in load_rat_return_address()
336 emit_instruction(new AluInstruction(op2_lshr_int, addr_vec.reg_i(0), orig_addr, in emit_store_ssbo()
338 emit_instruction(new AluInstruction(op1_mov, addr_vec.reg_i(1), Value::zero, write)); in emit_store_ssbo()
339 emit_instruction(new AluInstruction(op1_mov, addr_vec.reg_i(2), Value::zero, last_write)); in emit_store_ssbo()
370 … emit_instruction(new AluInstruction(op1_mov, temp2.reg_i(0), from_nir(instr->src[0], i), write)); in emit_store_ssbo()
371 emit_instruction(new AluInstruction(op2_add_int, addr_vec.reg_i(0), in emit_store_ssbo()
[all …]
Dsfn_emittexinstruction.cpp138 src_elms[i] = cubed.reg_i(lookup[i]); in emit_cube_txd()
152 …emit_instruction(new AluInstruction(op2_mul_ieee, tex_src.ddx.reg_i(i), {tex_src.ddx.reg_i(i), hal… in emit_cube_txd()
156 …emit_instruction(new AluInstruction(op2_mul_ieee, tex_src.ddy.reg_i(i), {tex_src.ddy.reg_i(i), hal… in emit_cube_txd()
210 src_elms[i] = cubed.reg_i(lookup[i]); in emit_cube_txl()
356 ir = new AluInstruction(op2_cube, cubed.reg_i(i), coord.reg_i(src0_chan[i]), in emit_cube_prep()
357 coord.reg_i(src1_chan[i]), {alu_write}); in emit_cube_prep()
363 …ir = new AluInstruction(op1_recip_ieee, cubed.reg_i(2), cubed.reg_i(2), {alu_write, alu_last_instr… in emit_cube_prep()
369 ir = new AluInstruction(op3_muladd, cubed.reg_i(i), cubed.reg_i(i), cubed.reg_i(2), in emit_cube_prep()
376 auto face = cubed.reg_i(3); in emit_cube_prep()
379 ir = new AluInstruction(op1_rndne, array_index, coord.reg_i(3), {alu_write, alu_last_instr}); in emit_cube_prep()
[all …]
Dsfn_shader_fragment.cpp488 …emit_instruction(new AluInstruction(op3_muladd, slope.reg_i(0), {grad.reg_i(0), slope.reg_i(2), in… in emit_interp_deref_at_sample()
489 …emit_instruction(new AluInstruction(op3_muladd, slope.reg_i(1), {grad.reg_i(1), slope.reg_i(2), in… in emit_interp_deref_at_sample()
491 …_instruction(new AluInstruction(op3_muladd, slope.reg_i(0), {grad.reg_i(2), slope.reg_i(3), slope. in emit_interp_deref_at_sample()
492 …_instruction(new AluInstruction(op3_muladd, slope.reg_i(1), {grad.reg_i(3), slope.reg_i(3), slope. in emit_interp_deref_at_sample()
494 Interpolator ip = {true, 0, slope.reg_i(1), slope.reg_i(0)}; in emit_interp_deref_at_sample()
541 …emit_instruction(new AluInstruction(op3_muladd, help.reg_i(0), help.reg_i(0), ofs_x, interpolator.… in emit_interp_deref_at_offset()
542 …emit_instruction(new AluInstruction(op3_muladd, help.reg_i(1), help.reg_i(1), ofs_x, interpolator.… in emit_interp_deref_at_offset()
543 …emit_instruction(new AluInstruction(op3_muladd, help.reg_i(0), help.reg_i(2), ofs_y, help.reg_i(0)… in emit_interp_deref_at_offset()
544 …emit_instruction(new AluInstruction(op3_muladd, help.reg_i(1), help.reg_i(3), ofs_y, help.reg_i(1)… in emit_interp_deref_at_offset()
546 Interpolator ip = {true, 0, help.reg_i(1), help.reg_i(0)}; in emit_interp_deref_at_offset()
Dsfn_instruction_base.cpp75 if (v.reg_i(i)) { in remap()
76 auto& ns_idx = m_map[v.reg_i(i)->sel()]; in remap()
78 v.set_reg_i(i,m_values.get_or_inject(ns_idx.new_reg, v.reg_i(i)->chan())); in remap()
79 m_map[v.reg_i(i)->sel()].used = true; in remap()
Dsfn_value_gpr.cpp121 m_elms[i] = orig.reg_i(swizzle[i]); in GPRVector()
323 PValue v = m_values[index].reg_i(component + m_frac); in get_indirect()
333 v = m_values[lv.value()].reg_i(component + m_frac); in get_indirect()
352 ev.record_read(*v.reg_i(chan), true); in record_read()
358 ev.record_write(*v.reg_i(chan), true); in record_write()
365 auto vv = v.reg_i(i); in collect_registers()
Dsfn_vertexstageexport.cpp158 …m_proc.emit_instruction(op1_mov, value.reg_i(1), {value.reg_i(1)}, {alu_write, alu_dst_clamp, alu_… in emit_varying_pos()
159 …m_proc.emit_instruction(op1_flt_to_int, value.reg_i(1), {value.reg_i(1)}, {alu_write, alu_last_ins… in emit_varying_pos()
235 ir = new AluInstruction(op2_dot4_ieee, clip_dist[oreg].reg_i(j), m_clip_vertex.reg_i(j), in emit_clip_vertices()
339 alu = new AluInstruction(op1_mov, dst, so_gpr[i]->reg_i(j + sc), {alu_write}); in emit_stream()
Dsfn_liverange.cpp854 if (src.reg_i(i)) in record_read()
855 record_read(*src.reg_i(i)); in record_read()
861 if (dst.reg_i(i)) in record_write()
862 record_write(*dst.reg_i(i)); in record_write()
Dsfn_emitaluinstruction.cpp513 ir = new AluInstruction(opcode, tmp.reg_i(i), m_src[0][i], write); in emit_find_msb()
522 ir = new AluInstruction(op2_sub_int, tmp2.reg_i(i), in emit_find_msb()
523 PValue(new LiteralValue(31u, 0)), tmp.reg_i(i), write); in emit_find_msb()
532 ir = new AluInstruction(op3_cndge_int, from_nir(instr.dest, i), tmp.reg_i(i), in emit_find_msb()
533 tmp2.reg_i(i), tmp.reg_i(i), write); in emit_find_msb()
999 ir = new AluInstruction(op2_sub_int, tmp.reg_i(i), Value::zero, help[i], write); in emit_alu_isign()
1009 ir = new AluInstruction(op3_cndgt_int, help[i], tmp.reg_i(i), in emit_alu_isign()
1143 ir = new AluInstruction(op2_sub_int, tmp.reg_i(i), Value::zero, m_src[0][i], write); in emit_alu_iabs()
1152 m_src[0][i], tmp.reg_i(i), write); in emit_alu_iabs()
Dsfn_instruction_tex.cpp63 if (*c == *m_src.reg_i(c->chan())) in replace_values()
65 if (*c == *m_dst.reg_i(c->chan())) in replace_values()
Dsfn_value_gpr.h97 PValue reg_i(int i) const {return m_elms[i];} in reg_i() function
Dsfn_instruction_export.cpp45 if (*c == *m_value.reg_i(c->chan())) in replace_values()
Dsfn_instruction_fetch.cpp240 if (*c == *m_dst.reg_i(i)) in replace_values()
Dsfn_shader_base.cpp1020 emit_instruction(op1_mov, trgt.reg_i(0), {addr}, {alu_write, alu_last_instr}); in load_uniform_indirect()
1021 addr = trgt.reg_i(0); in load_uniform_indirect()
/external/llvm-project/llvm/test/MC/X86/
Dunused_reg_var_assign.s3 reg_i = %xmm0 define