Home
last modified time | relevance | path

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

12

/external/mesa3d/src/compiler/glsl/
Dir_builder.h217 ir_swizzle *swizzle(operand a, int swizzle, int components);
221 ir_swizzle *swizzle_for_size(operand a, unsigned components);
223 ir_swizzle *swizzle_xxxx(operand a);
224 ir_swizzle *swizzle_yyyy(operand a);
225 ir_swizzle *swizzle_zzzz(operand a);
226 ir_swizzle *swizzle_wwww(operand a);
227 ir_swizzle *swizzle_x(operand a);
228 ir_swizzle *swizzle_y(operand a);
229 ir_swizzle *swizzle_z(operand a);
230 ir_swizzle *swizzle_w(operand a);
[all …]
Dir_builder.cpp86 ir_swizzle *
91 return new(mem_ctx) ir_swizzle(a.val, in swizzle()
99 ir_swizzle *
111 return new(mem_ctx) ir_swizzle(a.val, s, components); in swizzle_for_size()
114 ir_swizzle *
120 ir_swizzle *
126 ir_swizzle *
132 ir_swizzle *
138 ir_swizzle *
144 ir_swizzle *
[all …]
Dopt_vectorize.cpp84 virtual ir_visitor_status visit_enter(ir_swizzle *);
139 ir_swizzle *swz = (ir_swizzle *)ir; in rewrite_swizzle()
156 expr->operands[i] = new(ir) ir_swizzle(rval, 0, 0, 0, 0, in rewrite_swizzle()
239 const ir_swizzle *swz) in write_mask_matches_swizzle()
283 ir_vectorize_visitor::visit_enter(ir_swizzle *ir) in visit_enter()
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()
Dopt_swizzle.cpp61 ir_swizzle *swiz = (*rvalue)->as_swizzle(); in handle_rvalue()
66 ir_swizzle *swiz2; in handle_rvalue()
Dir_visitor.h53 virtual void visit(class ir_swizzle *) = 0;
80 virtual void visit(class ir_swizzle *) {} in visit() argument
Dir_rvalue_visitor.cpp88 ir_rvalue_base_visitor::rvalue_visit(ir_swizzle *ir) in rvalue_visit()
187 ir_rvalue_visitor::visit_leave(ir_swizzle *ir) in visit_leave()
259 ir_rvalue_enter_visitor::visit_enter(ir_swizzle *ir) in visit_enter()
Dlower_packed_varyings.cpp584 ir_swizzle *right_swizzle = new(this->mem_ctx) in lower_rvalue()
585 ir_swizzle(rvalue->clone(this->mem_ctx, NULL), right_swizzle_values, in lower_rvalue()
592 ir_swizzle *left_swizzle = new(this->mem_ctx) in lower_rvalue()
593 ir_swizzle(rvalue, left_swizzle_values, left_components); in lower_rvalue()
623 ir_swizzle *swizzle = new(this->mem_ctx) in lower_rvalue()
624 ir_swizzle(packed_deref, swizzle_values, components); in lower_rvalue()
Dir_equals.cpp105 ir_swizzle::equals(const ir_instruction *ir, in equals()
108 const ir_swizzle *other = ir->as_swizzle(); in equals()
Dir_hierarchical_visitor.h122 virtual ir_visitor_status visit_enter(class ir_swizzle *);
123 virtual ir_visitor_status visit_leave(class ir_swizzle *);
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()
690 ir_swizzle *swiz = ir->rhs->as_swizzle(); in add_copy()
Dlower_vec_index_to_cond_assign.cpp69 virtual ir_visitor_status visit_enter(ir_swizzle *);
179 ir_vec_index_to_cond_assign_visitor::visit_enter(ir_swizzle *ir) in visit_enter()
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.cpp77 ir_swizzle *swiz = lhs->as_swizzle(); in set_lhs()
104 this->rhs = new(mem_ctx) ir_swizzle(this->rhs, rhs_swiz); in set_lhs()
119 this->rhs = new(mem_ctx) ir_swizzle(this->rhs, rhs_swiz); in set_lhs()
1832 ir_swizzle::init_mask(const unsigned *comp, unsigned count) in init_mask()
1873 ir_swizzle::ir_swizzle(ir_rvalue *val, unsigned x, unsigned y, unsigned z, in ir_swizzle() function in ir_swizzle
1881 ir_swizzle::ir_swizzle(ir_rvalue *val, const unsigned *comp, in ir_swizzle() function in ir_swizzle
1888 ir_swizzle::ir_swizzle(ir_rvalue *val, ir_swizzle_mask mask) in ir_swizzle() function in ir_swizzle
1900 ir_swizzle *
1901 ir_swizzle::create(ir_rvalue *val, const char *str, unsigned vector_length) in create()
1969 return new(ctx) ir_swizzle(val, swiz_idx[0], swiz_idx[1], swiz_idx[2], in create()
[all …]
Dlower_vec_index_to_swizzle.cpp91 *rv = new(mem_ctx) ir_swizzle(expr->operands[0], i, 0, 0, 0, 1); in handle_rvalue()
Dir_print_visitor.h57 virtual void visit(ir_swizzle *);
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()
Dopt_dead_code_local.cpp103 virtual ir_visitor_status visit(ir_swizzle *ir) in visit()
263 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()
Dopt_tree_grafting.cpp78 virtual ir_visitor_status visit_enter(class ir_swizzle *);
256 ir_tree_grafting_visitor::visit_enter(ir_swizzle *ir) in visit_enter()
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()
Dlower_buffer_access.cpp430 ir_swizzle *deref_swizzle = (ir_swizzle *) deref; in setup_buffer_access()
Dir.h1992 class ir_swizzle : public ir_rvalue {
1994 ir_swizzle(ir_rvalue *, unsigned x, unsigned y, unsigned z, unsigned w,
1997 ir_swizzle(ir_rvalue *val, const unsigned *components, unsigned count);
1999 ir_swizzle(ir_rvalue *val, ir_swizzle_mask mask);
2001 virtual ir_swizzle *clone(void *mem_ctx, struct hash_table *) const;
2009 static ir_swizzle *create(ir_rvalue *, const char *, unsigned vector_length);

12