• Home
  • Raw
  • Download

Lines Matching refs:OPT

515 #define OPT(pass, ...) ({                                  \  macro
535 OPT(nir_split_array_vars, nir_var_function_temp); in brw_nir_optimize()
536 OPT(nir_shrink_vec_array_vars, nir_var_function_temp); in brw_nir_optimize()
537 OPT(nir_opt_deref); in brw_nir_optimize()
538 OPT(nir_lower_vars_to_ssa); in brw_nir_optimize()
544 OPT(nir_opt_find_array_copies); in brw_nir_optimize()
546 OPT(nir_opt_copy_prop_vars); in brw_nir_optimize()
547 OPT(nir_opt_dead_write_vars); in brw_nir_optimize()
548 OPT(nir_opt_combine_stores, nir_var_all); in brw_nir_optimize()
551 OPT(nir_lower_alu_to_scalar, NULL, NULL); in brw_nir_optimize()
553 OPT(nir_opt_shrink_vectors, true); in brw_nir_optimize()
556 OPT(nir_copy_prop); in brw_nir_optimize()
559 OPT(nir_lower_phis_to_scalar, false); in brw_nir_optimize()
562 OPT(nir_copy_prop); in brw_nir_optimize()
563 OPT(nir_opt_dce); in brw_nir_optimize()
564 OPT(nir_opt_cse); in brw_nir_optimize()
565 OPT(nir_opt_combine_stores, nir_var_all); in brw_nir_optimize()
587 OPT(nir_opt_peephole_select, 0, !is_vec4_tessellation, false); in brw_nir_optimize()
588 OPT(nir_opt_peephole_select, 8, !is_vec4_tessellation, in brw_nir_optimize()
591 OPT(nir_opt_intrinsics); in brw_nir_optimize()
592 OPT(nir_opt_idiv_const, 32); in brw_nir_optimize()
593 OPT(nir_opt_algebraic); in brw_nir_optimize()
594 OPT(nir_opt_constant_folding); in brw_nir_optimize()
597 if (OPT(nir_lower_flrp, in brw_nir_optimize()
600 OPT(nir_opt_constant_folding); in brw_nir_optimize()
609 OPT(nir_opt_dead_cf); in brw_nir_optimize()
610 if (OPT(nir_opt_trivial_continues)) { in brw_nir_optimize()
615 OPT(nir_copy_prop); in brw_nir_optimize()
616 OPT(nir_opt_dce); in brw_nir_optimize()
618 OPT(nir_opt_if, false); in brw_nir_optimize()
619 OPT(nir_opt_conditional_discard); in brw_nir_optimize()
621 OPT(nir_opt_loop_unroll); in brw_nir_optimize()
623 OPT(nir_opt_remove_phis); in brw_nir_optimize()
624 OPT(nir_opt_gcm, false); in brw_nir_optimize()
625 OPT(nir_opt_undef); in brw_nir_optimize()
626 OPT(nir_lower_pack); in brw_nir_optimize()
632 OPT(nir_remove_dead_variables, nir_var_function_temp, NULL); in brw_nir_optimize()
770 OPT(nir_lower_alu_to_scalar, NULL, NULL); in brw_preprocess_nir()
774 OPT(nir_lower_gs_intrinsics, 0); in brw_preprocess_nir()
779 OPT(brw_nir_apply_trig_workarounds); in brw_preprocess_nir()
782 OPT(brw_nir_clamp_image_1d_2d_array_sizes); in brw_preprocess_nir()
797 OPT(nir_lower_tex, &tex_options); in brw_preprocess_nir()
798 OPT(nir_normalize_cubemap_coords); in brw_preprocess_nir()
800 OPT(nir_lower_global_vars_to_local); in brw_preprocess_nir()
802 OPT(nir_split_var_copies); in brw_preprocess_nir()
803 OPT(nir_split_struct_vars, nir_var_function_temp); in brw_preprocess_nir()
807 OPT(nir_lower_doubles, softfp64, nir->options->lower_doubles_options); in brw_preprocess_nir()
808 OPT(nir_lower_int64); in brw_preprocess_nir()
810 OPT(nir_lower_bit_size, lower_bit_size_callback, (void *)compiler); in brw_preprocess_nir()
813 OPT(nir_lower_load_const_to_scalar); in brw_preprocess_nir()
817 OPT(nir_lower_var_copies); in brw_preprocess_nir()
823 OPT(nir_opt_large_constants, NULL, 32); in brw_preprocess_nir()
826 OPT(nir_lower_system_values); in brw_preprocess_nir()
827 OPT(nir_lower_compute_system_values, NULL); in brw_preprocess_nir()
838 OPT(nir_lower_subgroups, &subgroups_options); in brw_preprocess_nir()
840 OPT(nir_lower_clip_cull_distance_arrays); in brw_preprocess_nir()
844 OPT(nir_lower_indirect_derefs, indirect_mask, UINT32_MAX); in brw_preprocess_nir()
860 OPT(nir_lower_indirect_derefs, nir_var_function_temp, 16); in brw_preprocess_nir()
869 OPT(nir_lower_array_deref_of_vec, in brw_preprocess_nir()
1015 OPT(nir_opt_load_store_vectorize, &options); in brw_vectorize_lower_mem_access()
1018 OPT(brw_nir_lower_mem_access_bit_sizes, devinfo); in brw_vectorize_lower_mem_access()
1023 OPT(nir_lower_pack); in brw_vectorize_lower_mem_access()
1024 OPT(nir_copy_prop); in brw_vectorize_lower_mem_access()
1025 OPT(nir_opt_dce); in brw_vectorize_lower_mem_access()
1026 OPT(nir_opt_cse); in brw_vectorize_lower_mem_access()
1027 OPT(nir_opt_algebraic); in brw_vectorize_lower_mem_access()
1028 OPT(nir_opt_constant_folding); in brw_vectorize_lower_mem_access()
1059 OPT(nir_lower_bit_size, lower_bit_size_callback, (void *)compiler); in brw_postprocess_nir()
1061 OPT(brw_nir_lower_scoped_barriers); in brw_postprocess_nir()
1062 OPT(nir_opt_combine_memory_barriers, combine_all_barriers, NULL); in brw_postprocess_nir()
1066 OPT(nir_opt_algebraic_before_ffma); in brw_postprocess_nir()
1074 OPT(nir_lower_idiv, &options); in brw_postprocess_nir()
1080 OPT(nir_lower_vars_to_explicit_types, nir_var_function_temp, in brw_postprocess_nir()
1082 OPT(nir_lower_explicit_io, nir_var_function_temp, in brw_postprocess_nir()
1090 if (OPT(nir_lower_int64)) in brw_postprocess_nir()
1095 OPT(brw_nir_opt_peephole_ffma); in brw_postprocess_nir()
1098 if (OPT(nir_opt_comparison_pre)) { in brw_postprocess_nir()
1099 OPT(nir_copy_prop); in brw_postprocess_nir()
1100 OPT(nir_opt_dce); in brw_postprocess_nir()
1101 OPT(nir_opt_cse); in brw_postprocess_nir()
1113 OPT(nir_opt_peephole_select, 0, is_vec4_tessellation, false); in brw_postprocess_nir()
1114 OPT(nir_opt_peephole_select, 1, is_vec4_tessellation, in brw_postprocess_nir()
1120 if (OPT(nir_opt_algebraic_late)) { in brw_postprocess_nir()
1126 OPT(nir_opt_constant_folding); in brw_postprocess_nir()
1128 OPT(nir_copy_prop); in brw_postprocess_nir()
1129 OPT(nir_opt_dce); in brw_postprocess_nir()
1130 OPT(nir_opt_cse); in brw_postprocess_nir()
1135 OPT(brw_nir_lower_conversions); in brw_postprocess_nir()
1138 OPT(nir_lower_alu_to_scalar, NULL, NULL); in brw_postprocess_nir()
1140 while (OPT(nir_opt_algebraic_distribute_src_mods)) { in brw_postprocess_nir()
1141 OPT(nir_copy_prop); in brw_postprocess_nir()
1142 OPT(nir_opt_dce); in brw_postprocess_nir()
1143 OPT(nir_opt_cse); in brw_postprocess_nir()
1146 OPT(nir_copy_prop); in brw_postprocess_nir()
1147 OPT(nir_opt_dce); in brw_postprocess_nir()
1148 OPT(nir_opt_move, nir_move_comparisons); in brw_postprocess_nir()
1149 OPT(nir_opt_dead_cf); in brw_postprocess_nir()
1151 OPT(nir_lower_bool_to_int32); in brw_postprocess_nir()
1152 OPT(nir_copy_prop); in brw_postprocess_nir()
1153 OPT(nir_opt_dce); in brw_postprocess_nir()
1155 OPT(nir_lower_locals_to_regs); in brw_postprocess_nir()
1171 OPT(nir_convert_from_ssa, true); in brw_postprocess_nir()
1174 OPT(nir_move_vec_src_uses_to_dest); in brw_postprocess_nir()
1175 OPT(nir_lower_vec_to_movs, NULL, NULL); in brw_postprocess_nir()
1178 OPT(nir_opt_dce); in brw_postprocess_nir()
1180 if (OPT(nir_opt_rematerialize_compares)) in brw_postprocess_nir()
1181 OPT(nir_opt_dce); in brw_postprocess_nir()
1307 OPT(brw_nir_apply_sampler_key, compiler, &key->tex); in brw_nir_apply_key()
1316 OPT(nir_lower_subgroups, &subgroups_options); in brw_nir_apply_key()