/external/mesa3d/src/compiler/glsl/tests/ |
D | opt_add_neg_to_sub_test.cpp | 97 ir_dereference_variable *const deref_a = in TEST_F() 99 ir_dereference_variable *const deref_b = in TEST_F() 130 ir_dereference_variable *const deref_a = in TEST_F() 132 ir_dereference_variable *const deref_b = in TEST_F() 163 ir_dereference_variable *const deref_b = in TEST_F() 165 ir_dereference_variable *const deref_a = in TEST_F() 197 ir_dereference_variable *const deref_a = in TEST_F() 205 ir_dereference_variable *const deref_b = in TEST_F()
|
D | lower_int64_test.cpp | 37 ir_dereference_variable *compact_destination(ir_factory &body, 77 static ir_dereference_variable * 84 return new(mem_ctx) ir_dereference_variable(var); in create_variable() 192 ir_dereference_variable *const deref = create_variable(mem_ctx, type); in TEST_F() 203 ir_dereference_variable *const deref = create_variable(mem_ctx, type); in TEST_F() 220 ir_dereference_variable *const deref = in TEST_F() 221 new(mem_ctx) ir_dereference_variable(var); in TEST_F() 232 ir_dereference_variable *const deref = create_variable(mem_ctx, type); in TEST_F() 243 ir_dereference_variable *const deref = create_variable(mem_ctx, type); in TEST_F() 254 ir_dereference_variable *const deref = create_variable(mem_ctx, type); in TEST_F() [all …]
|
/external/mesa3d/src/compiler/glsl/ |
D | lower_output_reads.cpp | 54 virtual ir_visitor_status visit(class ir_dereference_variable *); 91 output_read_remover::visit(ir_dereference_variable *ir) in visit() 120 ir_dereference_variable *lhs = new(ctx) ir_dereference_variable(output); in copy() 121 ir_dereference_variable *rhs = new(ctx) ir_dereference_variable(temp); in copy()
|
D | lower_jumps.cpp | 192 …ush_head(new(this->signature) ir_assignment(new(this->signature) ir_dereference_variable(execute_f… in get_execute_flag() 204 …t_before(new(this->signature) ir_assignment(new(this->signature) ir_dereference_variable(break_fla… in get_break_flag() 232 …ush_head(new(this->signature) ir_assignment(new(this->signature) ir_dereference_variable(return_fl… in get_return_flag() 325 new (ir) ir_dereference_variable(return_value), in insert_lowered_return() 330 new (ir) ir_dereference_variable(return_flag), in insert_lowered_return() 358 new(ctx) ir_dereference_variable(this->loop.get_break_flag()), in create_lowered_break() 683 …jumps[lower]->replace_with(new(ir) ir_assignment(new (ir) ir_dereference_variable(execute_flag), n… in visit() 804 … ir_dereference_variable* ir_if_cond_deref = ir_if->condition->as_dereference_variable(); in visit() 824 … ir_if* if_execute = new(ir) ir_if(new(ir) ir_dereference_variable(this->loop.execute_flag)); in visit() 907 ir_if* break_if = new(ir) ir_if(new(ir) ir_dereference_variable(this->loop.break_flag)); in visit() [all …]
|
D | opt_structure_splitting.cpp | 88 virtual ir_visitor_status visit(ir_dereference_variable *); 134 ir_structure_reference_visitor::visit(ir_dereference_variable *ir) in visit() 228 ir_dereference_variable *deref_var = deref_record->record->as_dereference_variable(); in split_deref() 240 *deref = new(entry->mem_ctx) ir_dereference_variable(entry->components[i]); in split_deref() 261 ir_dereference_variable *lhs_deref = ir->lhs->as_dereference_variable(); in visit_leave() 262 ir_dereference_variable *rhs_deref = ir->rhs->as_dereference_variable(); in visit_leave() 273 new_lhs = new(mem_ctx) ir_dereference_variable(lhs_entry->components[i]); in visit_leave() 281 new_rhs = new(mem_ctx) ir_dereference_variable(rhs_entry->components[i]); in visit_leave()
|
D | lower_vector.cpp | 86 ir_dereference_variable *const d = (ir_dereference_variable *) op; in is_extended_swizzle() 192 ir_dereference *const lhs = new(mem_ctx) ir_dereference_variable(temp); in handle_rvalue() 205 ir_dereference *const lhs = new(mem_ctx) ir_dereference_variable(temp); in handle_rvalue() 215 *rvalue = new(mem_ctx) ir_dereference_variable(temp); in handle_rvalue()
|
D | lower_discard_flow.cpp | 91 ir_dereference *lhs = new(mem_ctx) ir_dereference_variable(discarded); in visit_enter() 96 ir->condition = new(mem_ctx) ir_dereference_variable(discarded); in visit_enter() 120 ir_dereference *lhs = new(mem_ctx) ir_dereference_variable(discarded); in visit_enter() 131 ir_rvalue *if_condition = new(mem_ctx) ir_dereference_variable(discarded); in generate_discard_break()
|
D | ast_function.cpp | 241 if (const ir_dereference_variable *deref_var = val->as_dereference_variable()) in verify_parameter_modes() 402 ir_dereference_variable *const deref_tmp_1 = in fix_parameter() 403 new(mem_ctx) ir_dereference_variable(tmp); in fix_parameter() 412 ir_dereference_variable *const deref_tmp_2 = in fix_parameter() 413 new(mem_ctx) ir_dereference_variable(tmp); in fix_parameter() 420 ir_rvalue *rhs = new(mem_ctx) ir_dereference_variable(tmp); in fix_parameter() 541 ir_dereference_variable *deref = NULL; in generate_call() 555 deref = new(ctx) ir_dereference_variable(var); in generate_call() 1150 ir_dereference *lhs = new(ctx) ir_dereference_variable(var); in process_vec_mat_constructor() 1160 return new(ctx) ir_dereference_variable(var); in process_vec_mat_constructor() [all …]
|
D | lower_texture_projection.cpp | 67 ir_dereference *deref = new(mem_ctx) ir_dereference_variable(var); in visit_leave() 75 deref = new(mem_ctx) ir_dereference_variable(var); in visit_leave() 82 deref = new(mem_ctx) ir_dereference_variable(var); in visit_leave()
|
D | opt_function_inlining.cpp | 123 assignment = new(ctx) ir_assignment(new(ctx) ir_dereference_variable(index), in visit_enter() 127 deref->array_index = new(ctx) ir_dereference_variable(index); in visit_enter() 201 assign = new(ctx) ir_assignment(new(ctx) ir_dereference_variable(parameters[i]), in generate_inline() 217 assign = new(ctx) ir_assignment(new(ctx) ir_dereference_variable(parameters[i]), in generate_inline() 271 new(ctx) ir_dereference_variable(parameters[i])); in generate_inline() 365 ir_dereference_variable *deref_var = (*deref)->as_dereference_variable(); in replace_deref()
|
D | lower_int64.cpp | 56 ir_dereference_variable *compact_destination(ir_factory &, 232 ir_dereference_variable * 251 return new(mem_ctx) ir_dereference_variable(compacted_result); in compact_destination() 284 parameters.push_tail(new(mem_ctx) ir_dereference_variable(src[j][i])); in lower_op_to_function_call() 286 ir_dereference_variable *const return_deref = in lower_op_to_function_call() 287 new(mem_ctx) ir_dereference_variable(dst[i]); in lower_op_to_function_call()
|
D | lower_discard.cpp | 160 new(mem_ctx) ir_assignment(new(mem_ctx) ir_dereference_variable(var), in replace_discard() 182 new(mem_ctx) ir_assignment(new(mem_ctx) ir_dereference_variable(temp), in visit_leave() 195 discard->condition = new(mem_ctx) ir_dereference_variable(temp); in visit_leave()
|
D | opt_flip_matrices.cpp | 84 ir_dereference_variable *deref = ir->operands[0]->as_dereference_variable(); in visit_enter() 91 ir->operands[1] = new(mem_ctx) ir_dereference_variable(mvp_transpose); in visit_enter() 98 ir_dereference_variable *var_ref = array_ref->array->as_dereference_variable(); in visit_enter()
|
D | opt_dead_builtin_varyings.cpp | 143 virtual ir_visitor_status visit(ir_dereference_variable *ir) in visit() 445 *rvalue = new(ctx) ir_dereference_variable(this->new_texcoord[i]); in handle_rvalue() 458 *rvalue = new(ctx) ir_dereference_variable(this->new_fragdata[i]); in handle_rvalue() 464 ir_dereference_variable *const dv = (*rvalue)->as_dereference_variable(); in handle_rvalue() 472 *rvalue = new(ctx) ir_dereference_variable(this->new_color[i]); in handle_rvalue() 477 *rvalue = new(ctx) ir_dereference_variable(this->new_backcolor[i]); in handle_rvalue() 483 *rvalue = new(ctx) ir_dereference_variable(this->new_fog); in handle_rvalue()
|
D | opt_array_splitting.cpp | 107 virtual ir_visitor_status visit(ir_dereference_variable *); 206 ir_array_reference_visitor::visit(ir_dereference_variable *ir) in visit() 230 ir_dereference_variable *deref = ir->array->as_dereference_variable(); in visit_enter() 351 ir_dereference_variable *deref_var = deref_array->array->as_dereference_variable(); in split_deref() 365 ir_dereference_variable(entry->components[constant->value.i[0]]); in split_deref() 377 *deref = new(entry->mem_ctx) ir_dereference_variable(temp); in split_deref()
|
D | lower_cs_derived.cpp | 67 virtual ir_visitor_status visit(ir_dereference_variable *); 119 gl_WorkGroupSize = new(shader) ir_dereference_variable(WorkGroupSize); in find_sysvals() 138 gl_WorkGroupSize = new(shader) ir_dereference_variable( in find_sysvals() 205 lower_cs_derived_visitor::visit(ir_dereference_variable *ir) in visit()
|
D | lower_if_to_cond_assign.cpp | 283 ir_dereference_variable *then_cond = in visit_leave() 284 new(mem_ctx) ir_dereference_variable(then_var); in visit_leave() 310 ir_dereference_variable *else_cond = in visit_leave() 311 new(mem_ctx) ir_dereference_variable(else_var); in visit_leave()
|
D | lower_distance.cpp | 256 new(ctx) ir_dereference_variable(old_index_var), old_index)); in create_indices() 264 new(ctx) ir_dereference_variable(old_index_var), in create_indices() 274 new(ctx) ir_dereference_variable(old_index_var), in create_indices() 350 return new(ralloc_parent(ir)) ir_dereference_variable(*new_var); in lower_distance_vec8() 556 new(ctx) ir_dereference_variable(temp_clip_distance)); in visit_leave() 565 new(ctx) ir_dereference_variable(temp_clip_distance), in visit_leave() 579 new(ctx) ir_dereference_variable(temp_clip_distance)); in visit_leave()
|
D | ir_expression_flattening.cpp | 80 assign = new(ctx) ir_assignment(new(ctx) ir_dereference_variable(var), ir); in handle_rvalue() 83 *rvalue = new(ctx) ir_dereference_variable(var); in handle_rvalue()
|
D | propagate_invariance.cpp | 64 virtual ir_visitor_status visit(ir_dereference_variable *ir); 94 ir_invariance_propagation_visitor::visit(ir_dereference_variable *ir) in visit()
|
D | lower_shared_reference.cpp | 163 deref = new(mem_ctx) ir_dereference_variable(load_var); in handle_rvalue() 203 ir->lhs = new(mem_ctx) ir_dereference_variable(store_var); in handle_assignment() 216 deref = new(mem_ctx) ir_dereference_variable(store_var); in handle_assignment() 323 ir_dereference_variable *deref_result = new(mem_ctx) in shared_load() 324 ir_dereference_variable(result); in shared_load() 429 ir_dereference_variable *return_deref = in lower_shared_atomic_intrinsic()
|
D | opt_copy_propagation_elements.cpp | 227 ir_dereference_variable *lhs = ir->lhs->as_dereference_variable(); in visit_leave() 266 ir_dereference_variable *deref_var; in handle_rvalue() 344 deref_var = new(shader_mem_ctx) ir_dereference_variable(source[0]); in handle_rvalue() 552 ir_dereference_variable *lhs = ir->lhs->as_dereference_variable(); in add_copy() 556 ir_dereference_variable *rhs = ir->rhs->as_dereference_variable(); in add_copy()
|
D | ir_set_program_inouts.cpp | 60 virtual ir_visitor_status visit(ir_dereference_variable *); 186 ir_set_program_inouts_visitor::visit(ir_dereference_variable *ir) in visit() 348 if (ir_dereference_variable * const deref_var = in visit_enter() 365 } else if (ir_dereference_variable * const deref_var = in visit_enter()
|
D | lower_tess_level.cpp | 215 return new(ralloc_parent(ir)) ir_dereference_variable(*new_var); in lower_tess_level_array() 410 new(ctx) ir_dereference_variable(temp)); in visit_leave() 419 new(ctx) ir_dereference_variable(temp), in visit_leave() 433 new(ctx) ir_dereference_variable(temp)); in visit_leave()
|
/external/mesa3d/src/mesa/main/ |
D | ff_fragment_shader.cpp | 364 val = new(p->mem_ctx) ir_dereference_variable(current); in get_current_attrib() 375 return new(p->mem_ctx) ir_dereference_variable(var); in get_gl_Color() 390 return new(p->mem_ctx) ir_dereference_variable(p->src_texture[unit]); in get_source() 401 ir_dereference_variable(p->src_texture[src - TEXENV_SRC_TEXTURE0]); in get_source() 406 deref = new(p->mem_ctx) ir_dereference_variable(var); in get_source() 414 return new(p->mem_ctx) ir_dereference_variable(var); in get_source() 687 deref = new(p->mem_ctx) ir_dereference_variable(temp_var); in emit_texenv() 732 texcoord = new(p->mem_ctx) ir_dereference_variable(p->texcoord_tex[unit]); in load_texture() 736 texcoord = new(p->mem_ctx) ir_dereference_variable(tc_array); in load_texture() 827 deref = new(p->mem_ctx) ir_dereference_variable(sampler); in load_texture() [all …]
|