Home
last modified time | relevance | path

Searched refs:use_alu (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/compiler/nir/
Dnir_opt_rematerialize_compares.c140 nir_alu_instr *const use_alu = nir_instr_as_alu(use_instr); in nir_opt_rematerialize_compares_impl() local
141 for (unsigned i = 0; i < nir_op_infos[use_alu->op].num_inputs; i++) { in nir_opt_rematerialize_compares_impl()
142 if (use_alu->src[i].src.ssa == &alu->dest.dest.ssa) { in nir_opt_rematerialize_compares_impl()
143 nir_instr_rewrite_src(&use_alu->instr, in nir_opt_rematerialize_compares_impl()
144 &use_alu->src[i].src, in nir_opt_rematerialize_compares_impl()
Dnir_move_vec_src_uses_to_dest.c141 nir_alu_instr *use_alu = nir_instr_as_alu(use->parent_instr); in move_vec_src_uses_to_dest_block() local
145 unsigned src_idx = use_alu_src - use_alu->src; in move_vec_src_uses_to_dest_block()
146 assert(src_idx < nir_op_infos[use_alu->op].num_inputs); in move_vec_src_uses_to_dest_block()
150 if (!nir_alu_instr_channel_used(use_alu, src_idx, j)) in move_vec_src_uses_to_dest_block()
169 if (!nir_alu_instr_channel_used(use_alu, src_idx, j)) in move_vec_src_uses_to_dest_block()
/external/mesa3d/src/intel/compiler/
Dbrw_nir_opt_peephole_ffma.c48 nir_alu_instr *use_alu = nir_instr_as_alu(use_instr); in are_all_uses_fadd() local
49 switch (use_alu->op) { in are_all_uses_fadd()
56 assert(use_alu->dest.dest.is_ssa); in are_all_uses_fadd()
57 if (!are_all_uses_fadd(&use_alu->dest.dest.ssa)) in are_all_uses_fadd()