Home
last modified time | relevance | path

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

12

/third_party/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()
378 base_ir->insert_before(column_assign); in visit_leave()
[all …]
Dlower_shared_reference.cpp158 base_ir->insert_before(load_var); in handle_rvalue()
163 base_ir->insert_before(load_offset); in handle_rvalue()
164 base_ir->insert_before(assign(load_offset, offset)); in handle_rvalue()
205 base_ir->insert_before(store_var); in handle_assignment()
224 base_ir->insert_before(store_offset); in handle_assignment()
225 base_ir->insert_before(assign(store_offset, offset)); in handle_assignment()
251 base_ir->insert_after(store); in insert_buffer_access()
254 base_ir->insert_before(load); in insert_buffer_access()
256 base_ir->insert_before(assign(deref->clone(mem_ctx, NULL), in insert_buffer_access()
325 base_ir->insert_before(result); in shared_load()
[all …]
Dlower_tess_level.cpp337 this->base_ir->insert_before(assign); in visit_leave()
368 ir_instruction *old_base_ir = this->base_ir; in visit_new_assignment()
369 this->base_ir = ir; in visit_new_assignment()
371 this->base_ir = old_base_ir; in visit_new_assignment()
409 this->base_ir->insert_before(temp); in visit_leave()
422 this->base_ir->insert_before(new_assignment); in visit_leave()
435 this->base_ir->insert_after(new_assignment); in visit_leave()
Dlower_instructions.cpp325 this->base_ir->insert_before(x); in mod_to_floor()
326 this->base_ir->insert_before(y); in mod_to_floor()
335 this->base_ir->insert_before(assign_x); in mod_to_floor()
336 this->base_ir->insert_before(assign_y); in mod_to_floor()
451 ir_instruction &i = *base_ir; in ldexp_to_arith()
579 ir_instruction &i = *base_ir; in dldexp_to_arith()
688 ir_instruction &i = *base_ir; in dfrexp_sig_to_arith()
761 ir_instruction &i = *base_ir; in dfrexp_exp_to_arith()
861 this->base_ir->insert_before(temp); in double_dot_to_fma()
874 this->base_ir->insert_before(assig); in double_dot_to_fma()
[all …]
Dlower_distance.cpp255 this->base_ir->insert_before(old_index_var); in create_indices()
256 this->base_ir->insert_before(new(ctx) ir_assignment( in create_indices()
478 this->base_ir->insert_before(assign); in visit_leave()
509 ir_instruction *old_base_ir = this->base_ir; in visit_new_assignment()
510 this->base_ir = ir; in visit_new_assignment()
512 this->base_ir = old_base_ir; in visit_new_assignment()
555 this->base_ir->insert_before(temp_clip_distance); in visit_leave()
568 this->base_ir->insert_before(new_assignment); in visit_leave()
581 this->base_ir->insert_after(new_assignment); in visit_leave()
Dlink_uniform_block_active_visitor.cpp220 ir_dereference_array *base_ir = ir; in visit_enter() local
221 while (base_ir->array->ir_type == ir_type_dereference_array) in visit_enter()
222 base_ir = base_ir->array->as_dereference_array(); in visit_enter()
225 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()
Dir_expression_flattening.cpp78 base_ir->insert_before(var); in handle_rvalue()
81 base_ir->insert_before(assign); in handle_rvalue()
Dlower_ubo_reference.cpp379 base_ir->insert_before(load_var); in handle_rvalue()
384 base_ir->insert_before(load_offset); in handle_rvalue()
385 base_ir->insert_before(assign(load_offset, offset)); in handle_rvalue()
509 base_ir->insert_before(result); in ssbo_load()
531 base_ir->insert_before(assign(deref->clone(mem_ctx, NULL), in insert_buffer_access()
537 base_ir->insert_before(load_ssbo); in insert_buffer_access()
541 base_ir->insert_before(assignment); in insert_buffer_access()
546 base_ir->insert_after(ssbo_store(mem_ctx, in insert_buffer_access()
550 base_ir->insert_after(ssbo_store(mem_ctx, deref, offset, mask)); in insert_buffer_access()
592 base_ir->insert_before(write_offset); in write_to_memory()
[all …]
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_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_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()
Dopt_function_inlining.cpp121 base_ir->insert_before(index); in visit_enter()
125 base_ir->insert_before(assignment); in visit_enter()
218 v.base_ir = next_ir; in generate_inline()
Dopt_algebraic.cpp840 base_ir->insert_before(x); in handle_expression()
841 base_ir->insert_before(assign(x, ir->operands[0])); in handle_expression()
848 base_ir->insert_before(x); in handle_expression()
849 base_ir->insert_before(assign(x, ir->operands[0])); in handle_expression()
854 base_ir->insert_before(squared); in handle_expression()
855 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_precision.cpp1109 base_ir->insert_before(assign); in convert_split_assignment()
1111 base_ir->insert_after(assign); in convert_split_assignment()
1211 base_ir->insert_before(new_var); in visit_enter()
1270 base_ir->insert_before(new_var); in handle_rvalue()
1309 base_ir->insert_before(new_var); in visit_enter()
1341 base_ir->insert_before(new_var); in visit_enter()
Dlower_vector_insert.cpp154 base_ir->insert_before(factory.instructions); in handle_rvalue()
Dir_hierarchical_visitor.h166 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()
/third_party/mesa3d/src/intel/compiler/
Dbrw_vec4_nir.cpp140 base_ir = instr; in nir_emit_instr()
516 .annotate(current_annotation, base_ir); in nir_emit_intrinsic()
536 .annotate(current_annotation, base_ir); in nir_emit_intrinsic()
728 vec4_builder(this).at_end().annotate(current_annotation, base_ir); in nir_emit_intrinsic()
769 vec4_builder(this).at_end().annotate(current_annotation, base_ir); in nir_emit_ssbo_atomic()
Dbrw_vec4.h107 const void *base_ir; variable
Dbrw_vec4_visitor.cpp68 inst->ir = this->base_ir; in emit()
1566 base_ir = inst->ir; in move_grf_array_access_to_scratch()
1771 this->base_ir = NULL; in vec4_visitor()
/third_party/mesa3d/src/compiler/glsl/tests/
Dlower_int64_test.cpp41 ir_rvalue *lower_op_to_function_call(ir_instruction *base_ir,

12