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