Home
last modified time | relevance | path

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

/external/mesa3d/src/compiler/nir/
Dnir_opt_cse.c45 struct set *instr_set = _mesa_set_clone(dominance_set, NULL); in cse_block() local
48 if (nir_instr_set_add_or_rewrite(instr_set, instr)) { in cse_block()
56 progress |= cse_block(child, instr_set); in cse_block()
59 _mesa_set_destroy(instr_set, NULL); in cse_block()
67 struct set *instr_set = nir_instr_set_create(NULL); in nir_opt_cse_impl() local
71 bool progress = cse_block(nir_start_block(impl), instr_set); in nir_opt_cse_impl()
80 nir_instr_set_destroy(instr_set); in nir_opt_cse_impl()
Dnir_opt_vectorize.c393 vec_instr_set_destroy(struct set *instr_set) in vec_instr_set_destroy() argument
395 _mesa_set_destroy(instr_set, NULL); in vec_instr_set_destroy()
399 vec_instr_set_add_or_rewrite(struct nir_shader *nir, struct set *instr_set, in vec_instr_set_add_or_rewrite() argument
406 struct util_dynarray *new_stack = vec_instr_stack_create(instr_set); in vec_instr_set_add_or_rewrite()
409 struct set_entry *entry = _mesa_set_search(instr_set, new_stack); in vec_instr_set_add_or_rewrite()
417 _mesa_set_add(instr_set, new_stack); in vec_instr_set_add_or_rewrite()
422 vec_instr_set_remove(struct nir_shader *nir, struct set *instr_set, in vec_instr_set_remove() argument
439 struct util_dynarray *temp = vec_instr_stack_create(instr_set); in vec_instr_set_remove()
441 struct set_entry *entry = _mesa_set_search(instr_set, temp); in vec_instr_set_remove()
450 _mesa_set_remove(instr_set, entry); in vec_instr_set_remove()
[all …]
Dnir_instr_set.h46 void nir_instr_set_destroy(struct set *instr_set);
54 bool nir_instr_set_add_or_rewrite(struct set *instr_set, nir_instr *instr);
60 void nir_instr_set_remove(struct set *instr_set, nir_instr *instr);
Dnir_instr_set.c799 nir_instr_set_destroy(struct set *instr_set) in nir_instr_set_destroy() argument
801 _mesa_set_destroy(instr_set, NULL); in nir_instr_set_destroy()
805 nir_instr_set_add_or_rewrite(struct set *instr_set, nir_instr *instr) in nir_instr_set_add_or_rewrite() argument
810 struct set_entry *e = _mesa_set_search_or_add(instr_set, instr); in nir_instr_set_add_or_rewrite()
832 nir_instr_set_remove(struct set *instr_set, nir_instr *instr) in nir_instr_set_remove() argument
837 struct set_entry *entry = _mesa_set_search(instr_set, instr); in nir_instr_set_remove()
839 _mesa_set_remove(instr_set, entry); in nir_instr_set_remove()
/external/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_nir_vectorize_vs_inputs.c258 r600_vec_instr_set_destroy(struct set *instr_set) in r600_vec_instr_set_destroy() argument
260 _mesa_set_destroy(instr_set, NULL); in r600_vec_instr_set_destroy()
264 r600_vec_instr_set_add(struct set *instr_set, nir_instr *instr) in r600_vec_instr_set_add() argument
270 struct util_dynarray *new_stack = r600_vec_instr_stack_create(instr_set); in r600_vec_instr_set_add()
273 struct set_entry *entry = _mesa_set_search(instr_set, new_stack); in r600_vec_instr_set_add()
282 _mesa_set_add(instr_set, new_stack); in r600_vec_instr_set_add()
288 r600_vec_instr_set_remove(nir_builder *b, struct set *instr_set, nir_instr *instr, in r600_vec_instr_set_remove() argument
305 struct util_dynarray *temp = r600_vec_instr_stack_create(instr_set); in r600_vec_instr_set_remove()
307 struct set_entry *entry = _mesa_set_search(instr_set, temp); in r600_vec_instr_set_remove()
315 _mesa_set_remove(instr_set, entry); in r600_vec_instr_set_remove()
[all …]
/external/mesa3d/src/amd/compiler/
Daco_scheduler.cpp465 memory_event_set instr_set; in perform_hazard_query() local
466 memset(&instr_set, 0, sizeof(instr_set)); in perform_hazard_query()
468 add_memory_event(&instr_set, instr, &sync); in perform_hazard_query()
470 memory_event_set *first = &instr_set; in perform_hazard_query()
/external/mesa3d/docs/relnotes/
D19.1.3.rst101 - nir/instr_set: Expose nir_instrs_equal()
D20.3.0.rst4051 - nir/instr_set: hash intrinsic sources