Home
last modified time | relevance | path

Searched refs:ir_assignment (Results 1 – 25 of 67) sorted by relevance

123

/external/mesa3d/src/compiler/glsl/
Dlower_mat_op_to_vec.cpp48 ir_visitor_status visit_leave(ir_assignment *);
130 ir_assignment *assign; in do_mul_mat_mat()
151 assign = new(mem_ctx) ir_assignment(get_column(result, b_col), expr); in do_mul_mat_mat()
162 ir_assignment *assign; in do_mul_mat_vec()
181 assign = new(mem_ctx) ir_assignment(result, expr); in do_mul_mat_vec()
195 ir_assignment *column_assign; in do_mul_vec_mat()
204 column_assign = new(mem_ctx) ir_assignment(column_result, in do_mul_vec_mat()
219 ir_assignment *column_assign; in do_mul_mat_scalar()
225 column_assign = new(mem_ctx) ir_assignment(get_column(result, i), in do_mul_mat_scalar()
273 ir_assignment *const assign = in do_equal_mat_mat()
[all …]
Dlower_tess_level.cpp67 virtual ir_visitor_status visit_leave(ir_assignment *);
68 void visit_new_assignment(ir_assignment *ir);
73 void fix_lhs(ir_assignment *);
249 lower_tess_level_visitor::fix_lhs(ir_assignment *ir) in fix_lhs()
295 lower_tess_level_visitor::visit_leave(ir_assignment *ir) in visit_leave()
332 ir_assignment *const assign = new(ctx) ir_assignment(new_lhs, new_rhs); in visit_leave()
365 lower_tess_level_visitor::visit_new_assignment(ir_assignment *ir) in visit_new_assignment()
418 ir_assignment *new_assignment = new(ctx) ir_assignment( in visit_leave()
431 ir_assignment *new_assignment = new(ctx) ir_assignment( in visit_leave()
Dopt_function_inlining.cpp92 ret->replace_with(new(ctx) ir_assignment(lhs, ret->value)); in replace_return_with_assignment()
118 ir_assignment *assignment; in visit_enter()
123 assignment = new(ctx) ir_assignment(new(ctx) ir_dereference_variable(index), in visit_enter()
199 ir_assignment *assign; in generate_inline()
201 assign = new(ctx) ir_assignment(new(ctx) ir_dereference_variable(parameters[i]), in generate_inline()
215 ir_assignment *assign; in generate_inline()
217 assign = new(ctx) ir_assignment(new(ctx) ir_dereference_variable(parameters[i]), in generate_inline()
268 ir_assignment *assign; in generate_inline()
270 assign = new(ctx) ir_assignment(param, in generate_inline()
Dlower_distance.cpp90 virtual ir_visitor_status visit_leave(ir_assignment *);
91 void visit_new_assignment(ir_assignment *ir);
96 void fix_lhs(ir_assignment *);
255 this->base_ir->insert_before(new(ctx) ir_assignment( in create_indices()
398 lower_distance_visitor::fix_lhs(ir_assignment *ir) in fix_lhs()
436 lower_distance_visitor::visit_leave(ir_assignment *ir) in visit_leave()
473 ir_assignment *const assign = new(ctx) ir_assignment(new_lhs, new_rhs); in visit_leave()
506 lower_distance_visitor::visit_new_assignment(ir_assignment *ir) in visit_new_assignment()
564 ir_assignment *new_assignment = new(ctx) ir_assignment( in visit_leave()
577 ir_assignment *new_assignment = new(ctx) ir_assignment( in visit_leave()
Dpropagate_invariance.cpp62 virtual ir_visitor_status visit_enter(ir_assignment *ir);
63 virtual ir_visitor_status visit_leave(ir_assignment *ir);
73 ir_invariance_propagation_visitor::visit_enter(ir_assignment *ir) in visit_enter()
86 ir_invariance_propagation_visitor::visit_leave(ir_assignment *) in visit_leave() argument
Dlower_discard.cpp159 ir_assignment *assignment = in replace_discard()
160 new(mem_ctx) ir_assignment(new(mem_ctx) ir_dereference_variable(var), in replace_discard()
181 ir_assignment *temp_initializer = in visit_leave()
182 new(mem_ctx) ir_assignment(new(mem_ctx) ir_dereference_variable(temp), in visit_leave()
Dopt_vectorize.cpp83 virtual ir_visitor_status visit_enter(ir_assignment *);
91 virtual ir_visitor_status visit_leave(ir_assignment *);
95 ir_assignment *assignment[4];
96 ir_assignment *current_assignment, *last_assignment;
253 ir_vectorize_visitor::visit_enter(ir_assignment *ir) in visit_enter()
375 ir_vectorize_visitor::visit_leave(ir_assignment *ir) in visit_leave()
Dlower_discard_flow.cpp100 ir_assignment *assign = new(mem_ctx) ir_assignment(lhs, rhs); in visit_enter()
122 ir_assignment *assign = new(mem_ctx) ir_assignment(lhs, rhs); in visit_enter()
Dopt_array_splitting.cpp108 virtual ir_visitor_status visit_enter(ir_assignment *);
109 virtual ir_visitor_status visit_leave(ir_assignment *);
189 ir_array_reference_visitor::visit_enter(ir_assignment *ir) in visit_enter()
198 ir_array_reference_visitor::visit_leave(ir_assignment *) in visit_leave() argument
321 virtual ir_visitor_status visit_leave(ir_assignment *);
397 ir_array_splitting_visitor::visit_leave(ir_assignment *ir) in visit_leave()
421 ir_assignment *assign_i = in visit_leave()
422 new(mem_ctx) ir_assignment(lhs_i, rhs_i, condition_i); in visit_leave()
Dlower_if_to_cond_assign.cpp179 ir_assignment *assign = (ir_assignment *)ir; in move_block_to_cond_assign()
241 ir_assignment *assign; in visit_leave()
286 assign = new(mem_ctx) ir_assignment(then_cond, ir->condition); in visit_leave()
317 assign = new(mem_ctx) ir_assignment(else_cond, inverse); in visit_leave()
Dopt_constant_folding.cpp54 virtual ir_visitor_status visit_enter(ir_assignment *ir);
143 ir_constant_folding_visitor::visit_enter(ir_assignment *ir) in visit_enter()
196 ir_assignment *assignment = in visit_enter()
197 new(ralloc_parent(ir)) ir_assignment(ir->return_deref, const_val); in visit_enter()
Dopt_tree_grafting.cpp63 ir_tree_grafting_visitor(ir_assignment *graft_assign, in ir_tree_grafting_visitor()
71 virtual ir_visitor_status visit_leave(class ir_assignment *);
87 ir_assignment *graft_assign;
178 ir_tree_grafting_visitor::visit_leave(ir_assignment *ir) in visit_leave()
314 try_tree_grafting(ir_assignment *start, in try_tree_grafting()
355 ir_assignment *assign = ir->as_assignment(); in tree_grafting_basic_block()
Dloop_analysis.cpp33 static ir_rvalue *get_basic_induction_increment(ir_assignment *, hash_table *);
70 ir_assignment *assign = ir->as_assignment(); in find_initial_value()
194 ir_assignment *assign = ir->as_assignment(); in incremented_before_terminator()
227 ir_assignment *current_assignment) in record_reference()
366 virtual ir_visitor_status visit_enter(ir_assignment *);
367 virtual ir_visitor_status visit_leave(ir_assignment *);
375 ir_assignment *current_assignment;
660 loop_analysis::visit_enter(ir_assignment *ir) in visit_enter()
673 loop_analysis::visit_leave(ir_assignment *ir) in visit_leave()
728 get_basic_induction_increment(ir_assignment *ir, hash_table *var_hash) in get_basic_induction_increment()
Dlower_vector.cpp193 ir_assignment *const assign = in handle_rvalue()
194 new(mem_ctx) ir_assignment(lhs, c, NULL, write_mask); in handle_rvalue()
206 ir_assignment *const assign = in handle_rvalue()
207 new(mem_ctx) ir_assignment(lhs, expr->operands[i], NULL, (1U << i)); in handle_rvalue()
Dir_rvalue_visitor.h38 ir_visitor_status rvalue_visit(ir_assignment *);
57 virtual ir_visitor_status visit_leave(ir_assignment *);
74 virtual ir_visitor_status visit_enter(ir_assignment *);
Dopt_structure_splitting.cpp90 virtual ir_visitor_status visit_enter(ir_assignment *);
154 ir_structure_reference_visitor::visit_enter(ir_assignment *ir) in visit_enter()
195 virtual ir_visitor_status visit_leave(ir_assignment *);
259 ir_structure_splitting_visitor::visit_leave(ir_assignment *ir) in visit_leave()
288 ir->insert_before(new(mem_ctx) ir_assignment(new_lhs, new_rhs)); in visit_leave()
Dir_variable_refcount.h41 ir_assignment *assign;
76 virtual ir_visitor_status visit_leave(ir_assignment *);
Dast_function.cpp404 ir_assignment *const assignment = in fix_parameter()
405 new(mem_ctx) ir_assignment(deref_tmp_1, actual); in fix_parameter()
432 ir_assignment *const assignment_2 = new(mem_ctx) ir_assignment(lhs, rhs); in fix_parameter()
1145 assignment = new(ctx) ir_assignment(lhs, rhs); in process_vec_mat_constructor()
1151 assignment = new(ctx) ir_assignment(lhs, rhs, NULL, in process_vec_mat_constructor()
1281 ir_instruction *assignment = new(ctx) ir_assignment(lhs, rhs); in process_array_constructor()
1349 ir_instruction *inst = new(ctx) ir_assignment(lhs, rhs, NULL, mask); in emit_inline_vector_constructor()
1419 new(ctx) ir_assignment(lhs, rhs, NULL, constant_mask); in emit_inline_vector_constructor()
1453 new(ctx) ir_assignment(lhs, rhs, NULL, write_mask); in emit_inline_vector_constructor()
1504 return new(mem_ctx) ir_assignment(column_ref, src, NULL, write_mask); in assign_to_matrix_column()
[all …]
Dir_expression_flattening.cpp69 ir_assignment *assign; in handle_rvalue()
80 assign = new(ctx) ir_assignment(new(ctx) ir_dereference_variable(var), ir); in handle_rvalue()
Dopt_flatten_nested_if_blocks.cpp57 ir_visitor_status visit_enter(ir_assignment *);
68 nested_if_flattener::visit_enter(ir_assignment *ir) in visit_enter()
Dopt_dead_code_local.cpp51 assignment_entry(ir_variable *lhs, ir_assignment *ir) in assignment_entry()
61 ir_assignment *ir;
170 process_assignment(void *lin_ctx, ir_assignment *ir, exec_list *assignments) in process_assignment()
323 ir_assignment *ir_assign = ir->as_assignment(); in dead_code_local_basic_block()
Dopt_copy_propagation.cpp68 virtual ir_visitor_status visit_leave(class ir_assignment *);
72 void add_copy(ir_assignment *ir);
124 ir_copy_propagation_visitor::visit_leave(ir_assignment *ir) in visit_leave()
343 ir_copy_propagation_visitor::add_copy(ir_assignment *ir) in add_copy()
Dlower_jumps.cpp192 …list.push_head(new(this->signature) ir_assignment(new(this->signature) ir_dereference_variable(exe… in get_execute_flag()
204 …this->loop->insert_before(new(this->signature) ir_assignment(new(this->signature) ir_dereference_v… in get_break_flag()
232 …this->signature->body.push_head(new(this->signature) ir_assignment(new(this->signature) ir_derefer… in get_return_flag()
324 new(ir) ir_assignment( in insert_lowered_return()
329 new(ir) ir_assignment( in insert_lowered_return()
357 return new(ctx) ir_assignment( in create_lowered_break()
683 …jumps[lower]->replace_with(new(ir) ir_assignment(new (ir) ir_dereference_variable(execute_flag), n… in visit()
Dopt_if_simplification.cpp44 ir_visitor_status visit_enter(ir_assignment *);
55 ir_if_simplification_visitor::visit_enter(ir_assignment *ir) in visit_enter()
/external/mesa3d/src/compiler/glsl/tests/
Dopt_add_neg_to_sub_test.cpp88 ir_assignment *const assign = ir->as_assignment(); in TEST_F()
121 ir_assignment *const assign = ir->as_assignment(); in TEST_F()
154 ir_assignment *const assign = ir->as_assignment(); in TEST_F()
187 ir_assignment *const assign = ir->as_assignment(); in TEST_F()

123