Home
last modified time | relevance | path

Searched refs:base_ir (Results 1 – 25 of 26) sorted by relevance

12

/external/mesa3d/src/compiler/glsl/
Dlower_mat_op_to_vec.cpp152 base_ir->insert_before(assign); in do_mul_mat_mat()
182 base_ir->insert_before(assign); in do_mul_mat_vec()
206 base_ir->insert_before(column_assign); in do_mul_vec_mat()
227 base_ir->insert_before(column_assign); in do_mul_mat_scalar()
262 this->base_ir->insert_before(tmp_bvec); in do_equal_mat_mat()
276 this->base_ir->insert_before(assign); in do_equal_mat_mat()
291 base_ir->insert_before(assign); in do_equal_mat_mat()
349 base_ir->insert_before(var); in visit_leave()
356 base_ir->insert_before(assign); in visit_leave()
375 base_ir->insert_before(column_assign); in visit_leave()
[all …]
Dlower_shared_reference.cpp155 base_ir->insert_before(load_var); in handle_rvalue()
160 base_ir->insert_before(load_offset); in handle_rvalue()
161 base_ir->insert_before(assign(load_offset, offset)); in handle_rvalue()
202 base_ir->insert_before(store_var); in handle_assignment()
221 base_ir->insert_before(store_offset); in handle_assignment()
222 base_ir->insert_before(assign(store_offset, offset)); in handle_assignment()
248 base_ir->insert_after(store); in insert_buffer_access()
251 base_ir->insert_before(load); in insert_buffer_access()
253 base_ir->insert_before(assign(deref->clone(mem_ctx, NULL), in insert_buffer_access()
322 base_ir->insert_before(result); in shared_load()
[all …]
Dlower_instructions.cpp317 this->base_ir->insert_before(x); in mod_to_floor()
318 this->base_ir->insert_before(y); in mod_to_floor()
327 this->base_ir->insert_before(assign_x); in mod_to_floor()
328 this->base_ir->insert_before(assign_y); in mod_to_floor()
443 ir_instruction &i = *base_ir; in ldexp_to_arith()
571 ir_instruction &i = *base_ir; in dldexp_to_arith()
680 ir_instruction &i = *base_ir; in dfrexp_sig_to_arith()
753 ir_instruction &i = *base_ir; in dfrexp_exp_to_arith()
852 this->base_ir->insert_before(temp); in double_dot_to_fma()
865 this->base_ir->insert_before(assig); in double_dot_to_fma()
[all …]
Dlower_tess_level.cpp336 this->base_ir->insert_before(assign); in visit_leave()
367 ir_instruction *old_base_ir = this->base_ir; in visit_new_assignment()
368 this->base_ir = ir; in visit_new_assignment()
370 this->base_ir = old_base_ir; in visit_new_assignment()
408 this->base_ir->insert_before(temp); in visit_leave()
421 this->base_ir->insert_before(new_assignment); in visit_leave()
434 this->base_ir->insert_after(new_assignment); in visit_leave()
Dlower_distance.cpp254 this->base_ir->insert_before(old_index_var); in create_indices()
255 this->base_ir->insert_before(new(ctx) ir_assignment( in create_indices()
477 this->base_ir->insert_before(assign); in visit_leave()
508 ir_instruction *old_base_ir = this->base_ir; in visit_new_assignment()
509 this->base_ir = ir; in visit_new_assignment()
511 this->base_ir = old_base_ir; in visit_new_assignment()
554 this->base_ir->insert_before(temp_clip_distance); in visit_leave()
567 this->base_ir->insert_before(new_assignment); in visit_leave()
580 this->base_ir->insert_after(new_assignment); in visit_leave()
Dlink_uniform_block_active_visitor.cpp216 ir_dereference_array *base_ir = ir; in visit_enter() local
217 while (base_ir->array->ir_type == ir_type_dereference_array) in visit_enter()
218 base_ir = base_ir->array->as_dereference_array(); in visit_enter()
221 base_ir->array->as_dereference_variable(); in visit_enter()
Dlower_variable_index_to_cond_assign.cpp179 ir_instruction* base_ir; member
187 : base_ir(NULL), in assignment_generator()
433 void *const mem_ctx = ralloc_parent(base_ir); in convert_dereference_array()
469 ag.base_ir = base_ir; in convert_dereference_array()
498 base_ir->insert_before(&list); in convert_dereference_array()
515 *pir = new(ralloc_parent(base_ir)) ir_dereference_variable(var); in handle_rvalue()
Dlower_int64.cpp60 ir_rvalue *lower_op_to_function_call(ir_instruction *base_ir,
255 lower_64bit::lower_op_to_function_call(ir_instruction *base_ir, in lower_op_to_function_call() argument
301 exec_node *const after = base_ir; in lower_op_to_function_call()
334 f = new(base_ir) ir_function(function_name); in handle_op()
335 callee = generator(base_ir, NULL); in handle_op()
343 return lower_op_to_function_call(this->base_ir, ir, callee); in handle_op()
Dlower_ubo_reference.cpp376 base_ir->insert_before(load_var); in handle_rvalue()
381 base_ir->insert_before(load_offset); in handle_rvalue()
382 base_ir->insert_before(assign(load_offset, offset)); in handle_rvalue()
506 base_ir->insert_before(result); in ssbo_load()
528 base_ir->insert_before(assign(deref->clone(mem_ctx, NULL), in insert_buffer_access()
534 base_ir->insert_before(load_ssbo); in insert_buffer_access()
538 base_ir->insert_before(assignment); in insert_buffer_access()
543 base_ir->insert_after(ssbo_store(mem_ctx, in insert_buffer_access()
547 base_ir->insert_after(ssbo_store(mem_ctx, deref, offset, mask)); in insert_buffer_access()
589 base_ir->insert_before(write_offset); in write_to_memory()
[all …]
Dir_expression_flattening.cpp78 base_ir->insert_before(var); in handle_rvalue()
81 base_ir->insert_before(assign); in handle_rvalue()
Dlower_vector.cpp143 this->base_ir->insert_before(temp); in handle_rvalue()
196 this->base_ir->insert_before(assign); in handle_rvalue()
209 this->base_ir->insert_before(assign); in handle_rvalue()
Dlower_offset_array.cpp68 base_ir->insert_before(var); in handle_rvalue()
75 base_ir->insert_before(assign(var, swizzle_w(tex), 1 << i)); in handle_rvalue()
Dlower_vec_index_to_cond_assign.cpp87 ir_factory body(&list, base_ir); in convert_vec_index_to_cond_assign()
120 base_ir->insert_before(&list); in convert_vec_index_to_cond_assign()
151 new(base_ir) ir_expression(expr->operation, vec_input->type, in convert_vector_extract_to_cond_assign()
Dlower_texture_projection.cpp66 base_ir->insert_before(var); in visit_leave()
73 base_ir->insert_before(assign); in visit_leave()
Dopt_function_inlining.cpp121 base_ir->insert_before(index); in visit_enter()
125 base_ir->insert_before(assignment); in visit_enter()
210 v.base_ir = next_ir; in generate_inline()
Dopt_algebraic.cpp822 base_ir->insert_before(x); in handle_expression()
823 base_ir->insert_before(assign(x, ir->operands[0])); in handle_expression()
830 base_ir->insert_before(x); in handle_expression()
831 base_ir->insert_before(assign(x, ir->operands[0])); in handle_expression()
836 base_ir->insert_before(squared); in handle_expression()
837 base_ir->insert_before(assign(squared, mul(x, x))); in handle_expression()
Dir_hv_accept.cpp50 ir_instruction *prev_base_ir = v->base_ir; in visit_list_elements()
54 v->base_ir = ir; in visit_list_elements()
61 v->base_ir = prev_base_ir; in visit_list_elements()
Dlower_vector_insert.cpp136 base_ir->insert_before(factory.instructions); in handle_rvalue()
Dir_hierarchical_visitor.h158 class ir_instruction *base_ir; variable
Dir_hierarchical_visitor.cpp29 this->base_ir = NULL; in ir_hierarchical_visitor()
Dlower_packing_builtins.cpp188 base_ir->insert_before(factory.instructions); in teardown_factory()
/external/mesa3d/src/intel/compiler/
Dbrw_vec4_nir.cpp144 base_ir = instr; in nir_emit_instr()
553 .annotate(current_annotation, base_ir); in nir_emit_intrinsic()
675 .annotate(current_annotation, base_ir); in nir_emit_intrinsic()
891 vec4_builder(this).at_end().annotate(current_annotation, base_ir); in nir_emit_intrinsic()
948 vec4_builder(this).at_end().annotate(current_annotation, base_ir); in nir_emit_ssbo_atomic()
Dbrw_vec4.h105 const void *base_ir; variable
Dbrw_vec4_visitor.cpp67 inst->ir = this->base_ir; in emit()
1667 base_ir = inst->ir; in move_grf_array_access_to_scratch()
1874 this->base_ir = NULL; in vec4_visitor()
/external/mesa3d/src/compiler/glsl/tests/
Dlower_int64_test.cpp41 ir_rvalue *lower_op_to_function_call(ir_instruction *base_ir,

12