/external/mesa3d/src/compiler/glsl/ |
D | lower_mat_op_to_vec.cpp | 48 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 …]
|
D | lower_tess_level.cpp | 67 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()
|
D | opt_function_inlining.cpp | 92 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()
|
D | lower_distance.cpp | 90 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()
|
D | propagate_invariance.cpp | 62 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
|
D | lower_discard.cpp | 159 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()
|
D | opt_vectorize.cpp | 83 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()
|
D | lower_discard_flow.cpp | 100 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()
|
D | opt_array_splitting.cpp | 108 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()
|
D | lower_if_to_cond_assign.cpp | 179 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()
|
D | opt_constant_folding.cpp | 54 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()
|
D | opt_tree_grafting.cpp | 63 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()
|
D | loop_analysis.cpp | 33 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()
|
D | lower_vector.cpp | 193 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()
|
D | ir_rvalue_visitor.h | 38 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 *);
|
D | opt_structure_splitting.cpp | 90 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()
|
D | ir_variable_refcount.h | 41 ir_assignment *assign; 76 virtual ir_visitor_status visit_leave(ir_assignment *);
|
D | ast_function.cpp | 404 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 …]
|
D | ir_expression_flattening.cpp | 69 ir_assignment *assign; in handle_rvalue() 80 assign = new(ctx) ir_assignment(new(ctx) ir_dereference_variable(var), ir); in handle_rvalue()
|
D | opt_flatten_nested_if_blocks.cpp | 57 ir_visitor_status visit_enter(ir_assignment *); 68 nested_if_flattener::visit_enter(ir_assignment *ir) in visit_enter()
|
D | opt_dead_code_local.cpp | 51 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()
|
D | opt_copy_propagation.cpp | 68 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()
|
D | lower_jumps.cpp | 192 …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()
|
D | opt_if_simplification.cpp | 44 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/ |
D | opt_add_neg_to_sub_test.cpp | 88 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()
|