Home
last modified time | relevance | path

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

12

/external/mesa3d/src/glsl/
Dir_builder.h97 ir_swizzle *swizzle_for_size(operand a, int components);
99 ir_swizzle *swizzle_xxxx(operand a);
100 ir_swizzle *swizzle_yyyy(operand a);
101 ir_swizzle *swizzle_zzzz(operand a);
102 ir_swizzle *swizzle_wwww(operand a);
103 ir_swizzle *swizzle_x(operand a);
104 ir_swizzle *swizzle_y(operand a);
105 ir_swizzle *swizzle_z(operand a);
106 ir_swizzle *swizzle_w(operand a);
107 ir_swizzle *swizzle_xy(operand a);
[all …]
Dir_builder.cpp66 ir_swizzle *
71 return new(mem_ctx) ir_swizzle(a.val, in swizzle()
79 ir_swizzle *
91 return new(mem_ctx) ir_swizzle(a.val, s, components); in swizzle_for_size()
94 ir_swizzle *
100 ir_swizzle *
106 ir_swizzle *
112 ir_swizzle *
118 ir_swizzle *
124 ir_swizzle *
[all …]
Dlower_vec_index_to_cond_assign.cpp58 virtual ir_visitor_status visit_enter(ir_swizzle *);
114 new(base_ir) ir_swizzle(cond_deref->clone(ir, NULL), i, 0, 0, 0, 1); in convert_vec_index_to_cond_assign()
120 new(base_ir) ir_swizzle(orig_deref->array->clone(mem_ctx, NULL), in convert_vec_index_to_cond_assign()
150 ir_vec_index_to_cond_assign_visitor::visit_enter(ir_swizzle *ir) in visit_enter()
214 new(ir) ir_swizzle(cond_deref->clone(ir, NULL), i, 0, 0, 0, 1); in visit_leave()
221 new(ir) ir_swizzle(orig_deref->array->clone(mem_ctx, NULL), in visit_leave()
Dopt_swizzle_swizzle.cpp44 virtual ir_visitor_status visit_enter(ir_swizzle *);
52 ir_swizzle_swizzle_visitor::visit_enter(ir_swizzle *ir) in visit_enter()
56 ir_swizzle *swiz2 = ir->val->as_swizzle(); in visit_enter()
Dir_rvalue_visitor.h42 ir_visitor_status rvalue_visit(ir_swizzle *);
58 virtual ir_visitor_status visit_leave(ir_swizzle *);
72 virtual ir_visitor_status visit_enter(ir_swizzle *);
Dlower_vec_index_to_swizzle.cpp52 virtual ir_visitor_status visit_enter(ir_swizzle *);
98 return new(ctx) ir_swizzle(deref->array, i, 0, 0, 0, 1); in convert_vec_index_to_swizzle()
114 ir_vec_index_to_swizzle_visitor::visit_enter(ir_swizzle *ir) in visit_enter()
Dir.cpp82 ir_swizzle *swiz = lhs->as_swizzle(); in set_lhs()
108 this->rhs = new(mem_ctx) ir_swizzle(this->rhs, rhs_swiz); in set_lhs()
122 this->rhs = new(mem_ctx) ir_swizzle(this->rhs, rhs_swiz); in set_lhs()
1327 ir_swizzle::init_mask(const unsigned *comp, unsigned count) in init_mask()
1368 ir_swizzle::ir_swizzle(ir_rvalue *val, unsigned x, unsigned y, unsigned z, in ir_swizzle() function in ir_swizzle
1377 ir_swizzle::ir_swizzle(ir_rvalue *val, const unsigned *comp, in ir_swizzle() function in ir_swizzle
1385 ir_swizzle::ir_swizzle(ir_rvalue *val, ir_swizzle_mask mask) in ir_swizzle() function in ir_swizzle
1399 ir_swizzle *
1400 ir_swizzle::create(ir_rvalue *val, const char *str, unsigned vector_length) in create()
1468 return new(ctx) ir_swizzle(val, swiz_idx[0], swiz_idx[1], swiz_idx[2], in create()
[all …]
Dir_rvalue_visitor.cpp79 ir_rvalue_base_visitor::rvalue_visit(ir_swizzle *ir) in rvalue_visit()
159 ir_rvalue_visitor::visit_leave(ir_swizzle *ir) in visit_leave()
213 ir_rvalue_enter_visitor::visit_enter(ir_swizzle *ir) in visit_enter()
Dopt_copy_propagation_elements.cpp114 virtual ir_visitor_status visit_leave(class ir_swizzle *);
189 ir_copy_propagation_elements_visitor::visit_leave(ir_swizzle *ir) in visit_leave()
216 ir_swizzle *swizzle = (*ir)->as_swizzle(); in handle_rvalue()
277 *ir = new(shader_mem_ctx) ir_swizzle(deref_var, in handle_rvalue()
445 ir_swizzle *swiz = ir->rhs->as_swizzle(); in add_copy()
Dir_visitor.h53 virtual void visit(class ir_swizzle *) = 0;
76 virtual void visit(class ir_swizzle *) {} in visit() argument
Dhir_field_selection.cpp51 ir_swizzle *swiz = ir_swizzle::create(op, in _mesa_ast_field_selection_to_hir()
Dir.h130 virtual class ir_swizzle * as_swizzle() { return NULL; } in as_swizzle()
1452 class ir_swizzle : public ir_rvalue {
1454 ir_swizzle(ir_rvalue *, unsigned x, unsigned y, unsigned z, unsigned w,
1457 ir_swizzle(ir_rvalue *val, const unsigned *components, unsigned count);
1459 ir_swizzle(ir_rvalue *val, ir_swizzle_mask mask);
1461 virtual ir_swizzle *clone(void *mem_ctx, struct hash_table *) const;
1465 virtual ir_swizzle *as_swizzle() in as_swizzle()
1473 static ir_swizzle *create(ir_rvalue *, const char *, unsigned vector_length);
Dir_hierarchical_visitor.h121 virtual ir_visitor_status visit_enter(class ir_swizzle *);
122 virtual ir_visitor_status visit_leave(class ir_swizzle *);
Dopt_algebraic.cpp180 return new(mem_ctx) ir_swizzle(operand, 0, 0, 0, 0, in swizzle_if_required()
330 return new(mem_ctx) ir_swizzle(ir->operands[1], component, 0, 0, 0, 1); in handle_expression()
339 return new(mem_ctx) ir_swizzle(ir->operands[0], component, 0, 0, 0, 1); in handle_expression()
Dir_hierarchical_visitor.cpp161 ir_hierarchical_visitor::visit_enter(ir_swizzle *ir) in visit_enter()
170 ir_hierarchical_visitor::visit_leave(ir_swizzle *ir) in visit_leave()
Dopt_noop_swizzle.cpp59 ir_swizzle *swiz = (*rvalue)->as_swizzle(); in handle_rvalue()
Dir_print_visitor.h63 virtual void visit(ir_swizzle *);
Dir_clone.cpp91 ir_swizzle *
92 ir_swizzle::clone(void *mem_ctx, struct hash_table *ht) const in clone()
94 return new(mem_ctx) ir_swizzle(this->val->clone(mem_ctx, ht), this->mask); in clone()
Dopt_dead_code_local.cpp100 virtual ir_visitor_status visit(ir_swizzle *ir) in visit()
227 entry->ir->rhs = new(mem_ctx) ir_swizzle(entry->ir->rhs, in process_assignment()
Dast_function.cpp532 return new(ctx) ir_swizzle(src, component, 0, 0, 0, 1); in dereference_component()
739 ir_rvalue *rhs = new(ctx) ir_swizzle(first_param, 0, 0, 0, 0, in emit_inline_vector_constructor()
836 new(ctx) ir_swizzle(param, 0, 1, 2, 3, rhs_components); in emit_inline_vector_constructor()
880 src = new(mem_ctx) ir_swizzle(src, in assign_to_matrix_column()
977 ir_rvalue *const rhs = new(ctx) ir_swizzle(rhs_ref, rhs_swiz[i], in emit_inline_matrix_constructor()
989 ir_rvalue *const rhs = new(ctx) ir_swizzle(rhs_ref, 1, 1, 1, 1, in emit_inline_matrix_constructor()
1086 rhs = new(ctx) ir_swizzle(rhs_col, swiz, last_row); in emit_inline_matrix_constructor()
Dopt_tree_grafting.cpp78 virtual ir_visitor_status visit_enter(class ir_swizzle *);
257 ir_tree_grafting_visitor::visit_enter(ir_swizzle *ir) in visit_enter()
Dopt_function_inlining.cpp60 virtual ir_visitor_status visit_enter(ir_swizzle *);
250 ir_function_inlining_visitor::visit_enter(ir_swizzle *ir) in visit_enter()
Dlower_mat_op_to_vec.cpp104 return new(mem_ctx) ir_swizzle(val, row, 0, 0, 0, 1); in get_element()
194 column_result = new(mem_ctx) ir_swizzle(column_result, i, 0, 0, 0, 1); in do_mul_vec_mat()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_cubemap_normalize.cpp68 ir_rvalue *swiz0 = new(mem_ctx) ir_swizzle(deref, 0, 0, 0, 0, 1); in visit_leave()
70 ir_rvalue *swiz1 = new(mem_ctx) ir_swizzle(deref, 1, 0, 0, 0, 1); in visit_leave()
72 ir_rvalue *swiz2 = new(mem_ctx) ir_swizzle(deref, 2, 0, 0, 0, 1); in visit_leave()
Dbrw_fs_vector_splitting.cpp91 virtual ir_visitor_status visit_enter(ir_swizzle *);
161 ir_vector_reference_visitor::visit_enter(ir_swizzle *ir) in visit_enter()
241 ir_swizzle *swiz = (*rvalue)->as_swizzle(); in handle_rvalue()
290 new_rhs = new(mem_ctx) ir_swizzle(ir->rhs->clone(mem_ctx, NULL), in visit_leave()

12