Home
last modified time | relevance | path

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

/external/mesa3d/src/compiler/glsl/
Dglsl_to_nir.cpp944 op = ir->return_deref->type->is_integer_32_64() in visit()
957 assert(ir->return_deref); in visit()
958 if (ir->return_deref->type == glsl_type::int_type || in visit()
959 ir->return_deref->type == glsl_type::int64_t_type) in visit()
961 else if (ir->return_deref->type == glsl_type::uint_type || in visit()
962 ir->return_deref->type == glsl_type::uint64_t_type) in visit()
964 else if (ir->return_deref->type == glsl_type::float_type) in visit()
970 assert(ir->return_deref); in visit()
971 if (ir->return_deref->type == glsl_type::int_type || in visit()
972 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.h1640 ir_dereference_variable *return_deref, in ir_call() argument
1642 …: ir_instruction(ir_type_call), return_deref(return_deref), callee(callee), sub_var(NULL), array_i… in ir_call()
1649 ir_dereference_variable *return_deref, in ir_call() argument
1652 …: ir_instruction(ir_type_call), return_deref(return_deref), callee(callee), sub_var(var), array_id… in ir_call()
1688 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()
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()
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_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()
1326 ir_dereference_variable *ret_deref = ir->return_deref; in visit_enter()
Dopt_constant_folding.cpp197 new(ralloc_parent(ir)) ir_assignment(ir->return_deref, const_val); in visit_enter()
Dir_hv_accept.cpp330 if (this->return_deref != NULL) { in accept()
332 s = this->return_deref->accept(v); in accept()
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.cpp1119 if (ir->return_deref) { in visit_enter()
1120 if (ir->return_deref->type != callee->return_type) { in visit_enter()
1122 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()
/external/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_tgsi.cpp3476 ir->return_deref->accept(this); in visit_atomic_counter_intrinsic()
3567 if (ir->return_deref) { in visit_ssbo_intrinsic()
3568 ir->return_deref->accept(this); in visit_ssbo_intrinsic()
3570 dst.writemask = (1 << ir->return_deref->type->vector_elements) - 1; in visit_ssbo_intrinsic()
3700 if (ir->return_deref) { in visit_shared_intrinsic()
3701 ir->return_deref->accept(this); in visit_shared_intrinsic()
3703 dst.writemask = (1 << ir->return_deref->type->vector_elements) - 1; in visit_shared_intrinsic()
3852 if (ir->return_deref) { in visit_image_intrinsic()
3853 ir->return_deref->accept(this); in visit_image_intrinsic()
3855 dst.writemask = (1 << ir->return_deref->type->vector_elements) - 1; in visit_image_intrinsic()
[all …]