Lines Matching refs:ssa
49 intr->dest.ssa.bit_size = 32; in etna_lower_io()
53 nir_ssa_def *ssa = nir_ine(&b, &intr->dest.ssa, nir_imm_int(&b, 0)); in etna_lower_io() local
55 nir_instr_as_alu(ssa->parent_instr)->op = nir_op_ieq; in etna_lower_io()
57 nir_ssa_def_rewrite_uses_after(&intr->dest.ssa, in etna_lower_io()
58 ssa, in etna_lower_io()
59 ssa->parent_instr); in etna_lower_io()
74 nir_ssa_def *ssa = nir_mov(&b, intr->src[1].ssa); in etna_lower_io() local
75 nir_alu_instr *alu = nir_instr_as_alu(ssa->parent_instr); in etna_lower_io()
78 nir_instr_rewrite_src(instr, &intr->src[1], nir_src_for_ssa(ssa)); in etna_lower_io()
130 vec->src[i].src = nir_src_for_ssa(coord->ssa); in etna_lower_io()
134 vec->src[i].src = nir_src_for_ssa(src1->ssa); in etna_lower_io()
140 nir_instr_rewrite_src(&tex->instr, coord, nir_src_for_ssa(&vec->dest.dest.ssa)); in etna_lower_io()
175 nir_src_for_ssa(nir_fmul(&b, alu->src[0].src.ssa, imm))); in etna_lower_alu_impl()
184 nir_ssa_def *ssa = &alu->dest.dest.ssa; in etna_lower_alu_impl() local
186 assert(ssa->num_components == 1); in etna_lower_alu_impl()
189 mul->src[0].src = mul->src[1].src = nir_src_for_ssa(ssa); in etna_lower_alu_impl()
195 ssa->num_components = 2; in etna_lower_alu_impl()
202 nir_ssa_def_rewrite_uses_after(ssa, &mul->dest.dest.ssa, in etna_lower_alu_impl()