Home
last modified time | relevance | path

Searched refs:ir_assignment (Results 1 – 25 of 72) 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.cpp68 virtual ir_visitor_status visit_leave(ir_assignment *);
69 void visit_new_assignment(ir_assignment *ir);
74 void fix_lhs(ir_assignment *);
250 lower_tess_level_visitor::fix_lhs(ir_assignment *ir) in fix_lhs()
296 lower_tess_level_visitor::visit_leave(ir_assignment *ir) in visit_leave()
333 ir_assignment *const assign = new(ctx) ir_assignment(new_lhs, new_rhs); in visit_leave()
366 lower_tess_level_visitor::visit_new_assignment(ir_assignment *ir) in visit_new_assignment()
419 ir_assignment *new_assignment = new(ctx) ir_assignment( in visit_leave()
432 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()
207 ir_assignment *assign; in generate_inline()
209 assign = new(ctx) ir_assignment(new(ctx) ir_dereference_variable(parameters[i]), in generate_inline()
223 ir_assignment *assign; in generate_inline()
225 assign = new(ctx) ir_assignment(new(ctx) ir_dereference_variable(parameters[i]), in generate_inline()
275 ir_assignment *assign; in generate_inline()
277 assign = new(ctx) ir_assignment(param, in generate_inline()
361 virtual ir_visitor_status visit_leave(ir_assignment *);
[all …]
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_distance.cpp91 virtual ir_visitor_status visit_leave(ir_assignment *);
92 void visit_new_assignment(ir_assignment *ir);
97 void fix_lhs(ir_assignment *);
256 this->base_ir->insert_before(new(ctx) ir_assignment( in create_indices()
399 lower_distance_visitor::fix_lhs(ir_assignment *ir) in fix_lhs()
437 lower_distance_visitor::visit_leave(ir_assignment *ir) in visit_leave()
474 ir_assignment *const assign = new(ctx) ir_assignment(new_lhs, new_rhs); in visit_leave()
507 lower_distance_visitor::visit_new_assignment(ir_assignment *ir) in visit_new_assignment()
565 ir_assignment *new_assignment = new(ctx) ir_assignment( in visit_leave()
578 ir_assignment *new_assignment = new(ctx) ir_assignment( in visit_leave()
Dlower_vector_derefs.cpp46 virtual ir_visitor_status visit_enter(ir_assignment *ir);
57 vector_deref_visitor::visit_enter(ir_assignment *ir) in visit_enter()
115 ir_assignment *cond_assign = in visit_enter()
116 new(mem_ctx) ir_assignment(lhs_clone->as_dereference(), in visit_enter()
122 ir_assignment *cond_assign = in visit_enter()
123 new(mem_ctx) ir_assignment(swizzle(lhs_clone, i, 1), in visit_enter()
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()
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_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()
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.cpp183 ir_assignment *assign = (ir_assignment *)ir; in move_block_to_cond_assign()
245 ir_assignment *assign; in visit_leave()
290 assign = new(mem_ctx) ir_assignment(then_cond, ir->condition); in visit_leave()
321 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()
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 *);
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()
234 ir_assignment *assign = ir->as_assignment(); in incremented_before_terminator()
267 ir_assignment *current_assignment) in record_reference()
406 virtual ir_visitor_status visit_enter(ir_assignment *);
407 virtual ir_visitor_status visit_leave(ir_assignment *);
415 ir_assignment *current_assignment;
700 loop_analysis::visit_enter(ir_assignment *ir) in visit_enter()
713 loop_analysis::visit_leave(ir_assignment *ir) in visit_leave()
768 get_basic_induction_increment(ir_assignment *ir, hash_table *var_hash) in get_basic_induction_increment()
Dir_variable_refcount.h41 ir_assignment *assign;
76 virtual ir_visitor_status visit_leave(ir_assignment *);
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_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()
Dopt_if_simplification.cpp44 ir_visitor_status visit_enter(ir_assignment *);
55 ir_if_simplification_visitor::visit_enter(ir_assignment *ir) in visit_enter()
Dlower_texture_projection.cpp72 ir_assignment *assign = new(mem_ctx) ir_assignment(deref, expr); in visit_leave()
Dast_function.cpp428 ir_assignment *const assignment = in copy_index_derefs_to_temps()
429 new(d->mem_ctx) ir_assignment(deref_tmp_1, in copy_index_derefs_to_temps()
505 ir_assignment *const assignment = in fix_parameter()
506 new(mem_ctx) ir_assignment(deref_tmp_1, actual->clone(mem_ctx, NULL)); in fix_parameter()
533 ir_assignment *const assignment_2 = new(mem_ctx) ir_assignment(lhs, rhs); in fix_parameter()
1261 assignment = new(ctx) ir_assignment(lhs, rhs); in process_vec_mat_constructor()
1267 assignment = new(ctx) ir_assignment(lhs, rhs, NULL, in process_vec_mat_constructor()
1397 ir_instruction *assignment = new(ctx) ir_assignment(lhs, rhs); in process_array_constructor()
1465 ir_instruction *inst = new(ctx) ir_assignment(lhs, rhs, NULL, mask); in emit_inline_vector_constructor()
1535 new(ctx) ir_assignment(lhs, rhs, NULL, constant_mask); in emit_inline_vector_constructor()
[all …]
Dopt_dead_code_local.cpp51 assignment_entry(ir_variable *lhs, ir_assignment *ir) in assignment_entry()
61 ir_assignment *ir;
172 process_assignment(void *lin_ctx, ir_assignment *ir, exec_list *assignments) in process_assignment()
325 ir_assignment *ir_assign = ir->as_assignment(); in dead_code_local_basic_block()
/external/mesa3d/src/compiler/glsl/tests/
Dopt_add_neg_to_sub_test.cpp92 ir_assignment *const assign = ir->as_assignment(); in TEST_F()
125 ir_assignment *const assign = ir->as_assignment(); in TEST_F()
158 ir_assignment *const assign = ir->as_assignment(); in TEST_F()
191 ir_assignment *const assign = ir->as_assignment(); in TEST_F()

123