Searched refs:alu_instr (Results 1 – 10 of 10) sorted by relevance
/external/mesa3d/src/compiler/nir/ |
D | nir_lower_packing.c | 101 nir_alu_instr *alu_instr = (nir_alu_instr *) instr; in lower_pack_impl() local 103 if (alu_instr->op != nir_op_pack_64_2x32 && in lower_pack_impl() 104 alu_instr->op != nir_op_unpack_64_2x32 && in lower_pack_impl() 105 alu_instr->op != nir_op_pack_64_4x16 && in lower_pack_impl() 106 alu_instr->op != nir_op_unpack_64_4x16 && in lower_pack_impl() 107 alu_instr->op != nir_op_pack_32_2x16 && in lower_pack_impl() 108 alu_instr->op != nir_op_unpack_32_2x16) in lower_pack_impl() 111 b.cursor = nir_before_instr(&alu_instr->instr); in lower_pack_impl() 113 nir_ssa_def *src = nir_ssa_for_alu_src(&b, alu_instr, 0); in lower_pack_impl() 116 switch (alu_instr->op) { in lower_pack_impl() [all …]
|
D | nir_opt_copy_propagate.c | 105 nir_alu_instr *alu_instr = nir_instr_as_alu(src_instr); in copy_prop_src() local 106 if (!is_swizzleless_move(alu_instr)) in copy_prop_src() 109 if (alu_instr->src[0].src.ssa->num_components != num_components) in copy_prop_src() 112 copy_def= alu_instr->src[0].src.ssa; in copy_prop_src() 137 nir_alu_instr *alu_instr = nir_instr_as_alu(src_instr); in copy_prop_alu_src() local 138 if (!is_move(alu_instr) && !is_vec(alu_instr)) in copy_prop_alu_src() 144 if (alu_instr->op == nir_op_mov) { in copy_prop_alu_src() 146 new_swizzle[i] = alu_instr->src[0].swizzle[src->swizzle[i]]; in copy_prop_alu_src() 147 def = alu_instr->src[0].src.ssa; in copy_prop_alu_src() 155 nir_ssa_def *new_def = alu_instr->src[src->swizzle[i]].src.ssa; in copy_prop_alu_src() [all …]
|
D | nir_lower_frexp.c | 166 nir_alu_instr *alu_instr = nir_instr_as_alu(instr); in lower_frexp_impl() local 171 switch (alu_instr->op) { in lower_frexp_impl() 173 lower = lower_frexp_sig(&b, nir_ssa_for_alu_src(&b, alu_instr, 0)); in lower_frexp_impl() 176 lower = lower_frexp_exp(&b, nir_ssa_for_alu_src(&b, alu_instr, 0)); in lower_frexp_impl() 182 nir_ssa_def_rewrite_uses(&alu_instr->dest.dest.ssa, in lower_frexp_impl()
|
D | nir_opt_dce.c | 54 nir_alu_instr *alu_instr; in init_instr() local 72 alu_instr = nir_instr_as_alu(instr); in init_instr() 73 if (!alu_instr->dest.dest.is_ssa) in init_instr()
|
D | nir_opt_if.c | 924 nir_alu_instr *alu_instr = nir_instr_as_alu(src_instr); in opt_if_simplification() local 925 if (!nir_alu_instr_is_comparison(alu_instr)) in opt_if_simplification() 929 b->cursor = nir_after_instr(&alu_instr->instr); in opt_if_simplification() 932 nir_inot(b, &alu_instr->dest.dest.ssa); in opt_if_simplification()
|
D | nir.h | 3982 NIR_SRC_AS_(alu_instr, nir_alu_instr, nir_instr_type_alu, nir_instr_as_alu)
|
/external/mesa3d/src/freedreno/ir3/ |
D | ir3_nir_lower_io_offsets.c | 87 check_and_propagate_bit_shift32(nir_builder *b, nir_alu_instr *alu_instr, in check_and_propagate_bit_shift32() argument 90 debug_assert(alu_instr->src[1].src.is_ssa); in check_and_propagate_bit_shift32() 91 nir_ssa_def *shift_ssa = alu_instr->src[1].src.ssa; in check_and_propagate_bit_shift32() 96 nir_const_value *const_val = nir_src_as_const_value(alu_instr->src[1].src); in check_and_propagate_bit_shift32()
|
/external/mesa3d/src/freedreno/afuc/ |
D | parser.y | 185 instr_r: alu_instr 186 | T_XMOV alu_instr { instr->xmov = $1; } 230 alu_instr: alu_2src_instr
|
/external/mesa3d/src/amd/compiler/ |
D | aco_instruction_selection_setup.cpp | 673 nir_alu_instr *alu_instr = nir_instr_as_alu(instr); in init_context() local 675 switch(alu_instr->op) { in init_context() 739 … type = nir_dest_is_divergent(alu_instr->dest.dest) ? RegType::vgpr : RegType::sgpr; in init_context() 742 … type = nir_dest_is_divergent(alu_instr->dest.dest) ? RegType::vgpr : RegType::sgpr; in init_context() 745 for (unsigned i = 0; i < nir_op_infos[alu_instr->op].num_inputs; i++) { in init_context() 746 if (regclasses[alu_instr->src[i].src.ssa->index].type() == RegType::vgpr) in init_context() 752 …RegClass rc = get_reg_class(ctx, type, alu_instr->dest.dest.ssa.num_components, alu_instr->dest.de… in init_context() 753 regclasses[alu_instr->dest.dest.ssa.index] = rc; in init_context()
|
/external/mesa3d/src/compiler/glsl/ |
D | glsl_to_nir.cpp | 1735 nir_alu_instr *alu_instr; in get_instr_dest() local 1741 alu_instr = nir_instr_as_alu(instr); in get_instr_dest() 1742 return &alu_instr->dest.dest; in get_instr_dest()
|