Home
last modified time | relevance | path

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

12

/external/mesa3d/src/compiler/glsl/
Dir_builder.h214 ir_swizzle *swizzle(operand a, int swizzle, int components);
218 ir_swizzle *swizzle_for_size(operand a, unsigned components);
220 ir_swizzle *swizzle_xxxx(operand a);
221 ir_swizzle *swizzle_yyyy(operand a);
222 ir_swizzle *swizzle_zzzz(operand a);
223 ir_swizzle *swizzle_wwww(operand a);
224 ir_swizzle *swizzle_x(operand a);
225 ir_swizzle *swizzle_y(operand a);
226 ir_swizzle *swizzle_z(operand a);
227 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 *);
Dir_builder_print_visitor.cpp59 virtual ir_visitor_status visit_leave(class ir_swizzle *);
69 void print_without_declaration(const ir_swizzle *ir);
112 const ir_swizzle *swiz = (ir_swizzle *) ir; in is_simple_operand()
191 print_without_declaration((ir_swizzle *) ir); in print_without_declaration()
435 ir_builder_print_visitor::print_without_declaration(const ir_swizzle *ir) in print_without_declaration()
466 ir_builder_print_visitor::visit_leave(ir_swizzle *ir) in visit_leave()
Dhir_field_selection.cpp60 ir_swizzle *swiz = ir_swizzle::create(op, in _mesa_ast_field_selection_to_hir()
Dopt_copy_propagation_elements.cpp160 virtual ir_visitor_status visit_leave(class ir_swizzle *);
247 ir_copy_propagation_elements_visitor::visit_leave(ir_swizzle *) in visit_leave() argument
275 ir_swizzle *swizzle = (*ir)->as_swizzle(); in handle_rvalue()
345 *ir = new(shader_mem_ctx) ir_swizzle(deref_var, in handle_rvalue()
558 ir_swizzle *swiz = ir->rhs->as_swizzle(); in add_copy()
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()
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;
79 virtual void visit(class ir_swizzle *) {} in visit() argument
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()
1504 ir_swizzle::init_mask(const unsigned *comp, unsigned count) in init_mask()
1545 ir_swizzle::ir_swizzle(ir_rvalue *val, unsigned x, unsigned y, unsigned z, in ir_swizzle() function in ir_swizzle
1553 ir_swizzle::ir_swizzle(ir_rvalue *val, const unsigned *comp, in ir_swizzle() function in ir_swizzle
1560 ir_swizzle::ir_swizzle(ir_rvalue *val, ir_swizzle_mask mask) in ir_swizzle() function in ir_swizzle
1572 ir_swizzle *
1573 ir_swizzle::create(ir_rvalue *val, const char *str, unsigned vector_length) in create()
1641 return new(ctx) ir_swizzle(val, swiz_idx[0], swiz_idx[1], swiz_idx[2], in create()
[all …]
Dlower_packed_varyings.cpp579 ir_swizzle *left_swizzle = new(this->mem_ctx) in lower_rvalue()
580 ir_swizzle(rvalue, left_swizzle_values, left_components); in lower_rvalue()
581 ir_swizzle *right_swizzle = new(this->mem_ctx) in lower_rvalue()
582 ir_swizzle(rvalue->clone(this->mem_ctx, NULL), right_swizzle_values, in lower_rvalue()
618 ir_swizzle *swizzle = new(this->mem_ctx) in lower_rvalue()
619 ir_swizzle(packed_deref, swizzle_values, components); in lower_rvalue()
Dopt_algebraic.cpp195 ir_swizzle *x = expr0->operands[0]->as_swizzle(); in try_replace_with_dot()
196 ir_swizzle *y = expr0->operands[1]->as_swizzle(); in try_replace_with_dot()
197 ir_swizzle *z = expr1->operands[0]->as_swizzle(); in try_replace_with_dot()
198 ir_swizzle *w = expr1->operands[1]->as_swizzle(); in try_replace_with_dot()
307 return new(mem_ctx) ir_swizzle(operand, 0, 0, 0, 0, in swizzle_if_required()
690 new(mem_ctx) ir_swizzle(ir->operands[0], in handle_expression()
692 new(mem_ctx) ir_swizzle(ir->operands[1], in handle_expression()
Dir_hierarchical_visitor.h122 virtual ir_visitor_status visit_enter(class ir_swizzle *);
123 virtual ir_visitor_status visit_leave(class ir_swizzle *);
Dir_equals.cpp105 ir_swizzle::equals(const ir_instruction *ir, in equals()
108 const ir_swizzle *other = ir->as_swizzle(); in equals()
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()
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()
Dir_hierarchical_visitor.cpp182 ir_hierarchical_visitor::visit_enter(ir_swizzle *ir) in visit_enter()
191 ir_hierarchical_visitor::visit_leave(ir_swizzle *ir) in visit_leave()
Dopt_dead_code_local.cpp101 virtual ir_visitor_status visit(ir_swizzle *ir) in visit()
261 entry->ir->rhs = new(mem_ctx) ir_swizzle(entry->ir->rhs, in process_assignment()
Dir.h1935 class ir_swizzle : public ir_rvalue {
1937 ir_swizzle(ir_rvalue *, unsigned x, unsigned y, unsigned z, unsigned w,
1940 ir_swizzle(ir_rvalue *val, const unsigned *components, unsigned count);
1942 ir_swizzle(ir_rvalue *val, ir_swizzle_mask mask);
1944 virtual ir_swizzle *clone(void *mem_ctx, struct hash_table *) const;
1952 static ir_swizzle *create(ir_rvalue *, const char *, unsigned vector_length);
Dir_print_visitor.h57 virtual void visit(ir_swizzle *);
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 *);
309 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()

12