Lines Matching refs:OPT
186 #define OPT(nir, pass, ...) \ macro
207 progress |= OPT(s, nir_opt_copy_prop_vars); in ir3_optimize_loop()
208 progress |= OPT(s, nir_opt_dead_write_vars); in ir3_optimize_loop()
209 progress |= OPT(s, nir_lower_alu_to_scalar, NULL, NULL); in ir3_optimize_loop()
210 progress |= OPT(s, nir_lower_phis_to_scalar, false); in ir3_optimize_loop()
212 progress |= OPT(s, nir_copy_prop); in ir3_optimize_loop()
213 progress |= OPT(s, nir_opt_dce); in ir3_optimize_loop()
214 progress |= OPT(s, nir_opt_cse); in ir3_optimize_loop()
219 progress |= OPT(s, nir_opt_gcm, true); in ir3_optimize_loop()
221 progress |= OPT(s, nir_opt_gcm, false); in ir3_optimize_loop()
222 progress |= OPT(s, nir_opt_peephole_select, 16, true, true); in ir3_optimize_loop()
223 progress |= OPT(s, nir_opt_intrinsics); in ir3_optimize_loop()
236 progress |= OPT(s, nir_opt_phi_precision); in ir3_optimize_loop()
238 progress |= OPT(s, nir_opt_algebraic); in ir3_optimize_loop()
239 progress |= OPT(s, nir_lower_alu); in ir3_optimize_loop()
240 progress |= OPT(s, nir_lower_pack); in ir3_optimize_loop()
241 progress |= OPT(s, nir_opt_constant_folding); in ir3_optimize_loop()
248 progress |= OPT(s, nir_opt_load_store_vectorize, &vectorize_opts); in ir3_optimize_loop()
251 if (OPT(s, nir_lower_flrp, lower_flrp, false /* always_precise */)) { in ir3_optimize_loop()
252 OPT(s, nir_opt_constant_folding); in ir3_optimize_loop()
262 progress |= OPT(s, nir_opt_dead_cf); in ir3_optimize_loop()
263 if (OPT(s, nir_opt_trivial_continues)) { in ir3_optimize_loop()
269 OPT(s, nir_copy_prop); in ir3_optimize_loop()
270 OPT(s, nir_opt_dce); in ir3_optimize_loop()
272 progress |= OPT(s, nir_opt_if, false); in ir3_optimize_loop()
273 progress |= OPT(s, nir_opt_loop_unroll); in ir3_optimize_loop()
274 progress |= OPT(s, nir_opt_remove_phis); in ir3_optimize_loop()
275 progress |= OPT(s, nir_opt_undef); in ir3_optimize_loop()
421 const bool idiv_progress = OPT(s, nir_lower_idiv, &idiv_options); in ir3_finalize_nir()
668 OPT(s, nir_lower_clip_vs, so->key.ucp_enables, false, false, NULL); in ir3_nir_lower_variant()
676 progress |= OPT(s, nir_lower_clip_fs, so->key.ucp_enables, false); in ir3_nir_lower_variant()
678 progress |= OPT(s, ir3_nir_lower_view_layer_id, layer_zero, view_zero); in ir3_nir_lower_variant()
697 progress |= OPT(s, ir3_nir_lower_ubo_loads, so); in ir3_nir_lower_variant()
705 progress |= OPT(s, nir_lower_vars_to_scratch, nir_var_function_temp, in ir3_nir_lower_variant()
710 progress |= OPT(s, nir_lower_wrmasks, should_split_wrmask, s); in ir3_nir_lower_variant()
718 progress |= OPT(s, nir_lower_ubo_vec4); in ir3_nir_lower_variant()
729 if (OPT(s, ir3_nir_fixup_load_uniform)) in ir3_nir_lower_variant()
739 more_late_algebraic = OPT(s, nir_opt_algebraic_late); in ir3_nir_lower_variant()