• Home
  • Raw
  • Download

Lines Matching refs:modes

210                          nir_variable_mode modes,  in split_struct_derefs_impl()  argument
222 if (!nir_deref_mode_may_be(deref, modes)) in split_struct_derefs_impl()
307 nir_split_struct_vars(nir_shader *shader, nir_variable_mode modes) in nir_split_struct_vars() argument
314 assert((modes & (nir_var_shader_temp | nir_var_function_temp)) == modes); in nir_split_struct_vars()
317 if (modes & nir_var_shader_temp) { in nir_split_struct_vars()
332 if (modes & nir_var_function_temp) { in nir_split_struct_vars()
343 modes, mem_ctx); in nir_split_struct_vars()
445 nir_variable_mode modes) in get_array_deref_info() argument
447 if (!nir_deref_mode_may_be(deref, modes)) in get_array_deref_info()
460 nir_variable_mode modes, in mark_array_deref_used() argument
464 get_array_deref_info(deref, var_info_map, modes); in mark_array_deref_used()
485 nir_variable_mode modes, in mark_array_usage_impl() argument
497 var_info_map, modes, mem_ctx); in mark_array_usage_impl()
503 var_info_map, modes, mem_ctx); in mark_array_usage_impl()
718 nir_variable_mode modes, in split_array_copies_impl() argument
737 get_array_deref_info(dst_deref, var_info_map, modes); in split_array_copies_impl()
739 get_array_deref_info(src_deref, var_info_map, modes); in split_array_copies_impl()
763 nir_variable_mode modes, in split_array_access_impl() argument
776 if (nir_deref_mode_may_be(deref, modes)) in split_array_access_impl()
797 get_array_deref_info(deref, var_info_map, modes); in split_array_access_impl()
872 nir_split_array_vars(nir_shader *shader, nir_variable_mode modes) in nir_split_array_vars() argument
878 assert((modes & (nir_var_shader_temp | nir_var_function_temp)) == modes); in nir_split_array_vars()
881 if (modes & nir_var_shader_temp) { in nir_split_array_vars()
896 if (modes & nir_var_function_temp) { in nir_split_array_vars()
907 mark_array_usage_impl(function->impl, var_info_map, modes, mem_ctx); in nir_split_array_vars()
919 if (modes & nir_var_shader_temp) { in nir_split_array_vars()
932 if (modes & nir_var_function_temp) { in nir_split_array_vars()
940 split_array_copies_impl(function->impl, var_info_map, modes, mem_ctx); in nir_split_array_vars()
941 split_array_access_impl(function->impl, var_info_map, modes, mem_ctx); in nir_split_array_vars()
1029 nir_variable_mode modes, in get_vec_deref_usage() argument
1032 if (!nir_deref_mode_may_be(deref, modes)) in get_vec_deref_usage()
1046 nir_variable_mode modes, in mark_deref_if_complex() argument
1055 if (!(deref->var->data.mode & modes)) in mark_deref_if_complex()
1075 nir_variable_mode modes, in mark_deref_used() argument
1078 if (!nir_deref_mode_may_be(deref, modes)) in mark_deref_used()
1095 copy_usage = get_vec_deref_usage(copy_deref, var_usage_map, modes, in mark_deref_used()
1221 nir_variable_mode modes, in find_used_components_impl() argument
1228 var_usage_map, modes, mem_ctx); in find_used_components_impl()
1239 NULL, var_usage_map, modes, mem_ctx); in find_used_components_impl()
1245 NULL, var_usage_map, modes, mem_ctx); in find_used_components_impl()
1252 mark_deref_used(dst, 0, ~0, src, var_usage_map, modes, mem_ctx); in find_used_components_impl()
1253 mark_deref_used(src, ~0, 0, dst, var_usage_map, modes, mem_ctx); in find_used_components_impl()
1462 nir_variable_mode modes) in vec_deref_is_dead_or_oob() argument
1465 get_vec_deref_usage(deref, var_usage_map, modes, false, NULL); in vec_deref_is_dead_or_oob()
1475 nir_variable_mode modes) in shrink_vec_var_access_impl() argument
1485 if (!nir_deref_mode_may_be(deref, modes)) in shrink_vec_var_access_impl()
1524 if (vec_deref_is_dead_or_oob(dst, var_usage_map, modes) || in shrink_vec_var_access_impl()
1525 vec_deref_is_dead_or_oob(src, var_usage_map, modes)) { in shrink_vec_var_access_impl()
1538 if (!nir_deref_mode_may_be(deref, modes)) in shrink_vec_var_access_impl()
1542 get_vec_deref_usage(deref, var_usage_map, modes, false, NULL); in shrink_vec_var_access_impl()
1629 nir_variable_mode modes) in function_impl_has_vars_with_modes() argument
1633 if (modes & ~nir_var_function_temp) { in function_impl_has_vars_with_modes()
1635 modes & ~nir_var_function_temp) in function_impl_has_vars_with_modes()
1639 if ((modes & nir_var_function_temp) && !exec_list_is_empty(&impl->locals)) in function_impl_has_vars_with_modes()
1655 nir_shrink_vec_array_vars(nir_shader *shader, nir_variable_mode modes) in nir_shrink_vec_array_vars() argument
1657 assert((modes & (nir_var_shader_temp | nir_var_function_temp)) == modes); in nir_shrink_vec_array_vars()
1673 if (function_impl_has_vars_with_modes(function->impl, modes)) { in nir_shrink_vec_array_vars()
1676 modes, mem_ctx); in nir_shrink_vec_array_vars()
1686 if (modes & nir_var_shader_temp) { in nir_shrink_vec_array_vars()
1698 if (modes & nir_var_function_temp) { in nir_shrink_vec_array_vars()
1705 shrink_vec_var_access_impl(function->impl, var_usage_map, modes); in nir_shrink_vec_array_vars()