Home
last modified time | relevance | path

Searched refs:write_mask (Results 1 – 10 of 10) sorted by relevance

/external/mesa3d/src/glsl/
Dopt_constant_propagation.cpp47 acp_entry(ir_variable *var, unsigned write_mask, ir_constant *constant) in acp_entry() argument
52 this->write_mask = write_mask; in acp_entry()
58 unsigned write_mask; member in acp_entry
65 kill_entry(ir_variable *var, unsigned write_mask) in kill_entry() argument
69 this->write_mask = write_mask; in kill_entry()
73 unsigned write_mask; member in kill_entry
98 void kill(ir_variable *ir, unsigned write_mask);
162 if (entry->var == deref->var && entry->write_mask & (1 << channel)) { in handle_rvalue()
175 if (found->write_mask & (1 << j)) in handle_rvalue()
232 kill(ir->lhs->variable_referenced(), ir->write_mask); in visit_leave()
[all …]
Dlower_vector.cpp147 unsigned write_mask; in handle_rvalue() local
160 write_mask = 0; in handle_rvalue()
175 write_mask |= (1U << i); in handle_rvalue()
179 assert((write_mask == 0) == (assigned == 0)); in handle_rvalue()
190 new(mem_ctx) ir_assignment(lhs, c, NULL, write_mask); in handle_rvalue()
Dir.cpp82 unsigned write_mask = 0; in set_lhs() local
96 write_mask |= (((this->write_mask >> i) & 1) << c); in set_lhs()
100 this->write_mask = write_mask; in set_lhs()
114 if (write_mask & (1 << i)) in set_lhs()
139 if (mask != this->write_mask) in whole_variable_written()
150 ir_rvalue *condition, unsigned write_mask) in ir_assignment() argument
156 this->write_mask = write_mask; in ir_assignment()
161 if (write_mask & (1 << i)) in ir_assignment()
184 this->write_mask = (1U << rhs->type->vector_elements) - 1; in ir_assignment()
186 this->write_mask = 1; in ir_assignment()
[all …]
Dast_function.cpp599 const unsigned write_mask = ((1U << rhs_components) - 1) in emit_inline_vector_constructor() local
610 new(ctx) ir_assignment(lhs, rhs, NULL, write_mask); in emit_inline_vector_constructor()
659 const unsigned write_mask = ((1U << count) - 1) << row_base; in assign_to_matrix_column() local
661 return new(mem_ctx) ir_assignment(column_ref, src, NULL, write_mask); in assign_to_matrix_column()
839 const unsigned write_mask = (1U << last_row) - 1; in emit_inline_matrix_constructor() local
863 new(ctx) ir_assignment(lhs, rhs, NULL, write_mask); in emit_inline_matrix_constructor()
Dlower_mat_op_to_vec.cpp418 assert(column_assign->write_mask != 0); in visit_leave()
449 assert(column_assign->write_mask != 0); in visit_leave()
Dir_validate.cpp464 if (ir->write_mask == 0) { in visit_enter()
473 if (ir->write_mask & (1 << i)) in visit_enter()
Dir.h638 unsigned write_mask);
709 unsigned write_mask:4; variable
Dir_print_visitor.cpp292 if ((ir->write_mask & (1 << i)) != 0) { in visit()
Dir_clone.cpp253 this->write_mask); in clone()
Dir_to_llvm.cpp1277 if (!(ir->write_mask & mask)) in visit()
1288 if (width > 1 && (ir->write_mask & mask) != mask) { in visit()
1295 if (ir->write_mask & (1 << i)) in visit()