Searched refs:alu_instr (Results 1 – 4 of 4) sorted by relevance
114 nir_alu_instr *alu_instr = nir_instr_as_alu(src_instr); in copy_prop_src() local115 if (!is_swizzleless_move(alu_instr)) in copy_prop_src()126 alu_instr->src[0].src.ssa->num_components) in copy_prop_src()132 nir_src_for_ssa(alu_instr->src[0].src.ssa)); in copy_prop_src()136 nir_src_for_ssa(alu_instr->src[0].src.ssa)); in copy_prop_src()157 nir_alu_instr *alu_instr = nir_instr_as_alu(src_instr); in copy_prop_alu_src() local158 if (!is_move(alu_instr) && !is_vec(alu_instr)) in copy_prop_alu_src()164 if (alu_instr->op == nir_op_fmov || in copy_prop_alu_src()165 alu_instr->op == nir_op_imov) { in copy_prop_alu_src()167 new_swizzle[i] = alu_instr->src[0].swizzle[src->swizzle[i]]; in copy_prop_alu_src()[all …]
60 nir_alu_instr *alu_instr = (nir_alu_instr *) instr; in lower_double_pack_impl() local62 if (alu_instr->op != nir_op_pack_double_2x32 && in lower_double_pack_impl()63 alu_instr->op != nir_op_unpack_double_2x32) in lower_double_pack_impl()66 b.cursor = nir_before_instr(&alu_instr->instr); in lower_double_pack_impl()68 nir_ssa_def *src = nir_ssa_for_alu_src(&b, alu_instr, 0); in lower_double_pack_impl()70 alu_instr->op == nir_op_pack_double_2x32 ? in lower_double_pack_impl()74 nir_ssa_def_rewrite_uses(&alu_instr->dest.dest.ssa, nir_src_for_ssa(dest)); in lower_double_pack_impl()75 nir_instr_remove(&alu_instr->instr); in lower_double_pack_impl()
69 nir_alu_instr *alu_instr; in init_instr() local86 alu_instr = nir_instr_as_alu(instr); in init_instr()87 if (!alu_instr->dest.dest.is_ssa) in init_instr()
1240 nir_alu_instr *alu_instr; in get_instr_dest() local1246 alu_instr = nir_instr_as_alu(instr); in get_instr_dest()1247 return &alu_instr->dest.dest; in get_instr_dest()