Home
last modified time | relevance | path

Searched refs:ir_dereference_variable (Results 1 – 25 of 83) sorted by relevance

1234

/external/mesa3d/src/compiler/glsl/tests/
Dopt_add_neg_to_sub_test.cpp101 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()
Dlower_int64_test.cpp37 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/
Dlower_output_reads.cpp54 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()
Dlower_jumps.cpp192 …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()
806ir_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 …]
Dopt_structure_splitting.cpp88 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()
Dlower_vector.cpp86 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()
Dlower_discard_flow.cpp91 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()
Dast_function.cpp276 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 …]
Dlower_texture_projection.cpp67 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()
Dlower_discard.cpp160 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()
Dopt_function_inlining.cpp123 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()
Dlower_int64.cpp56 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()
Dopt_flip_matrices.cpp84 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()
Dopt_dead_builtin_varyings.cpp144 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()
Dlower_if_to_cond_assign.cpp287 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()
Dlower_cs_derived.cpp68 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()
Dopt_array_splitting.cpp107 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()
Dopt_copy_propagation_elements.cpp290 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()
Dlower_distance.cpp257 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()
Dir_expression_flattening.cpp80 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()
Dpropagate_invariance.cpp64 virtual ir_visitor_status visit(ir_dereference_variable *ir);
94 ir_invariance_propagation_visitor::visit(ir_dereference_variable *ir) in visit()
Dlower_vector_derefs.cpp98 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()
Dlower_precision.cpp113 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 …]
Dlower_shared_reference.cpp166 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/
Dff_fragment_shader.cpp364 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 …]

1234