| /xsrc/external/mit/MesaLib/dist/src/compiler/glsl/ |
| H A D | ast_array_index.cpp | 52 if (ir_dereference_variable *deref_var = ir->as_dereference_variable()) { local in function:update_max_array_access 53 ir_variable *var = deref_var->var; 75 ir_dereference_variable *deref_var = local in function:update_max_array_access 77 if (deref_var == NULL) { 86 deref_var = deref_array_prev->array->as_dereference_variable(); 89 if (deref_var != NULL) { 90 if (deref_var->var->is_interface_instance()) { 92 assert(field_idx < deref_var->var->get_interface_type()->length); 95 deref_var->var->get_max_ifc_array_access();
|
| H A D | ir_set_program_inouts.cpp | 348 if (ir_dereference_variable * const deref_var = local in function:ir_set_program_inouts_visitor::visit_enter 350 if (is_multiple_vertices(this->shader_stage, deref_var->var)) { 354 if (try_mark_partial_variable(deref_var->var, ir->array_index)) 365 } else if (ir_dereference_variable * const deref_var = local in function:ir_set_program_inouts_visitor::visit_enter 368 if (is_multiple_vertices(this->shader_stage, deref_var->var)) { 372 mark_whole_variable(deref_var->var); 379 } else if (is_shader_inout(deref_var->var)) { 383 if (try_mark_partial_variable(deref_var->var, ir->array_index))
|
| H A D | lower_named_interface_blocks.cpp | 85 ir_rvalue *deref_var) 91 return new(mem_ctx) ir_dereference_array(deref_var, 96 deref_var); 303 ir_dereference_variable *deref_var = local in function:flatten_named_interface_blocks_declarations::handle_rvalue 310 (ir_rvalue *)deref_var); 312 *rvalue = deref_var; 83 process_array_ir(void * const mem_ctx,ir_dereference_array * deref_array_prev,ir_rvalue * deref_var) argument
|
| H A D | opt_dead_code_local.cpp | 203 ir_dereference_variable *deref_var = ir->lhs->as_dereference_variable(); local in function:process_assignment 208 if (deref_var && (deref_var->var->type->is_scalar() || 209 deref_var->var->type->is_vector())) {
|
| H A D | opt_copy_propagation_elements.cpp | 410 ir_dereference_variable *deref_var; local in function:ir_copy_propagation_elements_visitor::handle_rvalue 421 deref_var = swizzle->val->as_dereference_variable(); 422 if (!deref_var) 431 deref_var = (*ir)->as_dereference_variable(); 432 if (!deref_var) 439 chans = deref_var->type->vector_elements; 445 ir_variable *var = deref_var->var; 474 shader_mem_ctx = ralloc_parent(deref_var); 487 deref_var = new(shader_mem_ctx) ir_dereference_variable(source[0]); 488 *ir = new(shader_mem_ctx) ir_swizzle(deref_var, [all...] |
| H A D | opt_array_splitting.cpp | 351 ir_dereference_variable *deref_var = deref_array->array->as_dereference_variable(); local in function:ir_array_splitting_visitor::split_deref 352 if (!deref_var) 354 ir_variable *var = deref_var->var;
|
| H A D | opt_function_inlining.cpp | 375 ir_dereference_variable *deref_var = (*deref)->as_dereference_variable(); local in function:ir_variable_replacement_visitor::replace_deref 376 if (deref_var && deref_var->var == this->orig) {
|
| H A D | opt_structure_splitting.cpp | 228 ir_dereference_variable *deref_var = deref_record->record->as_dereference_variable(); local in function:__anon9e3ff8b80110::ir_structure_splitting_visitor::split_deref 229 if (!deref_var) 232 variable_entry *entry = get_splitting_entry(deref_var->var);
|
| H A D | lower_ubo_reference.cpp | 688 ir_dereference_variable *deref_var = (ir_dereference_variable *)deref; local in function:__anonf648b2340110::lower_ubo_reference_visitor::calculate_unsized_array_stride 694 unsized_array_type = deref_var->var->type->fields.array; 701 is_dereferenced_thing_row_major(deref_var);
|
| H A D | ast_function.cpp | 276 if (const ir_dereference_variable *deref_var = val->as_dereference_variable()) local in function:verify_parameter_modes 277 var = deref_var->variable_referenced();
|
| H A D | ast_to_hir.cpp | 1046 ir_dereference_variable *deref_var = local in function:do_assignment 1048 instructions->push_tail(new(ctx) ir_assignment(lhs, deref_var));
|
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/ |
| H A D | ast_array_index.cpp | 52 if (ir_dereference_variable *deref_var = ir->as_dereference_variable()) { local in function:update_max_array_access 53 ir_variable *var = deref_var->var; 75 ir_dereference_variable *deref_var = local in function:update_max_array_access 77 if (deref_var == NULL) { 86 deref_var = deref_array_prev->array->as_dereference_variable(); 89 if (deref_var != NULL) { 90 if (deref_var->var->is_interface_instance()) { 92 assert(field_idx < deref_var->var->get_interface_type()->length); 95 deref_var->var->get_max_ifc_array_access();
|
| H A D | ir_set_program_inouts.cpp | 348 if (ir_dereference_variable * const deref_var = local in function:ir_set_program_inouts_visitor::visit_enter 350 if (is_multiple_vertices(this->shader_stage, deref_var->var)) { 354 if (try_mark_partial_variable(deref_var->var, ir->array_index)) 365 } else if (ir_dereference_variable * const deref_var = local in function:ir_set_program_inouts_visitor::visit_enter 368 if (is_multiple_vertices(this->shader_stage, deref_var->var)) { 372 mark_whole_variable(deref_var->var); 379 } else if (is_shader_inout(deref_var->var)) { 383 if (try_mark_partial_variable(deref_var->var, ir->array_index))
|
| H A D | lower_named_interface_blocks.cpp | 85 ir_rvalue *deref_var) 91 return new(mem_ctx) ir_dereference_array(deref_var, 96 deref_var); 298 ir_dereference_variable *deref_var = local in function:flatten_named_interface_blocks_declarations::handle_rvalue 305 (ir_rvalue *)deref_var); 307 *rvalue = deref_var; 83 process_array_ir(void * const mem_ctx,ir_dereference_array * deref_array_prev,ir_rvalue * deref_var) argument
|
| H A D | opt_dead_code_local.cpp | 201 ir_dereference_variable *deref_var = ir->lhs->as_dereference_variable(); local in function:process_assignment 206 if (deref_var && (deref_var->var->type->is_scalar() || 207 deref_var->var->type->is_vector())) {
|
| H A D | opt_copy_propagation_elements.cpp | 410 ir_dereference_variable *deref_var; local in function:ir_copy_propagation_elements_visitor::handle_rvalue 421 deref_var = swizzle->val->as_dereference_variable(); 422 if (!deref_var) 431 deref_var = (*ir)->as_dereference_variable(); 432 if (!deref_var) 439 chans = deref_var->type->vector_elements; 445 ir_variable *var = deref_var->var; 474 shader_mem_ctx = ralloc_parent(deref_var); 487 deref_var = new(shader_mem_ctx) ir_dereference_variable(source[0]); 488 *ir = new(shader_mem_ctx) ir_swizzle(deref_var, [all...] |
| H A D | opt_array_splitting.cpp | 351 ir_dereference_variable *deref_var = deref_array->array->as_dereference_variable(); local in function:ir_array_splitting_visitor::split_deref 352 if (!deref_var) 354 ir_variable *var = deref_var->var;
|
| H A D | opt_function_inlining.cpp | 375 ir_dereference_variable *deref_var = (*deref)->as_dereference_variable(); local in function:ir_variable_replacement_visitor::replace_deref 376 if (deref_var && deref_var->var == this->orig) {
|
| H A D | opt_structure_splitting.cpp | 228 ir_dereference_variable *deref_var = deref_record->record->as_dereference_variable(); local in function:__anon37572d050110::ir_structure_splitting_visitor::split_deref 229 if (!deref_var) 232 variable_entry *entry = get_splitting_entry(deref_var->var);
|
| H A D | lower_ubo_reference.cpp | 686 ir_dereference_variable *deref_var = (ir_dereference_variable *)deref; local in function:__anon515fc8010110::lower_ubo_reference_visitor::calculate_unsized_array_stride 692 unsized_array_type = deref_var->var->type->fields.array; 699 is_dereferenced_thing_row_major(deref_var);
|
| H A D | ast_function.cpp | 241 if (const ir_dereference_variable *deref_var = val->as_dereference_variable()) local in function:verify_parameter_modes 242 var = deref_var->variable_referenced();
|
| H A D | ast_to_hir.cpp | 1034 ir_dereference_variable *deref_var = local in function:do_assignment 1036 instructions->push_tail(new(ctx) ir_assignment(lhs, deref_var));
|
| /xsrc/external/mit/MesaLib/dist/src/compiler/spirv/ |
| H A D | vtn_opencl.c | 816 nir_deref_instr *deref_var = nir_build_deref_var(&b->nb, var); local in function:handle_printf 820 nir_build_deref_struct(&b->nb, deref_var, i - 1); 835 nir_ssa_def *ret = nir_printf(&b->nb, fmt_idx, &deref_var->dest.ssa);
|
| /xsrc/external/mit/MesaLib/dist/src/compiler/nir/ |
| H A D | nir_serialize.c | 630 unsigned modes:14; /* deref_var redefines this */ 631 unsigned packed_src_ssa_16bit:1; /* deref_var redefines this */ 632 unsigned _pad:1; /* deref_var redefines this */ 641 } deref_var; member in union:packed_instr 990 header.deref_var.object_idx = var_idx; 1004 if (!header.deref_var.object_idx) 1058 if (header.deref_var.object_idx) 1059 deref->var = read_lookup_object(ctx, header.deref_var.object_idx);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/zink/ |
| H A D | zink_compiler.c | 741 nir_variable *deref_var = nir_intrinsic_get_var(intr, 0); local in function:rewrite_and_discard_read 742 if (deref_var != var)
|