Searched refs:instr_set (Results 1 - 13 of 13) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/
H A 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);
H A Dnir_opt_cse.c37 * tree recursively. Note that the instr_set is guaranteed to only ever
45 struct set *instr_set = _mesa_set_clone(dominance_set, NULL); local in function:cse_block
48 if (nir_instr_set_add_or_rewrite(instr_set, instr)) {
56 progress |= cse_block(child, instr_set);
59 _mesa_set_destroy(instr_set, NULL);
67 struct set *instr_set = nir_instr_set_create(NULL); local in function:nir_opt_cse_impl
71 bool progress = cse_block(nir_start_block(impl), instr_set);
82 nir_instr_set_destroy(instr_set);
H A Dnir_instr_set.c807 nir_instr_set_destroy(struct set *instr_set) argument
809 _mesa_set_destroy(instr_set, NULL);
813 nir_instr_set_add_or_rewrite(struct set *instr_set, nir_instr *instr) argument
819 struct set_entry *e = _mesa_set_search_pre_hashed(instr_set, hash, instr);
837 _mesa_set_add_pre_hashed(instr_set, hash, instr);
842 nir_instr_set_remove(struct set *instr_set, nir_instr *instr) argument
847 struct set_entry *entry = _mesa_set_search(instr_set, instr);
849 _mesa_set_remove(instr_set, entry);
/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_instr_set.h46 void nir_instr_set_destroy(struct set *instr_set);
58 bool nir_instr_set_add_or_rewrite(struct set *instr_set, nir_instr *instr,
66 void nir_instr_set_remove(struct set *instr_set, nir_instr *instr);
H A Dnir_opt_cse.c44 struct set *instr_set = nir_instr_set_create(NULL); local in function:nir_opt_cse_impl
46 _mesa_set_resize(instr_set, impl->ssa_alloc);
53 progress |= nir_instr_set_add_or_rewrite(instr_set, instr, dominates);
63 nir_instr_set_destroy(instr_set);
H A Dnir_opt_vectorize.c184 instr_try_combine(struct nir_shader *nir, struct set *instr_set, argument
276 struct set_entry *entry = _mesa_set_search(instr_set, user_instr);
286 _mesa_set_remove(instr_set, entry);
287 _mesa_set_add(instr_set, src->parent_instr);
349 vec_instr_set_destroy(struct set *instr_set) argument
351 _mesa_set_destroy(instr_set, NULL);
355 vec_instr_set_add_or_rewrite(struct nir_shader *nir, struct set *instr_set, argument
368 struct set_entry *entry = _mesa_set_search(instr_set, instr);
371 _mesa_set_remove(instr_set, entry);
372 nir_instr *new_instr = instr_try_combine(nir, instr_set,
387 vectorize_block(struct nir_shader * nir,nir_block * block,struct set * instr_set,nir_opt_vectorize_cb filter,void * data) argument
416 struct set *instr_set = vec_instr_set_create(); local in function:nir_opt_vectorize_impl
[all...]
H A Dnir_instr_set.c800 nir_instr_set_destroy(struct set *instr_set) argument
802 _mesa_set_destroy(instr_set, NULL);
806 nir_instr_set_add_or_rewrite(struct set *instr_set, nir_instr *instr, argument
813 struct set_entry *e = _mesa_set_search_or_add(instr_set, instr, NULL);
844 nir_instr_set_remove(struct set *instr_set, nir_instr *instr) argument
849 struct set_entry *entry = _mesa_set_search(instr_set, instr);
851 _mesa_set_remove(instr_set, entry);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/sfn/
H A Dsfn_nir_vectorize_vs_inputs.c258 r600_vec_instr_set_destroy(struct set *instr_set) argument
260 _mesa_set_destroy(instr_set, NULL);
264 r600_vec_instr_set_add(struct set *instr_set, nir_instr *instr) argument
270 struct util_dynarray *new_stack = r600_vec_instr_stack_create(instr_set);
273 struct set_entry *entry = _mesa_set_search(instr_set, new_stack);
282 _mesa_set_add(instr_set, new_stack);
288 r600_vec_instr_set_remove(nir_builder *b, struct set *instr_set, nir_instr *instr, argument
305 struct util_dynarray *temp = r600_vec_instr_stack_create(instr_set);
307 struct set_entry *entry = _mesa_set_search(instr_set, temp);
315 _mesa_set_remove(instr_set, entr
324 r600_vectorize_block(nir_builder * b,nir_block * block,struct set * instr_set,nir_variable * updated_vars[16][4]) argument
439 struct set *instr_set = r600_vec_instr_set_create(); local in function:r600_vectorize_io_impl
[all...]
/xsrc/external/mit/MesaLib/dist/src/freedreno/ir3/
H A Dir3_cse.c111 struct set *instr_set = _mesa_set_create(NULL, hash_instr, cmp_func); local in function:ir3_cse
113 _mesa_set_clear(instr_set, NULL);
123 _mesa_set_search_or_add(instr_set, instr, &found);
143 _mesa_set_destroy(instr_set, NULL);
/xsrc/external/mit/MesaLib/dist/src/panfrost/bifrost/
H A Dbi_opt_cse.c154 struct set *instr_set = _mesa_set_create(NULL, hash_instr, instrs_equal); local in function:bi_opt_cse
158 _mesa_set_clear(instr_set, NULL);
180 _mesa_set_search_or_add(instr_set, instr, &found);
194 _mesa_set_destroy(instr_set, NULL);
/xsrc/external/mit/MesaLib/dist/src/amd/compiler/
H A Daco_scheduler.cpp579 memory_event_set instr_set; local in function:aco::perform_hazard_query
580 memset(&instr_set, 0, sizeof(instr_set));
582 add_memory_event(&instr_set, instr, &sync);
584 memory_event_set* first = &instr_set;
/xsrc/external/mit/MesaLib/dist/docs/relnotes/
H A D19.1.3.rst101 - nir/instr_set: Expose nir_instrs_equal()
H A D20.3.0.rst4051 - nir/instr_set: hash intrinsic sources

Completed in 20 milliseconds