/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_nir_vectorize_vs_inputs.c | 258 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 …]
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_opt_vectorize.c | 184 instr_try_combine(struct nir_shader *nir, struct set *instr_set, in instr_try_combine() argument 276 struct set_entry *entry = _mesa_set_search(instr_set, user_instr); in instr_try_combine() 286 _mesa_set_remove(instr_set, entry); in instr_try_combine() 287 _mesa_set_add(instr_set, src->parent_instr); in instr_try_combine() 349 vec_instr_set_destroy(struct set *instr_set) in vec_instr_set_destroy() argument 351 _mesa_set_destroy(instr_set, NULL); in vec_instr_set_destroy() 355 vec_instr_set_add_or_rewrite(struct nir_shader *nir, struct set *instr_set, in vec_instr_set_add_or_rewrite() argument 368 struct set_entry *entry = _mesa_set_search(instr_set, instr); in vec_instr_set_add_or_rewrite() 371 _mesa_set_remove(instr_set, entry); in vec_instr_set_add_or_rewrite() 372 nir_instr *new_instr = instr_try_combine(nir, instr_set, in vec_instr_set_add_or_rewrite() [all …]
|
D | nir_opt_cse.c | 44 struct set *instr_set = nir_instr_set_create(NULL); in nir_opt_cse_impl() local 46 _mesa_set_resize(instr_set, impl->ssa_alloc); in nir_opt_cse_impl() 53 progress |= nir_instr_set_add_or_rewrite(instr_set, instr, dominates); in nir_opt_cse_impl() 63 nir_instr_set_destroy(instr_set); in nir_opt_cse_impl()
|
D | nir_instr_set.h | 46 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);
|
D | nir_instr_set.c | 799 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 812 struct set_entry *e = _mesa_set_search_or_add(instr_set, instr, NULL); in nir_instr_set_add_or_rewrite() 843 nir_instr_set_remove(struct set *instr_set, nir_instr *instr) in nir_instr_set_remove() argument 848 struct set_entry *entry = _mesa_set_search(instr_set, instr); in nir_instr_set_remove() 850 _mesa_set_remove(instr_set, entry); in nir_instr_set_remove()
|
/third_party/mesa3d/src/freedreno/ir3/ |
D | ir3_cse.c | 111 struct set *instr_set = _mesa_set_create(NULL, hash_instr, cmp_func); in ir3_cse() local 113 _mesa_set_clear(instr_set, NULL); in ir3_cse() 123 _mesa_set_search_or_add(instr_set, instr, &found); in ir3_cse() 143 _mesa_set_destroy(instr_set, NULL); in ir3_cse()
|
/third_party/mesa3d/src/panfrost/bifrost/ |
D | bi_opt_cse.c | 154 struct set *instr_set = _mesa_set_create(NULL, hash_instr, instrs_equal); in bi_opt_cse() local 158 _mesa_set_clear(instr_set, NULL); in bi_opt_cse() 180 _mesa_set_search_or_add(instr_set, instr, &found); in bi_opt_cse() 194 _mesa_set_destroy(instr_set, NULL); in bi_opt_cse()
|
/third_party/mesa3d/src/amd/compiler/ |
D | aco_scheduler.cpp | 579 memory_event_set instr_set; in perform_hazard_query() local 580 memset(&instr_set, 0, sizeof(instr_set)); in perform_hazard_query() 582 add_memory_event(&instr_set, instr, &sync); in perform_hazard_query() 584 memory_event_set* first = &instr_set; in perform_hazard_query()
|
/third_party/mesa3d/docs/relnotes/ |
D | 19.1.3.rst | 101 - nir/instr_set: Expose nir_instrs_equal()
|
D | 20.3.0.rst | 4051 - nir/instr_set: hash intrinsic sources
|