Home
last modified time | relevance | path

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

123

/external/mesa3d/src/glsl/
Dlower_mat_op_to_vec.cpp46 ir_visitor_status visit_leave(ir_assignment *);
126 ir_assignment *assign; in do_mul_mat_mat()
147 assign = new(mem_ctx) ir_assignment(get_column(result, b_col), expr); in do_mul_mat_mat()
158 ir_assignment *assign; in do_mul_mat_vec()
177 assign = new(mem_ctx) ir_assignment(result, expr); in do_mul_mat_vec()
191 ir_assignment *column_assign; in do_mul_vec_mat()
200 column_assign = new(mem_ctx) ir_assignment(column_result, in do_mul_vec_mat()
215 ir_assignment *column_assign; in do_mul_mat_scalar()
221 column_assign = new(mem_ctx) ir_assignment(get_column(result, i), in do_mul_mat_scalar()
269 ir_assignment *const assign = in do_equal_mat_mat()
[all …]
Dlower_clip_distance.cpp62 virtual ir_visitor_status visit_leave(ir_assignment *);
63 void visit_new_assignment(ir_assignment *ir);
155 this->base_ir->insert_before(new(ctx) ir_assignment( in create_indices()
212 lower_clip_distance_visitor::visit_leave(ir_assignment *ir) in visit_leave()
242 new(ctx) ir_assignment(new_lhs, new_rhs)); in visit_leave()
258 lower_clip_distance_visitor::visit_new_assignment(ir_assignment *ir) in visit_new_assignment()
310 ir_assignment *new_assignment = new(ctx) ir_assignment( in visit_leave()
323 ir_assignment *new_assignment = new(ctx) ir_assignment( in visit_leave()
Dlower_vec_index_to_cond_assign.cpp59 virtual ir_visitor_status visit_leave(ir_assignment *);
71 ir_assignment *assign; in convert_vec_index_to_cond_assign()
95 assign = new(base_ir) ir_assignment(deref, orig_deref->array_index, NULL); in convert_vec_index_to_cond_assign()
124 assign = new(base_ir) ir_assignment(deref, swizzle, condition_swizzle); in convert_vec_index_to_cond_assign()
162 ir_vec_index_to_cond_assign_visitor::visit_leave(ir_assignment *ir) in visit_leave()
166 ir_assignment *assign; in visit_leave()
192 assign = new(ir) ir_assignment(deref, orig_deref->array_index, NULL); in visit_leave()
200 assign = new(ir) ir_assignment(deref, ir->rhs, NULL); in visit_leave()
225 assign = new(ir) ir_assignment(swizzle, deref, condition_swizzle); in visit_leave()
Dlower_variable_index_to_cond_assign.cpp114 instructions->push_tail(new(mem_ctx) ir_assignment(cond_deref, condition_val, 0)); in compare_index_block()
217 ir_assignment *const assignment = (is_write) in generate()
218 ? new(mem_ctx) ir_assignment(element, variable, condition, write_mask) in generate()
219 : new(mem_ctx) ir_assignment(variable, element, condition); in generate()
390 ir_assignment* orig_assign, in convert_dereference_array()
414 ir_assignment *assign = new(mem_ctx) ir_assignment(lhs, in convert_dereference_array()
433 ir_assignment *assign = in convert_dereference_array()
434 new(mem_ctx) ir_assignment(lhs, orig_deref->array_index, NULL); in convert_dereference_array()
494 visit_leave(ir_assignment *ir) in visit_leave()
Dlower_discard.cpp156 ir_assignment *assignment = in replace_discard()
157 new(mem_ctx) ir_assignment(new(mem_ctx) ir_dereference_variable(var), in replace_discard()
178 ir_assignment *temp_initializer = in visit_leave()
179 new(mem_ctx) ir_assignment(new(mem_ctx) ir_dereference_variable(temp), in visit_leave()
Dlower_discard_flow.cpp90 ir_assignment *assign = new(mem_ctx) ir_assignment(lhs, rhs); in visit_enter()
112 ir_assignment *assign = new(mem_ctx) ir_assignment(lhs, rhs); in visit_enter()
Dopt_constant_folding.cpp53 virtual ir_visitor_status visit_enter(ir_assignment *ir);
92 ir_constant_folding_visitor::visit_enter(ir_assignment *ir) in visit_enter()
145 ir_assignment *assignment = in visit_enter()
146 new(ralloc_parent(ir)) ir_assignment(ir->return_deref, const_val); in visit_enter()
Dlower_if_to_cond_assign.cpp119 ir_assignment *assign = (ir_assignment *)ir; in move_block_to_cond_assign()
174 ir_assignment *assign; in visit_leave()
203 assign = new(mem_ctx) ir_assignment(then_cond, ir->condition); in visit_leave()
234 assign = new(mem_ctx) ir_assignment(else_cond, inverse); in visit_leave()
Dloop_analysis.cpp33 static ir_rvalue *get_basic_induction_increment(ir_assignment *, hash_table *);
117 virtual ir_visitor_status visit_enter(ir_assignment *);
118 virtual ir_visitor_status visit_leave(ir_assignment *);
126 ir_assignment *current_assignment;
376 loop_analysis::visit_enter(ir_assignment *ir) in visit_enter()
389 loop_analysis::visit_leave(ir_assignment *ir) in visit_leave()
443 get_basic_induction_increment(ir_assignment *ir, hash_table *var_hash) in get_basic_induction_increment()
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()
303 try_tree_grafting(ir_assignment *start, in try_tree_grafting()
344 ir_assignment *assign = ir->as_assignment(); in tree_grafting_basic_block()
Dir_rvalue_visitor.h35 ir_visitor_status rvalue_visit(ir_assignment *);
51 virtual ir_visitor_status visit_leave(ir_assignment *);
65 virtual ir_visitor_status visit_enter(ir_assignment *);
Dlower_vector.cpp189 ir_assignment *const assign = in handle_rvalue()
190 new(mem_ctx) ir_assignment(lhs, c, NULL, write_mask); in handle_rvalue()
202 ir_assignment *const assign = in handle_rvalue()
203 new(mem_ctx) ir_assignment(lhs, expr->operands[i], NULL, (1U << i)); in handle_rvalue()
Dir_builder.cpp48 ir_assignment *
53 ir_assignment *assign = new(mem_ctx) ir_assignment(lhs.val, in assign()
60 ir_assignment *
Dast_function.cpp251 ir_assignment *assignment in generate_call()
252 = new(ctx) ir_assignment(actual, converted_tmp); in generate_call()
664 ir_instruction *assignment = new(ctx) ir_assignment(lhs, rhs, NULL); in process_array_constructor()
746 ir_instruction *inst = new(ctx) ir_assignment(lhs, rhs, NULL, mask); in emit_inline_vector_constructor()
809 new(ctx) ir_assignment(lhs, rhs, NULL, constant_mask); in emit_inline_vector_constructor()
839 new(ctx) ir_assignment(lhs, rhs, NULL, write_mask); in emit_inline_vector_constructor()
890 return new(mem_ctx) ir_assignment(column_ref, src, NULL, write_mask); in assign_to_matrix_column()
947 new(ctx) ir_assignment(new(ctx) ir_dereference_variable(rhs_var), in emit_inline_matrix_constructor()
954 inst = new(ctx) ir_assignment(rhs_ref, first_param, NULL, 0x01); in emit_inline_matrix_constructor()
980 inst = new(ctx) ir_assignment(col_ref, rhs, NULL); in emit_inline_matrix_constructor()
[all …]
Dopt_function_inlining.cpp87 ret->replace_with(new(ctx) ir_assignment(lhs, ret->value, NULL)); in replace_return_with_assignment()
150 ir_assignment *assign; in generate_inline()
152 assign = new(ctx) ir_assignment(new(ctx) ir_dereference_variable(parameters[i]), in generate_inline()
207 ir_assignment *assign; in generate_inline()
209 assign = new(ctx) ir_assignment(param->clone(ctx, NULL)->as_rvalue(), in generate_inline()
Dopt_structure_splitting.cpp95 virtual ir_visitor_status visit_enter(ir_assignment *);
158 ir_structure_reference_visitor::visit_enter(ir_assignment *ir) in visit_enter()
199 virtual ir_visitor_status visit_leave(ir_assignment *);
268 ir_structure_splitting_visitor::visit_leave(ir_assignment *ir) in visit_leave()
297 ir->insert_before(new(mem_ctx) ir_assignment(new_lhs, in visit_leave()
Dir_variable_refcount.h42 ir_assignment *assign; /* An assignment to the variable, if any */
70 virtual ir_visitor_status visit_leave(ir_assignment *);
Dopt_copy_propagation.cpp89 virtual ir_visitor_status visit_leave(class ir_assignment *);
93 void add_copy(ir_assignment *ir);
139 ir_copy_propagation_visitor::visit_leave(ir_assignment *ir) in visit_leave()
312 ir_copy_propagation_visitor::add_copy(ir_assignment *ir) in add_copy()
Dir_expression_flattening.cpp73 ir_assignment *assign; in handle_rvalue()
84 assign = new(ctx) ir_assignment(new(ctx) ir_dereference_variable(var), in handle_rvalue()
Dopt_if_simplification.cpp43 ir_visitor_status visit_enter(ir_assignment *);
54 ir_if_simplification_visitor::visit_enter(ir_assignment *ir) in visit_enter()
Dopt_dead_code_local.cpp48 assignment_entry(ir_variable *lhs, ir_assignment *ir) in assignment_entry()
58 ir_assignment *ir;
150 process_assignment(void *ctx, ir_assignment *ir, exec_list *assignments) in process_assignment()
291 ir_assignment *ir_assign = ir->as_assignment(); in dead_code_local_basic_block()
Dlower_jumps.cpp190 …list.push_head(new(this->signature) ir_assignment(new(this->signature) ir_dereference_variable(exe… in get_execute_flag()
202 …this->loop->insert_before(new(this->signature) ir_assignment(new(this->signature) ir_dereference_v… in get_break_flag()
230 …this->signature->body.push_head(new(this->signature) ir_assignment(new(this->signature) ir_derefer… in get_return_flag()
317 new(ir) ir_assignment( in insert_lowered_return()
322 new(ir) ir_assignment( in insert_lowered_return()
350 return new(ctx) ir_assignment( in create_lowered_break()
677 …jumps[lower]->replace_with(new(ir) ir_assignment(new (ir) ir_dereference_variable(execute_flag), n… in visit()
Dir_rvalue_visitor.cpp108 ir_rvalue_base_visitor::rvalue_visit(ir_assignment *ir) in rvalue_visit()
177 ir_rvalue_visitor::visit_leave(ir_assignment *ir) in visit_leave()
231 ir_rvalue_enter_visitor::visit_enter(ir_assignment *ir) in visit_enter()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_fs_channel_expressions.cpp60 ir_visitor_status visit_leave(ir_assignment *);
63 void assign(ir_assignment *ir, int elem, ir_rvalue *val);
116 ir_channel_expressions_visitor::assign(ir_assignment *ir, int elem, ir_rvalue *val) in assign()
119 ir_assignment *assign; in assign()
128 assign = new(mem_ctx) ir_assignment(lhs, val, NULL, (1 << elem)); in assign()
133 ir_channel_expressions_visitor::visit_leave(ir_assignment *ir) in visit_leave()
160 ir_assignment *assign; in visit_leave()
171 assign = new(mem_ctx) ir_assignment(deref, in visit_leave()
Dbrw_fs_vector_splitting.cpp92 virtual ir_visitor_status visit_enter(ir_assignment *);
171 ir_vector_reference_visitor::visit_enter(ir_assignment *ir) in visit_enter()
209 virtual ir_visitor_status visit_leave(ir_assignment *);
258 ir_vector_splitting_visitor::visit_leave(ir_assignment *ir) in visit_leave()
294 ir->insert_before(new(mem_ctx) ir_assignment(new_lhs, in visit_leave()

123