nir: merge and extend nir_opt_move_comparisons and nir_opt_move_load_ubo
[mesa.git] / src / compiler / nir / nir.h
index bd6a3617f052f9d18530e21d9e154911e9bb1ec1..314b696f7386e07484a992552d9bf9fd077cbe28 100644 (file)
@@ -3975,9 +3975,7 @@ bool nir_can_move_instr(nir_instr *instr, nir_move_options options);
 
 bool nir_opt_sink(nir_shader *shader, nir_move_options options);
 
-bool nir_opt_move_comparisons(nir_shader *shader);
-
-bool nir_opt_move_load_ubo(nir_shader *shader);
+bool nir_opt_move(nir_shader *shader, nir_move_options options);
 
 bool nir_opt_peephole_select(nir_shader *shader, unsigned limit,
                              bool indirect_load_ok, bool expensive_alu_ok);