Lines Matching refs:OPT

70 #define OPT(nir, pass, ...)                                                    \
91 progress |= OPT(s, nir_lower_alu_to_scalar, NULL, NULL);
92 progress |= OPT(s, nir_lower_phis_to_scalar, false);
94 progress |= OPT(s, nir_copy_prop);
95 progress |= OPT(s, nir_opt_deref);
96 progress |= OPT(s, nir_opt_dce);
97 progress |= OPT(s, nir_opt_cse);
99 progress |= OPT(s, nir_opt_find_array_copies);
100 progress |= OPT(s, nir_opt_copy_prop_vars);
101 progress |= OPT(s, nir_opt_dead_write_vars);
107 progress |= OPT(s, nir_opt_gcm, true);
109 progress |= OPT(s, nir_opt_gcm, false);
110 progress |= OPT(s, nir_opt_peephole_select, 16, true, true);
111 progress |= OPT(s, nir_opt_intrinsics);
125 progress |= OPT(s, nir_opt_phi_precision);
127 progress |= OPT(s, nir_opt_algebraic);
128 progress |= OPT(s, nir_lower_alu);
129 progress |= OPT(s, nir_lower_pack);
130 progress |= OPT(s, nir_opt_constant_folding);
141 progress |= OPT(s, nir_opt_offsets, &offset_options);
148 progress |= OPT(s, nir_opt_load_store_vectorize, &vectorize_opts);
151 if (OPT(s, nir_lower_flrp, lower_flrp, false /* always_precise */)) {
152 OPT(s, nir_opt_constant_folding);
162 progress |= OPT(s, nir_opt_dead_cf);
163 if (OPT(s, nir_opt_trivial_continues)) {
169 OPT(s, nir_copy_prop);
170 OPT(s, nir_opt_dce);
172 progress |= OPT(s, nir_opt_if, nir_opt_if_optimize_phi_true_false);
173 progress |= OPT(s, nir_opt_loop_unroll);
174 progress |= OPT(s, nir_lower_64bit_phis);
175 progress |= OPT(s, nir_opt_remove_phis);
176 progress |= OPT(s, nir_opt_undef);
179 OPT(s, nir_lower_var_copies);
359 const bool idiv_progress = OPT(s, nir_lower_idiv, &idiv_options);
500 OPT(s, nir_lower_subgroups,
673 progress |= OPT(s, nir_lower_clip_vs, so->key.ucp_enables, false, true, NULL);
681 progress |= OPT(s, nir_lower_clip_fs, so->key.ucp_enables, true);
683 progress |= OPT(s, ir3_nir_lower_view_layer_id, layer_zero, view_zero);
705 progress |= OPT(s, nir_lower_vars_to_scratch, nir_var_function_temp,
710 progress |= OPT(s, nir_lower_wrmasks, should_split_wrmask, s);
712 progress |= OPT(s, ir3_nir_lower_wide_load_store);
713 progress |= OPT(s, ir3_nir_lower_64b_global);
714 progress |= OPT(s, ir3_nir_lower_64b_intrinsics);
715 progress |= OPT(s, ir3_nir_lower_64b_undef);
716 progress |= OPT(s, nir_lower_int64);
720 progress |= OPT(s, nir_opt_constant_folding);
731 progress |= OPT(s, ir3_nir_opt_preamble, so);
736 progress |= OPT(s, ir3_nir_lower_ubo_loads, so);
738 progress |= OPT(s, ir3_nir_lower_preamble, so);
746 progress |= OPT(s, nir_lower_ubo_vec4);
757 if (OPT(s, ir3_nir_fixup_load_uniform))
767 more_late_algebraic = OPT(s, nir_opt_algebraic_late);
794 OPT(s, nir_fold_16bit_tex_image, &fold_16bit_options);