/third_party/mesa3d/src/compiler/glsl/ |
D | ast_array_index.cpp | 52 if (ir_dereference_variable *deref_var = ir->as_dereference_variable()) { in update_max_array_access() local 53 ir_variable *var = deref_var->var; in update_max_array_access() 75 ir_dereference_variable *deref_var = in update_max_array_access() local 77 if (deref_var == NULL) { in update_max_array_access() 86 deref_var = deref_array_prev->array->as_dereference_variable(); in update_max_array_access() 89 if (deref_var != NULL) { in update_max_array_access() 90 if (deref_var->var->is_interface_instance()) { in update_max_array_access() 92 assert(field_idx < deref_var->var->get_interface_type()->length); in update_max_array_access() 95 deref_var->var->get_max_ifc_array_access(); in update_max_array_access()
|
D | ir_set_program_inouts.cpp | 348 if (ir_dereference_variable * const deref_var = in visit_enter() local 350 if (is_multiple_vertices(this->shader_stage, deref_var->var)) { in visit_enter() 354 if (try_mark_partial_variable(deref_var->var, ir->array_index)) in visit_enter() 365 } else if (ir_dereference_variable * const deref_var = in visit_enter() local 368 if (is_multiple_vertices(this->shader_stage, deref_var->var)) { in visit_enter() 372 mark_whole_variable(deref_var->var); in visit_enter() 379 } else if (is_shader_inout(deref_var->var)) { in visit_enter() 383 if (try_mark_partial_variable(deref_var->var, ir->array_index)) in visit_enter()
|
D | opt_copy_propagation_elements.cpp | 410 ir_dereference_variable *deref_var; in handle_rvalue() local 421 deref_var = swizzle->val->as_dereference_variable(); in handle_rvalue() 422 if (!deref_var) in handle_rvalue() 431 deref_var = (*ir)->as_dereference_variable(); in handle_rvalue() 432 if (!deref_var) in handle_rvalue() 439 chans = deref_var->type->vector_elements; in handle_rvalue() 445 ir_variable *var = deref_var->var; in handle_rvalue() 474 shader_mem_ctx = ralloc_parent(deref_var); in handle_rvalue() 487 deref_var = new(shader_mem_ctx) ir_dereference_variable(source[0]); in handle_rvalue() 488 *ir = new(shader_mem_ctx) ir_swizzle(deref_var, in handle_rvalue()
|
D | lower_named_interface_blocks.cpp | 85 ir_rvalue *deref_var) in process_array_ir() argument 91 return new(mem_ctx) ir_dereference_array(deref_var, in process_array_ir() 96 deref_var); in process_array_ir() 303 ir_dereference_variable *deref_var = in handle_rvalue() local 310 (ir_rvalue *)deref_var); in handle_rvalue() 312 *rvalue = deref_var; in handle_rvalue()
|
D | opt_dead_code_local.cpp | 197 ir_dereference_variable *deref_var = ir->lhs->as_dereference_variable(); in process_assignment() local 202 if (deref_var && (deref_var->var->type->is_scalar() || in process_assignment() 203 deref_var->var->type->is_vector())) { in process_assignment()
|
D | opt_structure_splitting.cpp | 227 ir_dereference_variable *deref_var = deref_record->record->as_dereference_variable(); in split_deref() local 228 if (!deref_var) in split_deref() 231 variable_entry *entry = get_splitting_entry(deref_var->var); in split_deref()
|
D | opt_function_inlining.cpp | 375 ir_dereference_variable *deref_var = (*deref)->as_dereference_variable(); in replace_deref() local 376 if (deref_var && deref_var->var == this->orig) { in replace_deref()
|
D | opt_array_splitting.cpp | 351 ir_dereference_variable *deref_var = deref_array->array->as_dereference_variable(); in split_deref() local 352 if (!deref_var) in split_deref() 354 ir_variable *var = deref_var->var; in split_deref()
|
D | ast_function.cpp | 277 if (const ir_dereference_variable *deref_var = val->as_dereference_variable()) in verify_parameter_modes() local 278 var = deref_var->variable_referenced(); in verify_parameter_modes()
|
D | ast_to_hir.cpp | 1046 ir_dereference_variable *deref_var = in do_assignment() local 1048 instructions->push_tail(new(ctx) ir_assignment(lhs, deref_var)); in do_assignment()
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_lower_const_arrays_to_uniforms.c | 184 nir_variable *deref_var = nir_deref_instr_get_variable(deref); in lower_const_array_to_uniform() local 185 if (var != deref_var) in lower_const_array_to_uniform()
|
D | nir_serialize.c | 648 } deref_var; member 1039 header.deref_var.object_idx = var_idx; in write_deref() 1055 if (!header.deref_var.object_idx) in write_deref() 1109 if (header.deref_var.object_idx) in read_deref() 1110 deref->var = read_lookup_object(ctx, header.deref_var.object_idx); in read_deref()
|
/third_party/mesa3d/src/compiler/spirv/ |
D | vtn_opencl.c | 816 nir_deref_instr *deref_var = nir_build_deref_var(&b->nb, var); in handle_printf() local 820 nir_build_deref_struct(&b->nb, deref_var, i - 1); in handle_printf() 835 nir_ssa_def *ret = nir_printf(&b->nb, fmt_idx, &deref_var->dest.ssa); in handle_printf()
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
D | zink_compiler.c | 1258 nir_deref_instr *deref_var = nir_build_deref_var(b, var); in rewrite_atomic_ssbo_instr() local 1262 nir_deref_instr *deref_array = nir_build_deref_array(b, deref_var, idx); in rewrite_atomic_ssbo_instr() 1335 nir_deref_instr *deref_var = nir_build_deref_var(b, var); in remove_bo_access_instr() local 1341 nir_deref_instr *deref_array = nir_build_deref_array(b, deref_var, idx); in remove_bo_access_instr() 1471 nir_variable *deref_var = nir_intrinsic_get_var(intr, 0); in rewrite_and_discard_read() local 1472 if (deref_var != var) in rewrite_and_discard_read()
|