• Home
  • Raw
  • Download

Lines Matching refs:OPT

178 #define OPT(nir, pass, ...) ({                             \  macro
199 progress |= OPT(s, nir_opt_copy_prop_vars); in ir3_optimize_loop()
200 progress |= OPT(s, nir_opt_dead_write_vars); in ir3_optimize_loop()
201 progress |= OPT(s, nir_lower_alu_to_scalar, NULL, NULL); in ir3_optimize_loop()
202 progress |= OPT(s, nir_lower_phis_to_scalar); in ir3_optimize_loop()
204 progress |= OPT(s, nir_copy_prop); in ir3_optimize_loop()
205 progress |= OPT(s, nir_opt_dce); in ir3_optimize_loop()
206 progress |= OPT(s, nir_opt_cse); in ir3_optimize_loop()
211 progress |= OPT(s, nir_opt_gcm, true); in ir3_optimize_loop()
213 progress |= OPT(s, nir_opt_gcm, false); in ir3_optimize_loop()
214 progress |= OPT(s, nir_opt_peephole_select, 16, true, true); in ir3_optimize_loop()
215 progress |= OPT(s, nir_opt_intrinsics); in ir3_optimize_loop()
216 progress |= OPT(s, nir_opt_algebraic); in ir3_optimize_loop()
217 progress |= OPT(s, nir_lower_alu); in ir3_optimize_loop()
218 progress |= OPT(s, nir_lower_pack); in ir3_optimize_loop()
219 progress |= OPT(s, nir_opt_constant_folding); in ir3_optimize_loop()
221 progress |= OPT(s, nir_opt_load_store_vectorize, nir_var_mem_ubo, in ir3_optimize_loop()
225 if (OPT(s, nir_lower_flrp, in ir3_optimize_loop()
228 OPT(s, nir_opt_constant_folding); in ir3_optimize_loop()
238 progress |= OPT(s, nir_opt_dead_cf); in ir3_optimize_loop()
239 if (OPT(s, nir_opt_trivial_continues)) { in ir3_optimize_loop()
245 OPT(s, nir_copy_prop); in ir3_optimize_loop()
246 OPT(s, nir_opt_dce); in ir3_optimize_loop()
248 progress |= OPT(s, nir_opt_if, false); in ir3_optimize_loop()
249 progress |= OPT(s, nir_opt_loop_unroll, nir_var_all); in ir3_optimize_loop()
250 progress |= OPT(s, nir_opt_remove_phis); in ir3_optimize_loop()
251 progress |= OPT(s, nir_opt_undef); in ir3_optimize_loop()
312 const bool idiv_progress = OPT(s, nir_lower_idiv, nir_lower_idiv_fast); in ir3_finalize_nir()
456 progress |= OPT(s, nir_lower_clip_vs, so->key.ucp_enables, false, false, NULL); in ir3_nir_lower_variant()
458 progress |= OPT(s, nir_lower_clamp_color_outputs); in ir3_nir_lower_variant()
464 progress |= OPT(s, nir_lower_clip_fs, so->key.ucp_enables, false); in ir3_nir_lower_variant()
466 progress |= OPT(s, nir_lower_clamp_color_outputs); in ir3_nir_lower_variant()
468 progress |= OPT(s, ir3_nir_lower_view_layer_id, layer_zero, view_zero); in ir3_nir_lower_variant()
495 progress |= OPT(s, nir_lower_tex, &tex_options); in ir3_nir_lower_variant()
501 progress |= OPT(s, ir3_nir_lower_ubo_loads, so); in ir3_nir_lower_variant()
507 progress |= OPT(s, nir_lower_ubo_vec4); in ir3_nir_lower_variant()
521 more_late_algebraic = OPT(s, nir_opt_algebraic_late); in ir3_nir_lower_variant()