/third_party/mesa3d/src/compiler/glsl/ |
D | lower_mat_op_to_vec.cpp | 50 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 …]
|
D | opt_function_inlining.cpp | 40 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()
|
D | lower_ubo_reference.cpp | 79 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 …]
|
D | lower_buffer_access.h | 45 insert_buffer_access(void *mem_ctx, ir_dereference *deref, 49 void emit_access(void *mem_ctx, bool is_write, ir_dereference *deref,
|
D | lower_xfb_varying.cpp | 166 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()
|
D | opt_structure_splitting.cpp | 197 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()
|
D | lower_buffer_access.cpp | 58 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()
|
D | lower_discard_flow.cpp | 91 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()
|
D | lower_precision.cpp | 984 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 …]
|
D | ir.h | 1472 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 …]
|
D | lower_vector.cpp | 192 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()
|
D | lower_shared_reference.cpp | 75 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()
|
D | opt_array_splitting.cpp | 323 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()
|
D | lower_variable_index_to_cond_assign.cpp | 180 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()
|
D | glsl_to_nir.cpp | 1209 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 …]
|
D | ast_function.cpp | 1166 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()
|
D | lower_packed_varyings.cpp | 191 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()
|
D | lower_tess_level.cpp | 266 ir_dereference *const new_lhs = (ir_dereference *) expr->operands[0]; in fix_lhs()
|
D | ir_builder.h | 71 deref(ir_dereference *val) in deref() 83 ir_dereference *val;
|
D | ir.cpp | 124 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()
|
D | lower_distance.cpp | 413 ir_dereference *const new_lhs = (ir_dereference *) expr->operands[0]; in fix_lhs()
|
D | ir_constant_expression.cpp | 477 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()
|
D | ir_reader.cpp | 68 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()
|
D | opt_vectorize.cpp | 255 ir_dereference *lhs = this->last_assignment != NULL ? in visit_enter()
|
D | lower_blend_equation_advanced.cpp | 430 static ir_dereference * 435 ir_dereference *val = new(mem_ctx) ir_dereference_variable(var); in deref_output()
|