Home
last modified time | relevance | path

Searched refs:return_deref (Results 1 – 21 of 21) sorted by relevance

/third_party/mesa3d/src/compiler/glsl/
Dglsl_to_nir.cpp930 op = ir->return_deref->type->is_integer_32_64() in visit()
943 assert(ir->return_deref); in visit()
944 if (ir->return_deref->type == glsl_type::int_type || in visit()
945 ir->return_deref->type == glsl_type::int64_t_type) in visit()
947 else if (ir->return_deref->type == glsl_type::uint_type || in visit()
948 ir->return_deref->type == glsl_type::uint64_t_type) in visit()
950 else if (ir->return_deref->type == glsl_type::float_type) in visit()
956 assert(ir->return_deref); in visit()
957 if (ir->return_deref->type == glsl_type::int_type || in visit()
958 ir->return_deref->type == glsl_type::int64_t_type) in visit()
[all …]
Dlower_subroutine.cpp67 if (call->return_deref != NULL) in call_clone()
68 new_return_ref = call->return_deref->clone(mem_ctx, NULL); in call_clone()
Dopt_constant_variable.cpp180 if (ir->return_deref != NULL) { in visit_enter()
181 ir_variable *var = ir->return_deref->variable_referenced(); in visit_enter()
Dlower_shared_reference.cpp255 ir_rvalue *value = load->return_deref->as_rvalue()->clone(mem_ctx, NULL); in insert_buffer_access()
432 ir_dereference_variable *return_deref = in lower_shared_atomic_intrinsic() local
433 ir->return_deref->clone(mem_ctx, NULL); in lower_shared_atomic_intrinsic()
434 return new(mem_ctx) ir_call(sig, return_deref, &call_params); in lower_shared_atomic_intrinsic()
Dir.h1646 ir_dereference_variable *return_deref, in ir_call() argument
1648 …: ir_instruction(ir_type_call), return_deref(return_deref), callee(callee), sub_var(NULL), array_i… in ir_call()
1655 ir_dereference_variable *return_deref, in ir_call() argument
1658 …: ir_instruction(ir_type_call), return_deref(return_deref), callee(callee), sub_var(var), array_id… in ir_call()
1694 ir_dereference_variable *return_deref; variable
Dopt_tree_grafting.cpp226 if (ir->return_deref && check_graft(ir, ir->return_deref->var) == visit_stop) in visit_enter()
Dir_reader.cpp656 ir_dereference_variable *return_deref = NULL; in read_call() local
661 return_deref = read_var_ref(s_return); in read_call()
662 if (return_deref == NULL) { in read_call()
697 if (callee->return_type == glsl_type::void_type && return_deref) { in read_call()
700 } else if (callee->return_type != glsl_type::void_type && !return_deref) { in read_call()
705 return new(mem_ctx) ir_call(callee, return_deref, &parameters); in read_call()
Dlower_int64.cpp286 ir_dereference_variable *const return_deref = in lower_op_to_function_call() local
290 return_deref, in lower_op_to_function_call()
Dlower_precision.cpp568 if (!ir->return_deref) in visit_leave()
571 ir_variable *var = ir->return_deref->variable_referenced(); in visit_leave()
872 ir->return_deref ? ir->return_deref->variable_referenced() : NULL; in visit_enter()
1331 ir_dereference_variable *ret_deref = ir->return_deref; in visit_enter()
Dir_hv_accept.cpp330 if (this->return_deref != NULL) { in accept()
332 s = this->return_deref->accept(v); in accept()
Dopt_constant_folding.cpp197 new(ralloc_parent(ir)) ir_assignment(ir->return_deref, const_val); in visit_enter()
Dir_clone.cpp151 if (this->return_deref != NULL) in clone()
152 new_return_ref = this->return_deref->clone(mem_ctx, ht); in clone()
Dlower_ubo_reference.cpp538 ir_rvalue *value = load_ssbo->return_deref->as_rvalue()->clone(mem_ctx, NULL); in insert_buffer_access()
1060 ir_dereference_variable *return_deref = in lower_ssbo_atomic_intrinsic() local
1061 ir->return_deref->clone(mem_ctx, NULL); in lower_ssbo_atomic_intrinsic()
1062 return new(mem_ctx) ir_call(sig, return_deref, &call_params); in lower_ssbo_atomic_intrinsic()
Dopt_copy_propagation_elements.cpp522 if (ir->return_deref) { in visit_enter()
523 kill(new(this->lin_ctx) kill_entry(ir->return_deref->var, ~0)); in visit_enter()
Dir_builder_print_visitor.cpp717 if (ir->return_deref) { in visit_leave()
719 _mesa_hash_table_search(index_map, ir->return_deref); in visit_leave()
Dir_print_visitor.cpp534 if (ir->return_deref) in visit()
535 ir->return_deref->accept(this); in visit()
Dopt_function_inlining.cpp242 visit_tree(new_ir, replace_return_with_assignment, this->return_deref); in generate_inline()
Dir_constant_expression.cpp1115 if (!call->return_deref) in constant_expression_evaluate_expression_list()
1121 if (!constant_referenced(call->return_deref, variable_context, in constant_expression_evaluate_expression_list()
Dir_validate.cpp1124 if (ir->return_deref) { in visit_enter()
1125 if (ir->return_deref->type != callee->return_type) { in visit_enter()
1127 callee->return_type->name, ir->return_deref->type->name); in visit_enter()
Dlinker.cpp139 if (ir->return_deref != NULL) { in visit_enter()
140 ir_variable *const var = ir->return_deref->variable_referenced(); in visit_enter()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_tgsi.cpp3556 ir->return_deref->accept(this); in visit_atomic_counter_intrinsic()
3647 if (ir->return_deref) { in visit_ssbo_intrinsic()
3648 ir->return_deref->accept(this); in visit_ssbo_intrinsic()
3650 dst.writemask = (1 << ir->return_deref->type->vector_elements) - 1; in visit_ssbo_intrinsic()
3780 if (ir->return_deref) { in visit_shared_intrinsic()
3781 ir->return_deref->accept(this); in visit_shared_intrinsic()
3783 dst.writemask = (1 << ir->return_deref->type->vector_elements) - 1; in visit_shared_intrinsic()
3932 if (ir->return_deref) { in visit_image_intrinsic()
3933 ir->return_deref->accept(this); in visit_image_intrinsic()
3935 dst.writemask = (1 << ir->return_deref->type->vector_elements) - 1; in visit_image_intrinsic()
[all …]