/external/mesa3d/src/compiler/glsl/tests/ |
D | opt_add_neg_to_sub_test.cpp | 101 ir_dereference_variable *const deref_a = in TEST_F() 103 ir_dereference_variable *const deref_b = in TEST_F() 134 ir_dereference_variable *const deref_a = in TEST_F() 136 ir_dereference_variable *const deref_b = in TEST_F() 167 ir_dereference_variable *const deref_b = in TEST_F() 169 ir_dereference_variable *const deref_a = in TEST_F() 201 ir_dereference_variable *const deref_a = in TEST_F() 209 ir_dereference_variable *const deref_b = in TEST_F()
|
D | lower_int64_test.cpp | 37 ir_dereference_variable *compact_destination(ir_factory &body, 81 static ir_dereference_variable * 88 return new(mem_ctx) ir_dereference_variable(var); in create_variable() 196 ir_dereference_variable *const deref = create_variable(mem_ctx, type); in TEST_F() 207 ir_dereference_variable *const deref = create_variable(mem_ctx, type); in TEST_F() 224 ir_dereference_variable *const deref = in TEST_F() 225 new(mem_ctx) ir_dereference_variable(var); in TEST_F() 236 ir_dereference_variable *const deref = create_variable(mem_ctx, type); in TEST_F() 247 ir_dereference_variable *const deref = create_variable(mem_ctx, type); in TEST_F() 258 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() 124 ir_dereference_variable *lhs = new(ctx) ir_dereference_variable(output); in copy() 125 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() 327 new (ir) ir_dereference_variable(return_value), in insert_lowered_return() 332 new (ir) ir_dereference_variable(return_flag), in insert_lowered_return() 360 new(ctx) ir_dereference_variable(this->loop.get_break_flag()), in create_lowered_break() 685 …jumps[lower]->replace_with(new(ir) ir_assignment(new (ir) ir_dereference_variable(execute_flag), n… in visit() 806 … ir_dereference_variable* ir_if_cond_deref = ir_if->condition->as_dereference_variable(); in visit() 826 … ir_if* if_execute = new(ir) ir_if(new(ir) ir_dereference_variable(this->loop.execute_flag)); in visit() 909 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 | 276 if (const ir_dereference_variable *deref_var = val->as_dereference_variable()) in verify_parameter_modes() 426 ir_dereference_variable *const deref_tmp_1 = in copy_index_derefs_to_temps() 427 new(d->mem_ctx) ir_dereference_variable(tmp); in copy_index_derefs_to_temps() 434 ir_dereference_variable *const deref_tmp_2 = in copy_index_derefs_to_temps() 435 new(d->mem_ctx) ir_dereference_variable(tmp); in copy_index_derefs_to_temps() 503 ir_dereference_variable *const deref_tmp_1 = in fix_parameter() 504 new(mem_ctx) ir_dereference_variable(tmp); in fix_parameter() 513 ir_dereference_variable *const deref_tmp_2 = in fix_parameter() 514 new(mem_ctx) ir_dereference_variable(tmp); in fix_parameter() 521 ir_rvalue *rhs = new(mem_ctx) ir_dereference_variable(tmp); in fix_parameter() [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 | 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_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() 209 assign = new(ctx) ir_assignment(new(ctx) ir_dereference_variable(parameters[i]), in generate_inline() 225 assign = new(ctx) ir_assignment(new(ctx) ir_dereference_variable(parameters[i]), in generate_inline() 278 new(ctx) ir_dereference_variable(parameters[i])); in generate_inline() 375 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 | 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 | 144 virtual ir_visitor_status visit(ir_dereference_variable *ir) in visit() 446 *rvalue = new(ctx) ir_dereference_variable(this->new_texcoord[i]); in handle_rvalue() 459 *rvalue = new(ctx) ir_dereference_variable(this->new_fragdata[i]); in handle_rvalue() 465 ir_dereference_variable *const dv = (*rvalue)->as_dereference_variable(); in handle_rvalue() 473 *rvalue = new(ctx) ir_dereference_variable(this->new_color[i]); in handle_rvalue() 478 *rvalue = new(ctx) ir_dereference_variable(this->new_backcolor[i]); in handle_rvalue() 484 *rvalue = new(ctx) ir_dereference_variable(this->new_fog); in handle_rvalue()
|
D | lower_if_to_cond_assign.cpp | 287 ir_dereference_variable *then_cond = in visit_leave() 288 new(mem_ctx) ir_dereference_variable(then_var); in visit_leave() 314 ir_dereference_variable *else_cond = in visit_leave() 315 new(mem_ctx) ir_dereference_variable(else_var); in visit_leave()
|
D | lower_cs_derived.cpp | 68 virtual ir_visitor_status visit(ir_dereference_variable *); 120 gl_WorkGroupSize = new(shader) ir_dereference_variable(WorkGroupSize); in find_sysvals() 139 gl_WorkGroupSize = new(shader) ir_dereference_variable( in find_sysvals() 206 lower_cs_derived_visitor::visit(ir_dereference_variable *ir) in visit()
|
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 | opt_copy_propagation_elements.cpp | 290 virtual ir_visitor_status visit(ir_dereference_variable *); 328 ir_copy_propagation_elements_visitor::visit(ir_dereference_variable *ir) in visit() 373 ir_dereference_variable *lhs = ir->lhs->as_dereference_variable(); in visit_leave() 410 ir_dereference_variable *deref_var; in handle_rvalue() 487 deref_var = new(shader_mem_ctx) ir_dereference_variable(source[0]); in handle_rvalue() 662 ir_dereference_variable *rhs = ir->rhs->as_dereference_variable(); in add_copy() 680 ir_dereference_variable *lhs = ir->lhs->as_dereference_variable(); in add_copy() 688 ir_dereference_variable *rhs = ir->rhs->as_dereference_variable(); in add_copy()
|
D | lower_distance.cpp | 257 new(ctx) ir_dereference_variable(old_index_var), old_index)); in create_indices() 265 new(ctx) ir_dereference_variable(old_index_var), in create_indices() 275 new(ctx) ir_dereference_variable(old_index_var), in create_indices() 351 return new(ralloc_parent(ir)) ir_dereference_variable(*new_var); in lower_distance_vec8() 557 new(ctx) ir_dereference_variable(temp_clip_distance)); in visit_leave() 566 new(ctx) ir_dereference_variable(temp_clip_distance), in visit_leave() 580 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_vector_derefs.cpp | 98 ir->set_lhs(new(mem_ctx) ir_dereference_variable(src_temp)); in visit_enter() 110 ir_dereference_variable *const src_temp_deref = in visit_enter() 111 new(mem_ctx) ir_dereference_variable(src_temp); in visit_enter()
|
D | lower_precision.cpp | 113 virtual ir_visitor_status visit(ir_dereference_variable *ir); 342 find_lowerable_rvalues_visitor::visit(ir_dereference_variable *ir) in visit() 1212 convert_split_assignment(new(mem_ctx) ir_dereference_variable(new_var), in visit_enter() 1214 ir->value = new(mem_ctx) ir_dereference_variable(new_var); in visit_enter() 1271 convert_split_assignment(new(mem_ctx) ir_dereference_variable(new_var), in handle_rvalue() 1273 *rvalue = new(mem_ctx) ir_dereference_variable(new_var); in handle_rvalue() 1307 actual_node->replace_with(new(mem_ctx) ir_dereference_variable(new_var)); in visit_enter() 1312 convert_split_assignment(new(mem_ctx) ir_dereference_variable(new_var), in visit_enter() 1319 new(mem_ctx) ir_dereference_variable(new_var), in visit_enter() 1326 ir_dereference_variable *ret_deref = ir->return_deref; in visit_enter() [all …]
|
D | lower_shared_reference.cpp | 166 deref = new(mem_ctx) ir_dereference_variable(load_var); in handle_rvalue() 206 ir->lhs = new(mem_ctx) ir_dereference_variable(store_var); in handle_assignment() 219 deref = new(mem_ctx) ir_dereference_variable(store_var); in handle_assignment() 326 ir_dereference_variable *deref_result = new(mem_ctx) in shared_load() 327 ir_dereference_variable(result); in shared_load() 432 ir_dereference_variable *return_deref = in lower_shared_atomic_intrinsic()
|
/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() 734 texcoord = new(p->mem_ctx) ir_dereference_variable(tc_array); in load_texture() 825 deref = new(p->mem_ctx) ir_dereference_variable(sampler); in load_texture() 922 f = new(p->mem_ctx) ir_dereference_variable(fogcoord); in emit_fog_instructions() [all …]
|