Home
last modified time | relevance | path

Searched refs:var_infos (Results 1 – 1 of 1) sorted by relevance

/external/mesa3d/src/compiler/nir/
Dnir_opt_large_constants.c188 struct var_info *var_infos = ralloc_array(NULL, struct var_info, num_locals); in nir_opt_large_constants() local
190 var_infos[var->index] = (struct var_info) { in nir_opt_large_constants()
213 var_infos[deref->var->index].is_constant = false; in nir_opt_large_constants()
251 struct var_info *info = &var_infos[var->index]; in nir_opt_large_constants()
267 handle_constant_store(var_infos, info, dst_deref, val, writemask, in nir_opt_large_constants()
282 struct var_info *info = &var_infos[var->index]; in nir_opt_large_constants()
299 qsort(var_infos, num_locals, sizeof(struct var_info), var_info_cmp); in nir_opt_large_constants()
301 struct var_info *info = &var_infos[i]; in nir_opt_large_constants()
317 if (i > 0 && var_info_cmp(info, &var_infos[i - 1]) == 0) { in nir_opt_large_constants()
318 info->var->data.location = var_infos[i - 1].var->data.location; in nir_opt_large_constants()
[all …]