Home
last modified time | relevance | path

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

1234

/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_cubemap_normalize.cpp63 ir_dereference *deref = new(mem_ctx) ir_dereference_variable(var); in visit_leave()
68 deref = new(mem_ctx) ir_dereference_variable(var); in visit_leave()
70 deref = new(mem_ctx) ir_dereference_variable(var); in visit_leave()
72 deref = new(mem_ctx) ir_dereference_variable(var); in visit_leave()
94 new(mem_ctx) ir_dereference_variable(var), in visit_leave()
98 new(mem_ctx) ir_dereference_variable(var), in visit_leave()
103 ir->coordinate = new(mem_ctx) ir_dereference_variable(var); in visit_leave()
Dbrw_fs_vector_splitting.cpp84 virtual ir_visitor_status visit(ir_dereference_variable *);
144 ir_vector_reference_visitor::visit(ir_dereference_variable *ir) in visit()
234 ir_dereference_variable *deref_var = swiz->val->as_dereference_variable(); in handle_rvalue()
243 *rvalue = new(entry->mem_ctx) ir_dereference_variable(var); in handle_rvalue()
249 ir_dereference_variable *lhs_deref = ir->lhs->as_dereference_variable(); in visit_leave()
250 ir_dereference_variable *rhs_deref = ir->rhs->as_dereference_variable(); in visit_leave()
268 new_lhs = new(mem_ctx) ir_dereference_variable(lhs->components[i]); in visit_leave()
277 new(mem_ctx) ir_dereference_variable(rhs->components[rhs_chan]); in visit_leave()
312 ir->lhs = new(mem_ctx) ir_dereference_variable(lhs->components[elem]); in visit_leave()
/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()
/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()
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()
244 *deref = new(entry->mem_ctx) ir_dereference_variable(entry->components[i]); in split_deref()
265 ir_dereference_variable *lhs_deref = ir->lhs->as_dereference_variable(); in visit_leave()
266 ir_dereference_variable *rhs_deref = ir->rhs->as_dereference_variable(); in visit_leave()
277 new_lhs = new(mem_ctx) ir_dereference_variable(lhs_entry->components[i]); in visit_leave()
285 new_rhs = new(mem_ctx) ir_dereference_variable(rhs_entry->components[i]); in visit_leave()
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()
684 …jumps[lower]->replace_with(new(ir) ir_assignment(new (ir) ir_dereference_variable(execute_flag), n… in visit()
805ir_dereference_variable* ir_if_cond_deref = ir_if->condition->as_dereference_variable(); in visit()
825 … ir_if* if_execute = new(ir) ir_if(new(ir) ir_dereference_variable(this->loop.execute_flag)); in visit()
908 ir_if* break_if = new(ir) ir_if(new(ir) ir_dereference_variable(this->loop.break_flag)); in visit()
[all …]
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()
Dlower_variable_index_to_cond_assign.cpp76 ir_rvalue *broadcast_index = new(mem_ctx) ir_dereference_variable(index); in compare_index_block()
113 new(mem_ctx) ir_dereference_variable(condition); in compare_index_block()
144 ir_dereference_variable *const dv = (*rvalue)->as_dereference_variable(); in handle_rvalue()
223 ir_rvalue *variable = new(mem_ctx) ir_dereference_variable(this->var); in generate()
307 ir_dereference_variable *deref = in bisect()
308 new(this->mem_ctx) ir_dereference_variable(this->index); in bisect()
478 ir_dereference *lhs = new(mem_ctx) ir_dereference_variable(var); in convert_dereference_array()
497 ir_dereference *lhs = new(mem_ctx) ir_dereference_variable(index); in convert_dereference_array()
553 *pir = new(ralloc_parent(base_ir)) ir_dereference_variable(var); in handle_rvalue()
Dast_function.cpp387 ir_dereference_variable *const deref_tmp_1 = in fix_parameter()
388 new(mem_ctx) ir_dereference_variable(tmp); in fix_parameter()
397 ir_dereference_variable *const deref_tmp_2 = in fix_parameter()
398 new(mem_ctx) ir_dereference_variable(tmp); in fix_parameter()
405 ir_rvalue *rhs = new(mem_ctx) ir_dereference_variable(tmp); in fix_parameter()
526 ir_dereference_variable *deref = NULL; in generate_call()
540 deref = new(ctx) ir_dereference_variable(var); in generate_call()
1027 ir_dereference *lhs = new(ctx) ir_dereference_variable(var); in process_vec_mat_constructor()
1037 return new(ctx) ir_dereference_variable(var); in process_vec_mat_constructor()
1164 return new(ctx) ir_dereference_variable(var); in process_array_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()
366 ir_dereference_variable *deref_var = (*deref)->as_dereference_variable(); in replace_deref()
Dopt_array_splitting.cpp107 virtual ir_visitor_status visit(ir_dereference_variable *);
183 ir_array_reference_visitor::visit(ir_dereference_variable *ir) in visit()
207 ir_dereference_variable *deref = ir->array->as_dereference_variable(); in visit_enter()
328 ir_dereference_variable *deref_var = deref_array->array->as_dereference_variable(); in split_deref()
342 ir_dereference_variable(entry->components[constant->value.i[0]]); in split_deref()
354 *deref = new(entry->mem_ctx) ir_dereference_variable(temp); in split_deref()
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()
Dlower_vec_index_to_cond_assign.cpp97 deref = new(base_ir) ir_dereference_variable(index); in convert_vec_index_to_cond_assign()
105 deref_value = new(base_ir) ir_dereference_variable(value); in convert_vec_index_to_cond_assign()
135 deref = new(base_ir) ir_dereference_variable(var); in convert_vec_index_to_cond_assign()
146 return new(base_ir) ir_dereference_variable(var); in convert_vec_index_to_cond_assign()
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()
Dlower_if_to_cond_assign.cpp284 ir_dereference_variable *then_cond = in visit_leave()
285 new(mem_ctx) ir_dereference_variable(then_var); in visit_leave()
311 ir_dereference_variable *else_cond = in visit_leave()
312 new(mem_ctx) ir_dereference_variable(else_var); in visit_leave()
Dlower_distance.cpp255 new(ctx) ir_dereference_variable(old_index_var), old_index)); in create_indices()
263 new(ctx) ir_dereference_variable(old_index_var), in create_indices()
273 new(ctx) ir_dereference_variable(old_index_var), in create_indices()
349 return new(ralloc_parent(ir)) ir_dereference_variable(*new_var); in lower_distance_vec8()
555 new(ctx) ir_dereference_variable(temp_clip_distance)); in visit_leave()
564 new(ctx) ir_dereference_variable(temp_clip_distance), in visit_leave()
578 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), in handle_rvalue()
85 *rvalue = new(ctx) ir_dereference_variable(var); in handle_rvalue()
Dlower_shared_reference.cpp162 deref = new(mem_ctx) ir_dereference_variable(load_var); in handle_rvalue()
202 ir->lhs = new(mem_ctx) ir_dereference_variable(store_var); in handle_assignment()
215 deref = new(mem_ctx) ir_dereference_variable(store_var); in handle_assignment()
322 ir_dereference_variable *deref_result = new(mem_ctx) in shared_load()
323 ir_dereference_variable(result); in shared_load()
428 ir_dereference_variable *return_deref = in lower_shared_atomic_intrinsic()
Dpropagate_invariance.cpp64 virtual ir_visitor_status visit(ir_dereference_variable *ir);
94 ir_invariance_propagation_visitor::visit(ir_dereference_variable *ir) in visit()
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()
/external/mesa3d/src/mesa/main/
Dff_fragment_shader.cpp523 val = new(p->mem_ctx) ir_dereference_variable(current); in get_current_attrib()
534 return new(p->mem_ctx) ir_dereference_variable(var); in get_gl_Color()
549 return new(p->mem_ctx) ir_dereference_variable(p->src_texture[unit]); in get_source()
560 ir_dereference_variable(p->src_texture[src - SRC_TEXTURE0]); in get_source()
565 deref = new(p->mem_ctx) ir_dereference_variable(var); in get_source()
573 return new(p->mem_ctx) ir_dereference_variable(var); in get_source()
846 deref = new(p->mem_ctx) ir_dereference_variable(temp_var); in emit_texenv()
891 texcoord = new(p->mem_ctx) ir_dereference_variable(p->texcoord_tex[unit]); in load_texture()
895 texcoord = new(p->mem_ctx) ir_dereference_variable(tc_array); in load_texture()
986 deref = new(p->mem_ctx) ir_dereference_variable(sampler); in load_texture()
[all …]

1234