/third_party/mesa3d/src/compiler/glsl/ |
D | ir_builder.h | 215 ir_swizzle *swizzle(operand a, int swizzle, int components); 219 ir_swizzle *swizzle_for_size(operand a, unsigned components); 221 ir_swizzle *swizzle_xxxx(operand a); 222 ir_swizzle *swizzle_yyyy(operand a); 223 ir_swizzle *swizzle_zzzz(operand a); 224 ir_swizzle *swizzle_wwww(operand a); 225 ir_swizzle *swizzle_x(operand a); 226 ir_swizzle *swizzle_y(operand a); 227 ir_swizzle *swizzle_z(operand a); 228 ir_swizzle *swizzle_w(operand a); [all …]
|
D | ir_builder.cpp | 73 ir_swizzle * 78 return new(mem_ctx) ir_swizzle(a.val, in swizzle() 86 ir_swizzle * 98 return new(mem_ctx) ir_swizzle(a.val, s, components); in swizzle_for_size() 101 ir_swizzle * 107 ir_swizzle * 113 ir_swizzle * 119 ir_swizzle * 125 ir_swizzle * 131 ir_swizzle * [all …]
|
D | ir_rvalue_visitor.h | 46 ir_visitor_status rvalue_visit(ir_swizzle *); 65 virtual ir_visitor_status visit_leave(ir_swizzle *); 82 virtual ir_visitor_status visit_enter(ir_swizzle *);
|
D | hir_field_selection.cpp | 60 ir_swizzle *swiz = ir_swizzle::create(op, in _mesa_ast_field_selection_to_hir()
|
D | ir_builder_print_visitor.cpp | 60 virtual ir_visitor_status visit_leave(class ir_swizzle *); 72 void print_without_declaration(const ir_swizzle *ir); 115 const ir_swizzle *swiz = (ir_swizzle *) ir; in is_simple_operand() 193 print_without_declaration((ir_swizzle *) ir); in print_without_declaration() 437 ir_builder_print_visitor::print_without_declaration(const ir_swizzle *ir) in print_without_declaration() 470 ir_builder_print_visitor::visit_leave(ir_swizzle *ir) in visit_leave()
|
D | ir_rvalue_visitor.cpp | 89 ir_rvalue_base_visitor::rvalue_visit(ir_swizzle *ir) in rvalue_visit() 186 ir_rvalue_visitor::visit_leave(ir_swizzle *ir) in visit_leave() 258 ir_rvalue_enter_visitor::visit_enter(ir_swizzle *ir) in visit_enter()
|
D | ir_visitor.h | 53 virtual void visit(class ir_swizzle *) = 0; 80 virtual void visit(class ir_swizzle *) {} in visit() argument
|
D | lower_vec_index_to_cond_assign.cpp | 65 virtual ir_visitor_status visit_enter(ir_swizzle *); 123 ir_vec_index_to_cond_assign_visitor::visit_enter(ir_swizzle *ir) in visit_enter()
|
D | opt_copy_propagation_elements.cpp | 298 virtual ir_visitor_status visit_leave(class ir_swizzle *); 391 ir_copy_propagation_elements_visitor::visit_leave(ir_swizzle *) in visit_leave() argument 419 ir_swizzle *swizzle = (*ir)->as_swizzle(); in handle_rvalue() 488 *ir = new(shader_mem_ctx) ir_swizzle(deref_var, in handle_rvalue() 687 ir_swizzle *swiz = ir->rhs->as_swizzle(); in add_copy()
|
D | ir_hierarchical_visitor.h | 122 virtual ir_visitor_status visit_enter(class ir_swizzle *); 123 virtual ir_visitor_status visit_leave(class ir_swizzle *);
|
D | opt_algebraic.cpp | 196 ir_swizzle *x = expr0->operands[0]->as_swizzle(); in try_replace_with_dot() 197 ir_swizzle *y = expr0->operands[1]->as_swizzle(); in try_replace_with_dot() 198 ir_swizzle *z = expr1->operands[0]->as_swizzle(); in try_replace_with_dot() 199 ir_swizzle *w = expr1->operands[1]->as_swizzle(); in try_replace_with_dot() 308 return new(mem_ctx) ir_swizzle(operand, 0, 0, 0, 0, in swizzle_if_required() 704 new(mem_ctx) ir_swizzle(ir->operands[0], in handle_expression() 706 new(mem_ctx) ir_swizzle(ir->operands[1], in handle_expression()
|
D | ir_equals.cpp | 105 ir_swizzle::equals(const ir_instruction *ir, in equals() 108 const ir_swizzle *other = ir->as_swizzle(); in equals()
|
D | ir.cpp | 78 ir_swizzle *swiz = lhs->as_swizzle(); in set_lhs() 105 this->rhs = new(mem_ctx) ir_swizzle(this->rhs, rhs_swiz); in set_lhs() 120 this->rhs = new(mem_ctx) ir_swizzle(this->rhs, rhs_swiz); in set_lhs() 1833 ir_swizzle::init_mask(const unsigned *comp, unsigned count) in init_mask() 1874 ir_swizzle::ir_swizzle(ir_rvalue *val, unsigned x, unsigned y, unsigned z, in ir_swizzle() function in ir_swizzle 1882 ir_swizzle::ir_swizzle(ir_rvalue *val, const unsigned *comp, in ir_swizzle() function in ir_swizzle 1889 ir_swizzle::ir_swizzle(ir_rvalue *val, ir_swizzle_mask mask) in ir_swizzle() function in ir_swizzle 1901 ir_swizzle * 1902 ir_swizzle::create(ir_rvalue *val, const char *str, unsigned vector_length) in create() 1970 return new(ctx) ir_swizzle(val, swiz_idx[0], swiz_idx[1], swiz_idx[2], in create() [all …]
|
D | ir_clone.cpp | 77 ir_swizzle * 78 ir_swizzle::clone(void *mem_ctx, struct hash_table *ht) const in clone() 80 return new(mem_ctx) ir_swizzle(this->val->clone(mem_ctx, ht), this->mask); in clone()
|
D | lower_vec_index_to_swizzle.cpp | 91 *rv = new(mem_ctx) ir_swizzle(expr->operands[0], i, 0, 0, 0, 1); in handle_rvalue()
|
D | opt_dead_code_local.cpp | 103 virtual ir_visitor_status visit(ir_swizzle *ir) in visit() 257 entry->ir->rhs = new(mem_ctx) ir_swizzle(entry->ir->rhs, in process_assignment()
|
D | ir_hierarchical_visitor.cpp | 176 ir_hierarchical_visitor::visit_enter(ir_swizzle *ir) in visit_enter() 185 ir_hierarchical_visitor::visit_leave(ir_swizzle *ir) in visit_leave()
|
D | ir_print_visitor.h | 57 virtual void visit(ir_swizzle *);
|
D | opt_tree_grafting.cpp | 78 virtual ir_visitor_status visit_enter(class ir_swizzle *); 255 ir_tree_grafting_visitor::visit_enter(ir_swizzle *ir) in visit_enter()
|
D | ir.h | 1996 class ir_swizzle : public ir_rvalue { 1998 ir_swizzle(ir_rvalue *, unsigned x, unsigned y, unsigned z, unsigned w, 2001 ir_swizzle(ir_rvalue *val, const unsigned *components, unsigned count); 2003 ir_swizzle(ir_rvalue *val, ir_swizzle_mask mask); 2005 virtual ir_swizzle *clone(void *mem_ctx, struct hash_table *) const; 2013 static ir_swizzle *create(ir_rvalue *, const char *, unsigned vector_length);
|
D | opt_function_inlining.cpp | 60 virtual ir_visitor_status visit_enter(ir_swizzle *); 316 ir_function_inlining_visitor::visit_enter(ir_swizzle *ir) in visit_enter()
|
D | opt_constant_folding.cpp | 84 ir_swizzle *swiz = (*rvalue)->as_swizzle(); in ir_constant_fold()
|
D | lower_mat_op_to_vec.cpp | 108 return new(mem_ctx) ir_swizzle(val, row, 0, 0, 0, 1); in get_element() 198 column_result = new(mem_ctx) ir_swizzle(column_result, i, 0, 0, 0, 1); in do_mul_vec_mat()
|
D | ast_function.cpp | 263 val = ((ir_swizzle *)val)->val; in verify_parameter_modes() 1157 return new(ctx) ir_swizzle(src, component, 0, 0, 0, 1); in dereference_component() 1458 ir_rvalue *rhs = new(ctx) ir_swizzle(first_param, 0, 0, 0, 0, in emit_inline_vector_constructor() 1566 new(ctx) ir_swizzle(param, 0, 1, 2, 3, rhs_components); in emit_inline_vector_constructor() 1611 src = new(mem_ctx) ir_swizzle(src, in assign_to_matrix_column() 1712 ir_rvalue *const rhs = new(ctx) ir_swizzle(rhs_ref, rhs_swiz[i], in emit_inline_matrix_constructor() 1725 ir_rvalue *const rhs = new(ctx) ir_swizzle(rhs_ref, 1, 1, 1, 1, in emit_inline_matrix_constructor() 1831 rhs = new(ctx) ir_swizzle(rhs_col, swiz, last_row); in emit_inline_matrix_constructor()
|
D | lower_vector_derefs.cpp | 161 ir->set_lhs(new(mem_ctx) ir_swizzle(new_lhs, component, 1)); in visit_enter()
|