Searched refs:write_mask (Results 1 – 10 of 10) sorted by relevance
/external/mesa3d/src/glsl/ |
D | opt_constant_propagation.cpp | 47 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 …]
|
D | lower_vector.cpp | 147 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()
|
D | ir.cpp | 82 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 …]
|
D | ast_function.cpp | 599 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()
|
D | lower_mat_op_to_vec.cpp | 418 assert(column_assign->write_mask != 0); in visit_leave() 449 assert(column_assign->write_mask != 0); in visit_leave()
|
D | ir_validate.cpp | 464 if (ir->write_mask == 0) { in visit_enter() 473 if (ir->write_mask & (1 << i)) in visit_enter()
|
D | ir.h | 638 unsigned write_mask); 709 unsigned write_mask:4; variable
|
D | ir_print_visitor.cpp | 292 if ((ir->write_mask & (1 << i)) != 0) { in visit()
|
D | ir_clone.cpp | 253 this->write_mask); in clone()
|
D | ir_to_llvm.cpp | 1277 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()
|