/third_party/mesa3d/src/util/tests/ |
D | set_test.cpp | 44 entry = _mesa_set_search(s, a); in TEST() 51 entry = _mesa_set_search(s, a); in TEST() 92 entry = _mesa_set_search(s, c); in TEST() 102 EXPECT_TRUE(_mesa_set_search(clone, a)); in TEST() 103 EXPECT_TRUE(_mesa_set_search(clone, b)); in TEST() 104 EXPECT_FALSE(_mesa_set_search(clone, c)); in TEST() 126 EXPECT_FALSE(_mesa_set_search(s, a)); in TEST() 127 EXPECT_TRUE(_mesa_set_search(s, b)); in TEST() 132 EXPECT_FALSE(_mesa_set_search(s, a)); in TEST() 133 EXPECT_TRUE(_mesa_set_search(s, b)); in TEST()
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_lower_goto_ifs.c | 140 if (_mesa_set_search(fork->paths[i].reachable, target)) { in set_path_vars() 167 if (_mesa_set_search(fork->paths[i].reachable, then_block)) { in set_path_vars_cond() 168 if (_mesa_set_search(fork->paths[i].reachable, else_block)) { in set_path_vars_cond() 208 if (_mesa_set_search(routing->regular.reachable, target)) { in route_to() 211 else if (_mesa_set_search(routing->brk.reachable, target)) { in route_to() 215 else if (_mesa_set_search(routing->cont.reachable, target)) { in route_to() 240 if (_mesa_set_search(routing->regular.reachable, then_block)) { in route_to_cond() 241 if (_mesa_set_search(routing->regular.reachable, else_block)) { in route_to_cond() 246 } else if (_mesa_set_search(routing->brk.reachable, then_block)) { in route_to_cond() 247 if (_mesa_set_search(routing->brk.reachable, else_block)) { in route_to_cond() [all …]
|
D | nir_propagate_invariant.c | 47 return _mesa_set_search(invariants, &dest->ssa); in dest_is_invariant() 49 return _mesa_set_search(invariants, dest->reg.reg); in dest_is_invariant() 83 return var && (var->data.invariant || _mesa_set_search(invariants, var)); in var_is_invariant()
|
D | nir_schedule.c | 558 _mesa_set_search(remaining_uses, src->parent_instr)) { in nir_schedule_regs_freed_src_cb() 587 if (!_mesa_set_search(scoreboard->live_values, reg)) in nir_schedule_regs_freed_dest_cb() 844 if (!_mesa_set_search(scoreboard->live_values, reg_or_def)) { in nir_schedule_mark_use() 854 struct set_entry *entry = _mesa_set_search(remaining_uses, reg_or_def_parent); in nir_schedule_mark_use() 869 struct set_entry *entry = _mesa_set_search(remaining_uses, in nir_schedule_mark_src_scheduled()
|
D | nir_validate.c | 202 entry = _mesa_set_search(state->ssa_srcs, src); in validate_ssa_src() 204 entry = _mesa_set_search(state->ssa_srcs, SET_PTR_BIT(src, 0)); in validate_ssa_src() 1091 validate_assert(state, _mesa_set_search(state->shader_gc_list, instr)); in validate_instr() 1224 validate_assert(state, _mesa_set_search(state->blocks, in validate_block_predecessors() 1229 _mesa_set_search(block->successors[i]->predecessors, block)); in validate_block_predecessors() 1240 validate_assert(state, _mesa_set_search(state->blocks, pred)); in validate_block_predecessors() 1449 struct set_entry *entry = _mesa_set_search(reg_state->uses, src); in postvalidate_reg_decl() 1456 struct set_entry *entry = _mesa_set_search(reg_state->if_uses, src); in postvalidate_reg_decl() 1463 struct set_entry *entry = _mesa_set_search(reg_state->defs, src); in postvalidate_reg_decl()
|
D | nir_opt_access.c | 207 else if ((access & ACCESS_RESTRICT) && !_mesa_set_search(state->vars_written, var)) in process_variable() 214 else if ((access & ACCESS_RESTRICT) && !_mesa_set_search(state->vars_read, var)) in process_variable()
|
D | nir_opt_ray_queries.c | 116 struct set_entry *entry = _mesa_set_search(queries, query); in nir_replace_unread_queries_instr()
|
D | nir_opt_vectorize.c | 265 struct set_entry *entry = _mesa_set_search(instr_set, user_instr); in instr_try_combine() 345 struct set_entry *entry = _mesa_set_search(instr_set, instr); in vec_instr_set_add_or_rewrite()
|
D | nir_remove_dead_variables.c | 175 struct set_entry *entry = _mesa_set_search(live, var); in remove_dead_vars()
|
D | nir_inline_functions.c | 177 if (_mesa_set_search(inlined, impl)) in inline_function_impl()
|
D | nir_lower_scratch.c | 162 struct set_entry *entry = _mesa_set_search(set, deref->var); in nir_lower_vars_to_scratch()
|
/third_party/mesa3d/src/compiler/nir/tests/ |
D | control_flow_tests.cpp | 103 EXPECT_TRUE(_mesa_set_search(block_1->predecessors, block_0)); in TEST_F() 104 EXPECT_TRUE(_mesa_set_search(block_2->predecessors, block_1)); in TEST_F() 105 EXPECT_TRUE(_mesa_set_search(block_3->predecessors, block_2)); in TEST_F() 145 EXPECT_TRUE(_mesa_set_search(block_1->predecessors, block_0)); in TEST_F() 146 EXPECT_TRUE(_mesa_set_search(block_1->predecessors, block_1)); in TEST_F() 147 EXPECT_FALSE(_mesa_set_search(block_2->predecessors, block_1)); in TEST_F() 148 EXPECT_TRUE(_mesa_set_search(block_3->predecessors, block_2)); in TEST_F()
|
/third_party/mesa3d/src/mesa/main/ |
D | vdpau.c | 236 if (!_mesa_set_search(ctx->vdpSurfaces, surf)) { in _mesa_VDPAUIsSurfaceNV() 260 entry = _mesa_set_search(ctx->vdpSurfaces, surf); in _mesa_VDPAUUnregisterSurfaceNV() 289 if (!_mesa_set_search(ctx->vdpSurfaces, surf)) { in _mesa_VDPAUGetSurfaceivNV() 321 if (!_mesa_set_search(ctx->vdpSurfaces, surf)) { in _mesa_VDPAUSurfaceAccessNV() 355 if (!_mesa_set_search(ctx->vdpSurfaces, surf)) { in _mesa_VDPAUMapSurfacesNV() 409 if (!_mesa_set_search(ctx->vdpSurfaces, surf)) { in _mesa_VDPAUUnmapSurfacesNV()
|
D | syncobj.c | 179 && _mesa_set_search(ctx->Shared->SyncObjects, syncObj) != NULL in _mesa_get_and_ref_sync() 201 entry = _mesa_set_search(ctx->Shared->SyncObjects, syncObj); in _mesa_unref_sync_object()
|
/third_party/mesa3d/src/compiler/glsl/ |
D | lower_precision.cpp | 556 _mesa_set_search(lowerable_rvalues, param) == NULL) in handle_call() 614 if (_mesa_set_search(lowerable_rvalues, ir->rhs)) { in visit_leave() 846 struct set_entry *entry = _mesa_set_search(lowerable_rvalues, *rvalue); in handle_rvalue() 1076 assert(_mesa_set_search(lower_vars, ir->variable_referenced())); in fix_types_in_deref_chain() 1146 if (rhs_var && _mesa_set_search(lower_vars, rhs_var)) { in visit_enter() 1156 _mesa_set_search(lower_vars, var) && in visit_enter() 1168 _mesa_set_search(lower_vars, var)) { in visit_enter() 1175 _mesa_set_search(lower_vars, rhs_var) && in visit_enter() 1215 _mesa_set_search(lower_vars, var) && in visit_enter() 1257 _mesa_set_search(lower_vars, expr_op0_deref->variable_referenced())) { in handle_rvalue() [all …]
|
/third_party/mesa3d/src/util/ |
D | dag.c | 140 if (_mesa_set_search(state->seen, node)) in dag_traverse_bottom_up_node() 157 if (!_mesa_set_search(state->seen, edge->child)) { in dag_traverse_bottom_up_node() 183 } while (_mesa_set_search(state->seen, node)); in dag_traverse_bottom_up_node()
|
D | set.h | 96 _mesa_set_search(const struct set *set, const void *key);
|
D | set.c | 293 _mesa_set_search(const struct set *set, const void *key) in _mesa_set_search() function 560 _mesa_set_remove(set, _mesa_set_search(set, key)); in _mesa_set_remove_key()
|
/third_party/mesa3d/src/panfrost/midgard/ |
D | midgard_helper_invocations.c | 132 if (!_mesa_set_search(visited, pred)) { in mir_analyze_helper_terminate() 226 if (progress || !_mesa_set_search(visited, blk)) { in mir_analyze_helper_requirements()
|
/third_party/mesa3d/src/gallium/drivers/v3d/ |
D | v3d_job.c | 118 if (_mesa_set_search(job->bos, bo)) in v3d_job_add_bo() 157 if (_mesa_set_search(job->bos, bo)) in v3d_flush_jobs_using_bo() 183 return _mesa_set_search(job->tf_write_prscs, prsc) != NULL; in v3d_job_writes_resource_from_tf() 255 if (!_mesa_set_search(job->bos, rsc->bo)) in v3d_flush_jobs_reading_resource()
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
D | d3d12_batch.cpp | 268 struct set_entry *entry = _mesa_set_search(batch->sampler_views, sv); in d3d12_batch_reference_sampler_view() 288 struct set_entry *entry = _mesa_set_search(batch->objects, object); in d3d12_batch_reference_object()
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_nir_vectorize_vs_inputs.c | 273 struct set_entry *entry = _mesa_set_search(instr_set, new_stack); in r600_vec_instr_set_add() 307 struct set_entry *entry = _mesa_set_search(instr_set, temp); in r600_vec_instr_set_remove()
|
/third_party/mesa3d/src/panfrost/util/ |
D | pan_liveness.c | 149 if (progress || !_mesa_set_search(visited, blk)) { in pan_compute_liveness()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_nir_optim.c | 65 if (_mesa_set_search(instrs, instr)) in check_instr_depends_on_tex()
|
/third_party/mesa3d/src/drm-shim/ |
D | drm_shim.c | 545 if (_mesa_set_search(opendir_set, dir)) { in readdir() 572 if (_mesa_set_search(opendir_set, dir)) { in readdir64()
|