Searched refs:use_alu (Results 1 – 3 of 3) sorted by relevance
140 nir_alu_instr *const use_alu = nir_instr_as_alu(use_instr); in nir_opt_rematerialize_compares_impl() local141 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()
141 nir_alu_instr *use_alu = nir_instr_as_alu(use->parent_instr); in move_vec_src_uses_to_dest_block() local145 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()
48 nir_alu_instr *use_alu = nir_instr_as_alu(use_instr); in are_all_uses_fadd() local49 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()