Home
last modified time | relevance | path

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

12

/external/mesa3d/src/glsl/
Dopt_swizzle_swizzle.cpp42 virtual ir_visitor_status visit_enter(ir_swizzle *);
48 ir_swizzle_swizzle_visitor::visit_enter(ir_swizzle *ir) in visit_enter()
52 ir_swizzle *swiz2 = ir->val->as_swizzle(); in visit_enter()
Dlower_vec_index_to_cond_assign.cpp58 virtual ir_visitor_status visit_enter(ir_swizzle *);
75 ir_swizzle *swizzle; in convert_vec_index_to_cond_assign()
114 swizzle = new(base_ir) ir_swizzle(orig_deref->array->clone(mem_ctx, NULL), in convert_vec_index_to_cond_assign()
139 ir_vec_index_to_cond_assign_visitor::visit_enter(ir_swizzle *ir) in visit_enter()
203 swizzle = new(ir) ir_swizzle(orig_deref->array->clone(mem_ctx, NULL), in visit_leave()
Dlower_vec_index_to_swizzle.cpp51 virtual ir_visitor_status visit_enter(ir_swizzle *);
79 return new(ctx) ir_swizzle(deref->array, in convert_vec_index_to_swizzle()
96 ir_vec_index_to_swizzle_visitor::visit_enter(ir_swizzle *ir) in visit_enter()
Dir.cpp77 ir_swizzle *swiz = lhs->as_swizzle(); in set_lhs()
103 this->rhs = new(mem_ctx) ir_swizzle(this->rhs, rhs_swiz); in set_lhs()
117 this->rhs = new(mem_ctx) ir_swizzle(this->rhs, rhs_swiz); in set_lhs()
1109 ir_swizzle::init_mask(const unsigned *comp, unsigned count) in init_mask()
1150 ir_swizzle::ir_swizzle(ir_rvalue *val, unsigned x, unsigned y, unsigned z, in ir_swizzle() function in ir_swizzle
1159 ir_swizzle::ir_swizzle(ir_rvalue *val, const unsigned *comp, in ir_swizzle() function in ir_swizzle
1167 ir_swizzle::ir_swizzle(ir_rvalue *val, ir_swizzle_mask mask) in ir_swizzle() function in ir_swizzle
1181 ir_swizzle *
1182 ir_swizzle::create(ir_rvalue *val, const char *str, unsigned vector_length) in create()
1250 return new(ctx) ir_swizzle(val, swiz_idx[0], swiz_idx[1], swiz_idx[2], in create()
[all …]
Dir_visitor.h52 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.h123 virtual class ir_swizzle * as_swizzle() { return NULL; } in as_swizzle()
1265 class ir_swizzle : public ir_rvalue {
1267 ir_swizzle(ir_rvalue *, unsigned x, unsigned y, unsigned z, unsigned w,
1270 ir_swizzle(ir_rvalue *val, const unsigned *components, unsigned count);
1272 ir_swizzle(ir_rvalue *val, ir_swizzle_mask mask);
1274 virtual ir_swizzle *clone(void *mem_ctx, struct hash_table *) const;
1278 virtual ir_swizzle *as_swizzle() in as_swizzle()
1286 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 *);
Dir_rvalue_visitor.h43 virtual ir_visitor_status visit_leave(ir_swizzle *);
Dir_hierarchical_visitor.cpp152 ir_hierarchical_visitor::visit_enter(ir_swizzle *ir) in visit_enter()
161 ir_hierarchical_visitor::visit_leave(ir_swizzle *ir) in visit_leave()
Dopt_noop_swizzle.cpp55 ir_swizzle *swiz = (*rvalue)->as_swizzle(); in handle_rvalue()
Dir_print_visitor.h65 virtual void visit(ir_swizzle *);
Dast_function.cpp311 return new(ctx) ir_swizzle(src, component, 0, 0, 0, 1); in dereference_component()
510 ir_rvalue *rhs = new(ctx) ir_swizzle(first_param, 0, 0, 0, 0, in emit_inline_vector_constructor()
607 new(ctx) ir_swizzle(param, 0, 1, 2, 3, rhs_components); in emit_inline_vector_constructor()
651 src = new(mem_ctx) ir_swizzle(src, in assign_to_matrix_column()
748 ir_rvalue *const rhs = new(ctx) ir_swizzle(rhs_ref, rhs_swiz[i], in emit_inline_matrix_constructor()
760 ir_rvalue *const rhs = new(ctx) ir_swizzle(rhs_ref, 1, 1, 1, 1, in emit_inline_matrix_constructor()
857 rhs = new(ctx) ir_swizzle(rhs_col, swiz, last_row); in emit_inline_matrix_constructor()
Dir_clone.cpp69 ir_swizzle *
70 ir_swizzle::clone(void *mem_ctx, struct hash_table *ht) const in clone()
72 return new(mem_ctx) ir_swizzle(this->val->clone(mem_ctx, ht), this->mask); in clone()
Dopt_tree_grafting.cpp76 virtual ir_visitor_status visit_enter(class ir_swizzle *);
235 ir_tree_grafting_visitor::visit_enter(ir_swizzle *ir) in visit_enter()
Dlower_variable_index_to_cond_assign.cpp121 broadcast_index = new(this->mem_ctx) ir_swizzle(broadcast_index, m); in linear_sequence()
163 new(this->mem_ctx) ir_swizzle(cond_deref, j, 0, 0, 0, 1); in linear_sequence()
Dir_rvalue_visitor.cpp77 ir_rvalue_visitor::visit_leave(ir_swizzle *ir) in visit_leave()
Dopt_function_inlining.cpp60 virtual ir_visitor_status visit_enter(ir_swizzle *);
277 ir_function_inlining_visitor::visit_enter(ir_swizzle *ir) in visit_enter()
Dlower_vector.cpp103 op = ((ir_swizzle *) op)->val; in is_extended_swizzle()
Dlower_mat_op_to_vec.cpp113 return new(mem_ctx) ir_swizzle(deref, row, 0, 0, 0, 1); in get_element()
232 result = new(mem_ctx) ir_swizzle(result, i, 0, 0, 0, 1); in do_mul_vec_mat()
Dir_validate.cpp70 virtual ir_visitor_status visit_leave(ir_swizzle *ir);
428 ir_validate::visit_leave(ir_swizzle *ir) in visit_leave()
Dir_reader.cpp61 static ir_swizzle *read_swizzle(_mesa_glsl_parse_state *, s_list *);
781 static ir_swizzle *
806 ir_swizzle *ir = ir_swizzle::create(rvalue, swiz->value(), in read_swizzle()
Dir_hv_accept.cpp220 ir_swizzle::accept(ir_hierarchical_visitor *v) in accept()
Dopt_algebraic.cpp170 return new(mem_ctx) ir_swizzle(operand, 0, 0, 0, 0, in swizzle_if_required()
Dopt_constant_propagation.cpp129 ir_swizzle *swiz = NULL; in handle_rvalue()

12