Home
last modified time | relevance | path

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

123

/external/mesa3d/src/glsl/
Dlower_clip_distance.cpp156 new(ctx) ir_dereference_variable(old_index_var), old_index)); in create_indices()
162 ir_binop_rshift, new(ctx) ir_dereference_variable(old_index_var), in create_indices()
169 ir_binop_bit_and, new(ctx) ir_dereference_variable(old_index_var), in create_indices()
189 ir_dereference_variable *old_var_ref = ir->array->as_dereference_variable(); in visit_leave()
214 ir_dereference_variable *lhs_var = ir->lhs->as_dereference_variable(); in visit_leave()
215 ir_dereference_variable *rhs_var = ir->rhs->as_dereference_variable(); in visit_leave()
291 ir_dereference_variable *deref = actual_param->as_dereference_variable(); in visit_leave()
302 new(ctx) ir_dereference_variable(temp_clip_distance)); in visit_leave()
311 new(ctx) ir_dereference_variable(temp_clip_distance), in visit_leave()
312 new(ctx) ir_dereference_variable(old_clip_distance_var)); in visit_leave()
[all …]
Dlower_output_reads.cpp52 virtual ir_visitor_status visit(class ir_dereference_variable *);
87 output_read_remover::visit(ir_dereference_variable *ir) in visit()
114 ir_dereference_variable *lhs = new(ctx) ir_dereference_variable(output); in copy()
115 ir_dereference_variable *rhs = new(ctx) ir_dereference_variable(temp); in copy()
Dopt_structure_splitting.cpp93 virtual ir_visitor_status visit(ir_dereference_variable *);
138 ir_structure_reference_visitor::visit(ir_dereference_variable *ir) in visit()
233 ir_dereference_variable *deref_var = deref_record->record->as_dereference_variable(); in split_deref()
249 *deref = new(entry->mem_ctx) ir_dereference_variable(entry->components[i]); in split_deref()
270 ir_dereference_variable *lhs_deref = ir->lhs->as_dereference_variable(); in visit_leave()
271 ir_dereference_variable *rhs_deref = ir->rhs->as_dereference_variable(); in visit_leave()
282 new_lhs = new(mem_ctx) ir_dereference_variable(lhs_entry->components[i]); in visit_leave()
290 new_rhs = new(mem_ctx) ir_dereference_variable(rhs_entry->components[i]); in visit_leave()
Dlower_vec_index_to_cond_assign.cpp94 deref = new(base_ir) ir_dereference_variable(index); in convert_vec_index_to_cond_assign()
123 deref = new(base_ir) ir_dereference_variable(var); in convert_vec_index_to_cond_assign()
134 return new(base_ir) ir_dereference_variable(var); in convert_vec_index_to_cond_assign()
165 ir_dereference_variable *deref; in visit_leave()
191 deref = new(ir) ir_dereference_variable(index); in visit_leave()
199 deref = new(ir) ir_dereference_variable(var); in visit_leave()
224 deref = new(ir) ir_dereference_variable(var); in visit_leave()
Dast_function.cpp245 ir_dereference_variable *deref_tmp_1 in generate_call()
246 = new(ctx) ir_dereference_variable(tmp); in generate_call()
247 ir_dereference_variable *deref_tmp_2 in generate_call()
248 = new(ctx) ir_dereference_variable(tmp); in generate_call()
287 ir_dereference_variable *deref = NULL; in generate_call()
298 deref = new(ctx) ir_dereference_variable(var); in generate_call()
670 return new(ctx) ir_dereference_variable(var); in process_array_constructor()
741 ir_dereference_variable *lhs = new(ctx) ir_dereference_variable(var); in emit_inline_vector_constructor()
802 ir_dereference *lhs = new(ctx) ir_dereference_variable(var); in emit_inline_vector_constructor()
831 ir_dereference *lhs = new(ctx) ir_dereference_variable(var); in emit_inline_vector_constructor()
[all …]
Dlower_jumps.cpp190 …ush_head(new(this->signature) ir_assignment(new(this->signature) ir_dereference_variable(execute_f… in get_execute_flag()
202 …t_before(new(this->signature) ir_assignment(new(this->signature) ir_dereference_variable(break_fla… in get_break_flag()
230 …ush_head(new(this->signature) ir_assignment(new(this->signature) ir_dereference_variable(return_fl… in get_return_flag()
318 new (ir) ir_dereference_variable(return_value), in insert_lowered_return()
323 new (ir) ir_dereference_variable(return_flag), in insert_lowered_return()
351 new(ctx) ir_dereference_variable(this->loop.get_break_flag()), in create_lowered_break()
677 …jumps[lower]->replace_with(new(ir) ir_assignment(new (ir) ir_dereference_variable(execute_flag), n… in visit()
798ir_dereference_variable* ir_if_cond_deref = ir_if->condition->as_dereference_variable(); in visit()
818 … ir_if* if_execute = new(ir) ir_if(new(ir) ir_dereference_variable(this->loop.execute_flag)); in visit()
901 ir_if* break_if = new(ir) ir_if(new(ir) ir_dereference_variable(this->loop.break_flag)); in visit()
[all …]
Dlower_vector.cpp82 ir_dereference_variable *const d = (ir_dereference_variable *) op; in is_extended_swizzle()
188 ir_dereference *const lhs = new(mem_ctx) ir_dereference_variable(temp); in handle_rvalue()
201 ir_dereference *const lhs = new(mem_ctx) ir_dereference_variable(temp); in handle_rvalue()
211 *rvalue = new(mem_ctx) ir_dereference_variable(temp); in handle_rvalue()
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()
143 ir_dereference_variable *const dv = (*rvalue)->as_dereference_variable(); in handle_rvalue()
216 ir_rvalue *variable = new(mem_ctx) ir_dereference_variable(this->var); in generate()
300 ir_dereference_variable *deref = in bisect()
301 new(this->mem_ctx) ir_dereference_variable(this->index); in bisect()
413 ir_dereference *lhs = new(mem_ctx) ir_dereference_variable(var); in convert_dereference_array()
432 ir_dereference *lhs = new(mem_ctx) ir_dereference_variable(index); in convert_dereference_array()
488 *pir = new(ralloc_parent(base_ir)) ir_dereference_variable(var); in handle_rvalue()
Dlower_texture_projection.cpp63 ir_dereference *deref = new(mem_ctx) ir_dereference_variable(var); in visit_leave()
71 deref = new(mem_ctx) ir_dereference_variable(var); in visit_leave()
78 deref = new(mem_ctx) ir_dereference_variable(var); in visit_leave()
Dopt_array_splitting.cpp104 virtual ir_visitor_status visit(ir_dereference_variable *);
158 ir_array_reference_visitor::visit(ir_dereference_variable *ir) in visit()
176 ir_dereference_variable *deref = ir->array->as_dereference_variable(); in visit_enter()
286 ir_dereference_variable *deref_var = deref_array->array->as_dereference_variable(); in split_deref()
300 ir_dereference_variable(entry->components[constant->value.i[0]]); in split_deref()
312 *deref = new(entry->mem_ctx) ir_dereference_variable(temp); in split_deref()
Dlower_discard.cpp157 new(mem_ctx) ir_assignment(new(mem_ctx) ir_dereference_variable(var), in replace_discard()
179 new(mem_ctx) ir_assignment(new(mem_ctx) ir_dereference_variable(temp), in visit_leave()
192 discard->condition = new(mem_ctx) ir_dereference_variable(temp); in visit_leave()
Dlower_if_to_cond_assign.cpp200 ir_dereference_variable *then_cond = in visit_leave()
201 new(mem_ctx) ir_dereference_variable(then_var); in visit_leave()
227 ir_dereference_variable *else_cond = in visit_leave()
228 new(mem_ctx) ir_dereference_variable(else_var); in visit_leave()
Dlower_discard_flow.cpp88 ir_dereference *lhs = new(mem_ctx) ir_dereference_variable(discarded); in visit_enter()
110 ir_dereference *lhs = new(mem_ctx) ir_dereference_variable(discarded); in visit_enter()
121 ir_rvalue *if_condition = new(mem_ctx) ir_dereference_variable(discarded); in generate_discard_break()
Dast_to_hir.cpp664 ir_dereference_variable *deref = access->as_dereference_variable(); in mark_whole_array_access()
761 ir_dereference_variable *deref_var = new(ctx) ir_dereference_variable(var); in do_assignment()
764 deref_var = new(ctx) ir_dereference_variable(var); in do_assignment()
769 return new(ctx) ir_dereference_variable(var); in do_assignment()
783 instructions->push_tail(new(ctx) ir_assignment(new(ctx) ir_dereference_variable(var), in get_lvalue_copy()
786 return new(ctx) ir_dereference_variable(var); in get_lvalue_copy()
1222 ir_dereference *const then_deref = new(ctx) ir_dereference_variable(tmp); in hir()
1227 ir_dereference *const else_deref = new(ctx) ir_dereference_variable(tmp); in hir()
1232 result = new(ctx) ir_dereference_variable(tmp); in hir()
1257 ir_dereference *const then_deref = new(ctx) ir_dereference_variable(tmp); in hir()
[all …]
Dir_expression_flattening.cpp84 assign = new(ctx) ir_assignment(new(ctx) ir_dereference_variable(var), in handle_rvalue()
89 *rvalue = new(ctx) ir_dereference_variable(var); in handle_rvalue()
Dopt_copy_propagation_elements.cpp169 ir_dereference_variable *lhs = ir->lhs->as_dereference_variable(); in visit_leave()
208 ir_dereference_variable *deref_var; in handle_rvalue()
276 deref_var = new(shader_mem_ctx) ir_dereference_variable(source[0]); in handle_rvalue()
439 ir_dereference_variable *lhs = ir->lhs->as_dereference_variable(); in add_copy()
443 ir_dereference_variable *rhs = ir->rhs->as_dereference_variable(); in add_copy()
Dir_set_program_inouts.cpp66 virtual ir_visitor_status visit(ir_dereference_variable *);
107 ir_set_program_inouts_visitor::visit(ir_dereference_variable *ir) in visit()
127 ir_dereference_variable *deref_var; in visit_enter()
Dir_visitor.h54 virtual void visit(class ir_dereference_variable *) = 0;
77 virtual void visit(class ir_dereference_variable *) {} in visit() argument
Dir_builder.h47 val = new(mem_ctx) ir_dereference_variable(var); in operand()
67 val = new(mem_ctx) ir_dereference_variable(var); in deref()
Dlower_mat_op_to_vec.cpp267 new(this->mem_ctx) ir_dereference_variable(tmp_bvec); in do_equal_mat_mat()
275 ir_rvalue *const val = new(this->mem_ctx) ir_dereference_variable(tmp_bvec); in do_equal_mat_mat()
317 ir_dereference_variable *result = in visit_leave()
346 op[i] = new(mem_ctx) ir_dereference_variable(var); in visit_leave()
Dlower_instructions.cpp244 new(ir) ir_assignment(new(ir) ir_dereference_variable(temp), in mod_to_fract()
252 new(ir) ir_dereference_variable(temp)); in mod_to_fract()
266 ir->operands[0] = new(ir) ir_dereference_variable(temp); in mod_to_fract()
Dopt_dead_code_local.cpp93 virtual ir_visitor_status visit(ir_dereference_variable *ir) in visit()
102 ir_dereference_variable *deref = ir->val->as_dereference_variable(); in visit()
170 ir_dereference_variable *deref_var = ir->lhs->as_dereference_variable(); in process_assignment()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_fs_vector_splitting.cpp90 virtual ir_visitor_status visit(ir_dereference_variable *);
149 ir_vector_reference_visitor::visit(ir_dereference_variable *ir) in visit()
245 ir_dereference_variable *deref_var = swiz->val->as_dereference_variable(); in handle_rvalue()
254 *rvalue = new(entry->mem_ctx) ir_dereference_variable(var); in handle_rvalue()
260 ir_dereference_variable *lhs_deref = ir->lhs->as_dereference_variable(); in visit_leave()
261 ir_dereference_variable *rhs_deref = ir->rhs->as_dereference_variable(); in visit_leave()
279 new_lhs = new(mem_ctx) ir_dereference_variable(lhs->components[i]); in visit_leave()
288 new(mem_ctx) ir_dereference_variable(rhs->components[rhs_chan]); in visit_leave()
323 ir->lhs = new(mem_ctx) ir_dereference_variable(lhs->components[elem]); in visit_leave()
Dbrw_cubemap_normalize.cpp62 ir_dereference *deref = new(mem_ctx) ir_dereference_variable(var); in visit_leave()
67 deref = new(mem_ctx) ir_dereference_variable(var); in visit_leave()
69 deref = new(mem_ctx) ir_dereference_variable(var); in visit_leave()
71 deref = new(mem_ctx) ir_dereference_variable(var); in visit_leave()
91 deref = new(mem_ctx) ir_dereference_variable(var); in visit_leave()
/external/mesa3d/src/mesa/main/
Dff_fragment_shader.cpp549 val = new(p->mem_ctx) ir_dereference_variable(current); in get_current_attrib()
560 return new(p->mem_ctx) ir_dereference_variable(var); in get_gl_Color()
575 return new(p->mem_ctx) ir_dereference_variable(p->src_texture[unit]); in get_source()
586 ir_dereference_variable(p->src_texture[src - SRC_TEXTURE0]); in get_source()
591 deref = new(p->mem_ctx) ir_dereference_variable(var); in get_source()
599 return new(p->mem_ctx) ir_dereference_variable(var); in get_source()
881 deref = new(p->mem_ctx) ir_dereference_variable(temp_var); in emit_texenv()
925 texcoord = new(p->mem_ctx) ir_dereference_variable(p->texcoord_tex[unit]); in load_texture()
929 texcoord = new(p->mem_ctx) ir_dereference_variable(tc_array); in load_texture()
1022 deref = new(p->mem_ctx) ir_dereference_variable(sampler); in load_texture()
[all …]

123