Home
last modified time | relevance | path

Searched refs:ir_dereference (Results 1 – 25 of 31) sorted by relevance

12

/third_party/mesa3d/src/compiler/glsl/
Dlower_mat_op_to_vec.cpp50 ir_dereference *get_column(ir_dereference *val, int col);
51 ir_rvalue *get_element(ir_dereference *val, int col, int row);
53 void do_mul_mat_mat(ir_dereference *result,
54 ir_dereference *a, ir_dereference *b);
55 void do_mul_mat_vec(ir_dereference *result,
56 ir_dereference *a, ir_dereference *b);
57 void do_mul_vec_mat(ir_dereference *result,
58 ir_dereference *a, ir_dereference *b);
59 void do_mul_mat_scalar(ir_dereference *result,
60 ir_dereference *a, ir_dereference *b);
[all …]
Dopt_function_inlining.cpp40 ir_dereference *repl);
86 ir_dereference *orig_deref = (ir_dereference *) data; in replace_return_with_assignment()
254 ir_dereference *deref = param->as_dereference(); in generate_inline()
347 ir_variable_replacement_visitor(ir_variable *orig, ir_dereference *repl) in ir_variable_replacement_visitor()
365 void replace_deref(ir_dereference **deref);
369 ir_dereference *repl;
373 ir_variable_replacement_visitor::replace_deref(ir_dereference **deref) in replace_deref()
387 ir_dereference *deref = (*rvalue)->as_dereference(); in replace_rvalue()
461 ir_dereference *repl) in do_variable_replacement()
Dlower_ubo_reference.cpp79 void write_to_memory(void *mem_ctx, ir_dereference *deref, ir_variable *var,
92 void insert_buffer_access(void *mem_ctx, ir_dereference *deref,
102 ir_dereference *,
106 unsigned calculate_unsized_array_stride(ir_dereference *deref,
339 ir_dereference *deref = (*rvalue)->as_dereference(); in handle_rvalue()
523 ir_dereference *deref, in insert_buffer_access()
560 ir_dereference *deref, in write_to_memory()
619 ir_dereference *deref = expr->operands[0]->as_dereference(); in calculate_ssbo_unsized_array_length()
680 lower_ubo_reference_visitor::calculate_unsized_array_stride(ir_dereference *deref, in calculate_unsized_array_stride()
714 ir_dereference *interface_deref = in calculate_unsized_array_stride()
[all …]
Dlower_buffer_access.h45 insert_buffer_access(void *mem_ctx, ir_dereference *deref,
49 void emit_access(void *mem_ctx, bool is_write, ir_dereference *deref,
Dlower_xfb_varying.cpp166 ir_dereference **deref, in get_deref()
218 ir_dereference *deref = NULL; in lower_xfb_varying()
236 ir_dereference *lhs = new(mem_ctx) ir_dereference_variable(new_variable); in lower_xfb_varying()
Dopt_structure_splitting.cpp197 void split_deref(ir_dereference **deref);
222 ir_structure_splitting_visitor::split_deref(ir_dereference **deref) in split_deref()
249 ir_dereference *deref = (*rvalue)->as_dereference(); in handle_rvalue()
269 ir_dereference *new_lhs, *new_rhs; in visit_leave()
Dlower_buffer_access.cpp58 ir_dereference *deref, in emit_access()
72 ir_dereference *field_deref = in emit_access()
103 ir_dereference *element_deref = in emit_access()
117 ir_dereference *col_deref = in emit_access()
Dlower_discard_flow.cpp91 ir_dereference *lhs = new(mem_ctx) ir_dereference_variable(discarded); in visit_enter()
120 ir_dereference *lhs = new(mem_ctx) ir_dereference_variable(discarded); in visit_enter()
Dlower_precision.cpp984 void fix_types_in_deref_chain(ir_dereference *ir);
985 void convert_split_assignment(ir_dereference *lhs, ir_rvalue *rhs,
1064 lower_variables_visitor::fix_types_in_deref_chain(ir_dereference *ir) in fix_types_in_deref_chain()
1082 lower_variables_visitor::convert_split_assignment(ir_dereference *lhs, in convert_split_assignment()
1090 ir_dereference *l, *r; in convert_split_assignment()
1117 ir_dereference *lhs = ir->lhs; in visit_enter()
1119 ir_dereference *rhs_deref = ir->rhs->as_dereference(); in visit_enter()
1200 ir_dereference *deref = ir->value ? ir->value->as_dereference() : NULL; in visit_enter()
1234 ir_dereference *expr_op0_deref = expr ? expr->operands[0]->as_dereference() : NULL; in handle_rvalue()
1256 ir_dereference *deref = ir->as_dereference(); in handle_rvalue()
[all …]
Dir.h1472 ir_assignment(ir_dereference *lhs, ir_rvalue *rhs, ir_rvalue *condition,
1512 ir_dereference *lhs;
1930 void set_sampler(ir_dereference *sampler, const glsl_type *type);
1940 ir_dereference *sampler;
2050 class ir_dereference : public ir_rvalue {
2052 virtual ir_dereference *clone(void *mem_ctx, struct hash_table *) const = 0;
2068 ir_dereference(enum ir_node_type t) in ir_dereference() function
2075 class ir_dereference_variable : public ir_dereference {
2126 class ir_dereference_array : public ir_dereference {
2151 ir_dereference *deref = this->array->as_dereference(); in precision()
[all …]
Dlower_vector.cpp192 ir_dereference *const lhs = new(mem_ctx) ir_dereference_variable(temp); in handle_rvalue()
205 ir_dereference *const lhs = new(mem_ctx) ir_dereference_variable(temp); in handle_rvalue()
Dlower_shared_reference.cpp75 void insert_buffer_access(void *mem_ctx, ir_dereference *deref,
128 ir_dereference *deref = (*rvalue)->as_dereference(); in handle_rvalue()
186 ir_dereference *deref = ir->lhs->as_dereference(); in handle_assignment()
243 ir_dereference *deref, in insert_buffer_access()
Dopt_array_splitting.cpp323 void split_deref(ir_dereference **deref);
345 ir_array_splitting_visitor::split_deref(ir_dereference **deref) in split_deref()
387 ir_dereference *deref = (*rvalue)->as_dereference(); in handle_rvalue()
Dlower_variable_index_to_cond_assign.cpp180 ir_dereference *rvalue;
201 ir_dereference *element = this->rvalue->clone(body.mem_ctx, NULL); in generate()
431 ir_dereference *orig_base) in convert_dereference_array()
Dglsl_to_nir.cpp1209 ir_dereference *deref = rvalue->as_dereference(); in visit()
1266 ir_dereference *counter = (ir_dereference *)param; in visit()
1279 nir_src_for_ssa(evaluate_rvalue((ir_dereference *)param)); in visit()
1285 nir_src_for_ssa(evaluate_rvalue((ir_dereference *)param)); in visit()
1311 ir_dereference *image = (ir_dereference *)param; in visit()
1357 evaluate_rvalue((ir_dereference *)param); in visit()
1375 nir_src_for_ssa(evaluate_rvalue((ir_dereference *)param)); in visit()
1384 nir_src_for_ssa(evaluate_rvalue((ir_dereference *)param)); in visit()
1392 nir_src_for_ssa(evaluate_rvalue((ir_dereference *)param)); in visit()
1803 ir_dereference *deref = ir->operands[0]->as_dereference(); in visit()
[all …]
Dast_function.cpp1166 ir_dereference *const col = new(ctx) ir_dereference_array(src, in dereference_component()
1266 ir_dereference *lhs = new(ctx) ir_dereference_variable(var); in process_vec_mat_constructor()
1527 ir_dereference *lhs = new(ctx) ir_dereference_variable(var); in emit_inline_vector_constructor()
1562 ir_dereference *lhs = new(ctx) ir_dereference_variable(var); in emit_inline_vector_constructor()
1601 ir_dereference *column_ref = new(mem_ctx) ir_dereference_array(var, in assign_to_matrix_column()
1685 ir_dereference *const rhs_ref = in emit_inline_matrix_constructor()
1797 ir_dereference *const rhs_var_ref = in emit_inline_matrix_constructor()
1815 ir_dereference *const lhs = in emit_inline_matrix_constructor()
1861 ir_dereference *rhs_var_ref = in emit_inline_matrix_constructor()
1920 ir_dereference *const lhs = in emit_inline_record_constructor()
Dlower_packed_varyings.cpp191 ir_dereference *get_packed_varying_deref(unsigned location,
623 ir_dereference *packed_deref = in lower_rvalue()
711 ir_dereference *
770 ir_dereference *deref = new(this->mem_ctx) in get_packed_varying_deref()
Dlower_tess_level.cpp266 ir_dereference *const new_lhs = (ir_dereference *) expr->operands[0]; in fix_lhs()
Dir_builder.h71 deref(ir_dereference *val) in deref()
83 ir_dereference *val;
Dir.cpp124 this->lhs = (ir_dereference *) lhs; in set_lhs()
151 ir_assignment::ir_assignment(ir_dereference *lhs, ir_rvalue *rhs, in ir_assignment()
1676 : ir_dereference(ir_type_dereference_variable) in ir_dereference_variable()
1687 : ir_dereference(ir_type_dereference_array) in ir_dereference_array()
1696 : ir_dereference(ir_type_dereference_array) in ir_dereference_array()
1726 : ir_dereference(ir_type_dereference_record) in ir_dereference_record()
1738 : ir_dereference(ir_type_dereference_record) in ir_dereference_record()
1748 ir_dereference::is_lvalue(const struct _mesa_glsl_parse_state *state) const in is_lvalue()
1805 ir_texture::set_sampler(ir_dereference *sampler, const glsl_type *type) in set_sampler()
Dlower_distance.cpp413 ir_dereference *const new_lhs = (ir_dereference *) expr->operands[0]; in fix_lhs()
Dir_constant_expression.cpp477 constant_referenced(const ir_dereference *deref, in constant_referenced()
506 const ir_dereference *const deref = da->array->as_dereference(); in constant_referenced()
532 const ir_dereference *const deref = dr->record->as_dereference(); in constant_referenced()
Dir_reader.cpp68 ir_dereference *read_dereference(s_expression *);
629 ir_dereference *lhs = read_dereference(lhs_expr); in read_assignment()
898 ir_dereference *
1006 ir_dereference *sampler = read_dereference(s_sampler); in read_texture()
Dopt_vectorize.cpp255 ir_dereference *lhs = this->last_assignment != NULL ? in visit_enter()
Dlower_blend_equation_advanced.cpp430 static ir_dereference *
435 ir_dereference *val = new(mem_ctx) ir_dereference_variable(var); in deref_output()

12