Home
last modified time | relevance | path

Searched refs:ir_swizzle (Results 1 – 25 of 35) sorted by relevance

12

/third_party/mesa3d/src/compiler/glsl/
Dir_builder.h215 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 …]
Dir_builder.cpp73 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 …]
Dir_rvalue_visitor.h46 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 *);
Dhir_field_selection.cpp60 ir_swizzle *swiz = ir_swizzle::create(op, in _mesa_ast_field_selection_to_hir()
Dir_builder_print_visitor.cpp60 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()
Dir_rvalue_visitor.cpp89 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()
Dir_visitor.h53 virtual void visit(class ir_swizzle *) = 0;
80 virtual void visit(class ir_swizzle *) {} in visit() argument
Dlower_vec_index_to_cond_assign.cpp65 virtual ir_visitor_status visit_enter(ir_swizzle *);
123 ir_vec_index_to_cond_assign_visitor::visit_enter(ir_swizzle *ir) in visit_enter()
Dopt_copy_propagation_elements.cpp298 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()
Dir_hierarchical_visitor.h122 virtual ir_visitor_status visit_enter(class ir_swizzle *);
123 virtual ir_visitor_status visit_leave(class ir_swizzle *);
Dopt_algebraic.cpp196 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()
Dir_equals.cpp105 ir_swizzle::equals(const ir_instruction *ir, in equals()
108 const ir_swizzle *other = ir->as_swizzle(); in equals()
Dir.cpp78 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 …]
Dir_clone.cpp77 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()
Dlower_vec_index_to_swizzle.cpp91 *rv = new(mem_ctx) ir_swizzle(expr->operands[0], i, 0, 0, 0, 1); in handle_rvalue()
Dopt_dead_code_local.cpp103 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()
Dir_hierarchical_visitor.cpp176 ir_hierarchical_visitor::visit_enter(ir_swizzle *ir) in visit_enter()
185 ir_hierarchical_visitor::visit_leave(ir_swizzle *ir) in visit_leave()
Dir_print_visitor.h57 virtual void visit(ir_swizzle *);
Dopt_tree_grafting.cpp78 virtual ir_visitor_status visit_enter(class ir_swizzle *);
255 ir_tree_grafting_visitor::visit_enter(ir_swizzle *ir) in visit_enter()
Dir.h1996 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);
Dopt_function_inlining.cpp60 virtual ir_visitor_status visit_enter(ir_swizzle *);
316 ir_function_inlining_visitor::visit_enter(ir_swizzle *ir) in visit_enter()
Dopt_constant_folding.cpp84 ir_swizzle *swiz = (*rvalue)->as_swizzle(); in ir_constant_fold()
Dlower_mat_op_to_vec.cpp108 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()
Dast_function.cpp263 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()
Dlower_vector_derefs.cpp161 ir->set_lhs(new(mem_ctx) ir_swizzle(new_lhs, component, 1)); in visit_enter()

12