Searched refs:alu_instr (Results 1 – 4 of 4) sorted by relevance
115 nir_alu_instr *alu_instr = nir_instr_as_alu(src_instr); in copy_prop_src() local116 if (!is_swizzleless_move(alu_instr)) in copy_prop_src()119 if (alu_instr->src[0].src.ssa->num_components != num_components) in copy_prop_src()124 nir_src_for_ssa(alu_instr->src[0].src.ssa)); in copy_prop_src()128 nir_src_for_ssa(alu_instr->src[0].src.ssa)); in copy_prop_src()149 nir_alu_instr *alu_instr = nir_instr_as_alu(src_instr); in copy_prop_alu_src() local150 if (!is_move(alu_instr) && !is_vec(alu_instr)) in copy_prop_alu_src()156 if (alu_instr->op == nir_op_fmov || in copy_prop_alu_src()157 alu_instr->op == nir_op_imov) { in copy_prop_alu_src()159 new_swizzle[i] = alu_instr->src[0].swizzle[src->swizzle[i]]; in copy_prop_alu_src()[all …]
63 nir_alu_instr *alu_instr = (nir_alu_instr *) instr; in lower_64bit_pack_impl() local65 if (alu_instr->op != nir_op_pack_64_2x32 && in lower_64bit_pack_impl()66 alu_instr->op != nir_op_unpack_64_2x32) in lower_64bit_pack_impl()69 b.cursor = nir_before_instr(&alu_instr->instr); in lower_64bit_pack_impl()71 nir_ssa_def *src = nir_ssa_for_alu_src(&b, alu_instr, 0); in lower_64bit_pack_impl()74 switch (alu_instr->op) { in lower_64bit_pack_impl()85 nir_ssa_def_rewrite_uses(&alu_instr->dest.dest.ssa, nir_src_for_ssa(dest)); in lower_64bit_pack_impl()86 nir_instr_remove(&alu_instr->instr); in lower_64bit_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()
1312 nir_alu_instr *alu_instr; in get_instr_dest() local1318 alu_instr = nir_instr_as_alu(instr); in get_instr_dest()1319 return &alu_instr->dest.dest; in get_instr_dest()