Home
last modified time | relevance | path

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

123

/external/mesa3d/src/compiler/glsl/tests/
Dopt_add_neg_to_sub_test.cpp97 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()
Dlower_int64_test.cpp37 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/
Dlower_output_reads.cpp54 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()
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()
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()
804ir_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 …]
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.cpp241 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 …]
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()
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()
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()
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()
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_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.cpp143 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()
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()
Dlower_cs_derived.cpp67 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()
Dlower_if_to_cond_assign.cpp283 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()
Dlower_distance.cpp256 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()
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_shared_reference.cpp163 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()
Dopt_copy_propagation_elements.cpp227 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()
Dir_set_program_inouts.cpp60 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()
Dlower_tess_level.cpp215 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/
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()
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 …]

123