Lines Matching defs:OPT
105 #define OPT(nir, pass, ...) ({ \
121 progress |= OPT(s, nir_opt_copy_prop_vars);
122 progress |= OPT(s, nir_opt_dead_write_vars);
123 progress |= OPT(s, nir_lower_alu_to_scalar);
124 progress |= OPT(s, nir_lower_phis_to_scalar);
126 progress |= OPT(s, nir_copy_prop);
127 progress |= OPT(s, nir_opt_dce);
128 progress |= OPT(s, nir_opt_cse);
133 progress |= OPT(s, nir_opt_gcm, true);
135 progress |= OPT(s, nir_opt_gcm, false);
136 progress |= OPT(s, nir_opt_peephole_select, 16, true, true);
137 progress |= OPT(s, nir_opt_intrinsics);
138 progress |= OPT(s, nir_opt_algebraic);
139 progress |= OPT(s, nir_opt_constant_folding);
140 progress |= OPT(s, nir_opt_dead_cf);
141 if (OPT(s, nir_opt_trivial_continues)) {
147 OPT(s, nir_copy_prop);
148 OPT(s, nir_opt_dce);
150 progress |= OPT(s, nir_opt_if, false);
151 progress |= OPT(s, nir_opt_remove_phis);
152 progress |= OPT(s, nir_opt_undef);
240 const bool ubo_progress = !key && OPT(s, ir3_nir_analyze_ubo_ranges, shader);
241 const bool idiv_progress = OPT(s, nir_lower_idiv);