Home
last modified time | relevance | path

Searched refs:_mesa_set_add (Results 1 – 25 of 65) sorted by relevance

123

/third_party/mesa3d/src/util/tests/
Dset_test.cpp37 _mesa_set_add(s, a); in TEST()
38 _mesa_set_add(s, b); in TEST()
41 _mesa_set_add(s, a); in TEST()
61 _mesa_set_add(s, a); in TEST()
62 _mesa_set_add(s, b); in TEST()
88 _mesa_set_add(s, a); in TEST()
89 _mesa_set_add(s, b); in TEST()
90 _mesa_set_add(s, c); in TEST()
119 _mesa_set_add(s, a); in TEST()
120 _mesa_set_add(s, b); in TEST()
[all …]
/third_party/mesa3d/src/panfrost/midgard/
Dmidgard_helper_invocations.c114 _mesa_set_add(worklist, _block); in mir_analyze_helper_terminate()
134 _mesa_set_add(worklist, pred); in mir_analyze_helper_terminate()
138 _mesa_set_add(visited, blk); in mir_analyze_helper_terminate()
218 struct set_entry *cur = _mesa_set_add(work_list, pan_exit_block(&ctx->blocks)); in mir_analyze_helper_requirements()
228 _mesa_set_add(work_list, pred); in mir_analyze_helper_requirements()
231 _mesa_set_add(visited, blk); in mir_analyze_helper_requirements()
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_goto_ifs.c437 _mesa_set_add(remaining, block->dom_children[i]); in inside_outside()
496 _mesa_set_add(reach, block->successors[i]); in inside_outside()
525 _mesa_set_add(fork->paths[0].reachable, blocks[i]); in select_fork_recur()
531 _mesa_set_add(fork->paths[1].reachable, blocks[i]); in select_fork_recur()
590 _mesa_set_add(old_candidates, candidate); in handle_irreducible()
594 _mesa_set_add(curr_level->blocks, candidate); in handle_irreducible()
603 _mesa_set_add(curr_level->blocks, remaining_block); in handle_irreducible()
684 _mesa_set_add(remaining_frontier, frontier); in organize_levels()
694 _mesa_set_add(curr_level->blocks, candidate); in organize_levels()
859 _mesa_set_add(remaining, block->dom_children[i]); in nir_structurize()
[all …]
Dnir_propagate_invariant.c30 _mesa_set_add(invariants, src->ssa); in add_src()
32 _mesa_set_add(invariants, src->reg.reg); in add_src()
73 _mesa_set_add(invariants, var); in add_var()
215 _mesa_set_add(invariants, var); in nir_propagate_invariant()
Dnir_opt_access.c65 _mesa_set_add(state->vars_read, var); in gather_buffer_access()
67 _mesa_set_add(state->vars_written, var); in gather_buffer_access()
71 _mesa_set_add(state->vars_read, possible_var); in gather_buffer_access()
73 _mesa_set_add(state->vars_written, possible_var); in gather_buffer_access()
120 _mesa_set_add(state->vars_read, var); in gather_intrinsic()
123 _mesa_set_add(state->vars_written, var); in gather_intrinsic()
Dnir_opt_vectorize.c276 _mesa_set_add(instr_set, user_instr); in instr_try_combine()
352 _mesa_set_add(instr_set, new_instr); in vec_instr_set_add_or_rewrite()
357 _mesa_set_add(instr_set, instr); in vec_instr_set_add_or_rewrite()
Dnir_schedule.c845 _mesa_set_add(scoreboard->live_values, reg_or_def); in nir_schedule_mark_use()
1100 _mesa_set_add(def_uses, def->parent_instr); in nir_schedule_ssa_def_init_scoreboard()
1103 _mesa_set_add(def_uses, src->parent_instr); in nir_schedule_ssa_def_init_scoreboard()
1131 _mesa_set_add(register_uses, src->parent_instr); in nir_schedule_get_scoreboard()
1137 _mesa_set_add(register_uses, dest->reg.parent_instr); in nir_schedule_get_scoreboard()
Dnir_lower_vars_to_ssa.c417 _mesa_set_add(node->loads, load_instr); in register_load_instr()
432 _mesa_set_add(node->stores, store_instr); in register_store_instr()
448 _mesa_set_add(node->copies, copy_instr); in register_copy_instr()
Dnir_opt_ray_queries.c56 _mesa_set_add(queries, query); in mark_query_read()
Dnir_remove_dead_variables.c89 _mesa_set_add(live, var); in add_var_use_deref()
Dnir_inline_functions.c198 _mesa_set_add(inlined, impl); in inline_function_impl()
Dnir_lower_scratch.c142 _mesa_set_add(set, var); in nir_lower_vars_to_scratch()
Dnir_validate.c161 _mesa_set_add(reg_state->uses, src); in validate_reg_src()
164 _mesa_set_add(reg_state->if_uses, src); in validate_reg_src()
268 _mesa_set_add(reg_state->defs, dest); in validate_reg_dest()
1196 _mesa_set_add(state->blocks, nir_cf_node_as_block(node)); in collect_blocks()
1658 _mesa_set_add(state->blocks, impl->end_block); in validate_function_impl()
1762 _mesa_set_add(state.shader_gc_list, instr); in nir_validate_shader()
/third_party/mesa3d/src/panfrost/util/
Dpan_liveness.c135 cur = _mesa_set_add(work_list, pan_exit_block(blocks)); in pan_compute_liveness()
151 _mesa_set_add(work_list, pred); in pan_compute_liveness()
154 _mesa_set_add(visited, blk); in pan_compute_liveness()
Dpan_ir.c97 _mesa_set_add(successor->predecessors, block); in pan_block_add_successor()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_nir_optim.c60 _mesa_set_add(instrs, &store->instr); in check_instr_depends_on_tex()
68 _mesa_set_add(instrs, instr); in check_instr_depends_on_tex()
/third_party/mesa3d/src/intel/compiler/
Dbrw_fs_reg_allocate.cpp766 _mesa_set_add(spill_insts, unspill_inst); in emit_unspill()
807 _mesa_set_add(spill_insts, unspill_inst); in emit_unspill()
835 _mesa_set_add(spill_insts, spill_inst); in emit_spill()
868 _mesa_set_add(spill_insts, spill_inst); in emit_spill()
1044 _mesa_set_add(spill_insts, inst); in spill_reg()
1049 _mesa_set_add(spill_insts, inst); in spill_reg()
1053 _mesa_set_add(spill_insts, inst); in spill_reg()
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_batch.cpp270 entry = _mesa_set_add(batch->sampler_views, sv); in d3d12_batch_reference_sampler_view()
290 entry = _mesa_set_add(batch->objects, object); in d3d12_batch_reference_object()
Dd3d12_resource_state.cpp467 _mesa_set_add(ctx->pending_barriers_bos, res->bo); in d3d12_transition_resource_state()
517 _mesa_set_add(ctx->pending_barriers_bos, res->bo); in d3d12_transition_subresources_state()
/third_party/mesa3d/src/gallium/drivers/v3d/
Dv3d_job.c122 _mesa_set_add(job->bos, bo); in v3d_job_add_bo()
147 _mesa_set_add(job->write_prscs, prsc); in v3d_job_add_write_resource()
170 _mesa_set_add(job->tf_write_prscs, prsc); in v3d_job_add_tf_write_resource()
/third_party/mesa3d/src/util/
Dset.h85 _mesa_set_add(struct set *set, const void *key);
Ddag.c174 _mesa_set_add(state->seen, node); in dag_traverse_bottom_up_node()
/third_party/mesa3d/src/compiler/glsl/
Dlower_precision.cpp213 _mesa_set_add(lowerable_rvalues, it); in add_lowerable_children()
261 _mesa_set_add(lowerable_rvalues, rv); in pop_stack_entry()
268 _mesa_set_add(lowerable_rvalues, rv); in pop_stack_entry()
1067 _mesa_set_add(lower_vars, var); in visit()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_nir_lower_builtin.c240 _mesa_set_add(vars, var); in st_nir_lower_builtin()
/third_party/mesa3d/src/freedreno/ir3/
Dir3_validate.c124 _mesa_set_add(ctx->defs, phi); in validate_phi()
220 _mesa_set_add(ctx->defs, instr); in validate_instr()

123