| /xsrc/external/mit/MesaLib/dist/src/compiler/glsl/ |
| H A D | ir_function_can_inline.cpp | 61 const ir_function_signature *callee = call->callee; local in function:can_inline 62 if (!callee->is_defined) 65 v.run((exec_list *) &callee->body); 70 ir_instruction *last = (ir_instruction *)callee->body.get_tail();
|
| H A D | lower_builtins.cpp | 58 if (!ir->callee->is_builtin() || ir->callee->is_intrinsic())
|
| H A D | link_functions.cpp | 67 * shader callee will point to an ir_function_signature in the original 72 const ir_function_signature *const callee = ir->callee; local in function:__anone4eb089e0110::call_link_visitor::visit_enter 73 assert(callee != NULL); 74 const char *const name = callee->function_name(); 77 if (callee->is_intrinsic()) 84 find_matching_signature(name, &callee->parameters, linked->symbols); 86 ir->callee = sig; 125 f->exact_matching_signature(NULL, &callee->parameters); 127 linked_sig = new(linked) ir_function_signature(callee [all...] |
| H A D | lower_int64.cpp | 62 ir_function_signature *callee); 257 ir_function_signature *callee) 289 ir_call *const c = new(mem_ctx) ir_call(callee, 327 ir_function_signature *callee = NULL; local in function:lower_64bit_visitor::handle_op 331 callee = (ir_function_signature *) f->signatures.get_head(); 332 assert(callee != NULL && callee->ir_type == ir_type_function_signature); 335 callee = generator(base_ir, NULL); 337 f->add_signature(callee); 343 return lower_op_to_function_call(this->base_ir, ir, callee); 255 lower_op_to_function_call(ir_instruction * base_ir,ir_expression * ir,ir_function_signature * callee) argument [all...] |
| H A D | lower_subroutine.cpp | 47 ir_call *call_clone(ir_call *call, ir_function_signature *callee); 63 lower_subroutine_visitor::call_clone(ir_call *call, ir_function_signature *callee) argument 76 return new(mem_ctx) ir_call(callee, new_return_ref, &new_parameters);
|
| H A D | opt_dead_functions.cpp | 106 signature_entry *entry = this->get_signature_entry(ir->callee);
|
| H A D | opt_function_inlining.cpp | 157 num_parameters = this->callee->parameters.length(); 164 foreach_two_lists(formal_node, &this->callee->parameters, 238 foreach_in_list(ir_instruction, ir, &callee->body) { 248 foreach_two_lists(formal_node, &this->callee->parameters, 267 foreach_two_lists(formal_node, &this->callee->parameters,
|
| H A D | lower_precision.cpp | 428 if (ir->callee->intrinsic_id == ir_intrinsic_image_load || 429 (ir->callee->is_builtin() && 434 assert(ir->callee->return_precision == GLSL_PRECISION_NONE); 463 if (!ir->callee->is_builtin()) 464 return ir->callee->return_precision; 467 if (ir->callee->is_builtin() && ir->actual_parameters.length()) { 519 assert(ir->callee->return_precision == GLSL_PRECISION_NONE); 881 if (ir->callee->intrinsic_id == ir_intrinsic_image_load) 889 if (!ir->callee->is_builtin() || 890 ir->callee [all...] |
| H A D | lower_shared_reference.cpp | 412 assert(ir->callee->intrinsic_id >= ir_intrinsic_generic_load); 413 assert(ir->callee->intrinsic_id <= ir_intrinsic_generic_atomic_comp_swap); 414 sig->intrinsic_id = MAP_INTRINSIC_TO_TYPE(ir->callee->intrinsic_id, shared); 454 const enum ir_intrinsic_id id = ir->callee->intrinsic_id;
|
| H A D | opt_constant_folding.cpp | 176 foreach_two_lists(formal_node, &ir->callee->parameters,
|
| H A D | ir.h | 1645 ir_call(ir_function_signature *callee, argument 1648 : ir_instruction(ir_type_call), return_deref(return_deref), callee(callee), sub_var(NULL), array_idx(NULL) 1650 assert(callee->return_type != NULL); 1654 ir_call(ir_function_signature *callee, argument 1658 : ir_instruction(ir_type_call), return_deref(return_deref), callee(callee), sub_var(var), array_idx(array_idx) 1660 assert(callee->return_type != NULL); 1681 return callee->function_name(); 1699 ir_function_signature *callee; member in class:ir_call [all...] |
| H A D | ir_clone.cpp | 160 return new(mem_ctx) ir_call(this->callee, new_return_ref, &new_parameters); 399 hash_entry *entry = _mesa_hash_table_search(this->ht, ir->callee); 403 ir->callee = sig;
|
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/ |
| H A D | ir_function_can_inline.cpp | 61 const ir_function_signature *callee = call->callee; local in function:can_inline 62 if (!callee->is_defined) 65 v.run((exec_list *) &callee->body); 70 ir_instruction *last = (ir_instruction *)callee->body.get_tail();
|
| H A D | link_functions.cpp | 67 * shader callee will point to an ir_function_signature in the original 72 const ir_function_signature *const callee = ir->callee; local in function:__anond20d0a4b0110::call_link_visitor::visit_enter 73 assert(callee != NULL); 74 const char *const name = callee->function_name(); 77 if (callee->is_intrinsic()) 84 find_matching_signature(name, &callee->parameters, linked->symbols); 86 ir->callee = sig; 125 f->exact_matching_signature(NULL, &callee->parameters); 127 linked_sig = new(linked) ir_function_signature(callee [all...] |
| H A D | lower_int64.cpp | 62 ir_function_signature *callee); 257 ir_function_signature *callee) 289 ir_call *const c = new(mem_ctx) ir_call(callee, 327 ir_function_signature *callee = NULL; local in function:lower_64bit_visitor::handle_op 331 callee = (ir_function_signature *) f->signatures.get_head(); 332 assert(callee != NULL && callee->ir_type == ir_type_function_signature); 335 callee = generator(base_ir, NULL); 337 f->add_signature(callee); 343 return lower_op_to_function_call(this->base_ir, ir, callee); 255 lower_op_to_function_call(ir_instruction * base_ir,ir_expression * ir,ir_function_signature * callee) argument [all...] |
| H A D | lower_subroutine.cpp | 47 ir_call *call_clone(ir_call *call, ir_function_signature *callee); 63 lower_subroutine_visitor::call_clone(ir_call *call, ir_function_signature *callee) argument 76 return new(mem_ctx) ir_call(callee, new_return_ref, &new_parameters);
|
| H A D | opt_dead_functions.cpp | 106 signature_entry *entry = this->get_signature_entry(ir->callee);
|
| H A D | opt_function_inlining.cpp | 157 num_parameters = this->callee->parameters.length(); 164 foreach_two_lists(formal_node, &this->callee->parameters, 238 foreach_in_list(ir_instruction, ir, &callee->body) { 248 foreach_two_lists(formal_node, &this->callee->parameters, 267 foreach_two_lists(formal_node, &this->callee->parameters,
|
| H A D | lower_shared_reference.cpp | 410 assert(ir->callee->intrinsic_id >= ir_intrinsic_generic_load); 411 assert(ir->callee->intrinsic_id <= ir_intrinsic_generic_atomic_comp_swap); 412 sig->intrinsic_id = MAP_INTRINSIC_TO_TYPE(ir->callee->intrinsic_id, shared); 452 const enum ir_intrinsic_id id = ir->callee->intrinsic_id;
|
| H A D | opt_constant_folding.cpp | 176 foreach_two_lists(formal_node, &ir->callee->parameters,
|
| H A D | ir.h | 1610 ir_call(ir_function_signature *callee, argument 1613 : ir_instruction(ir_type_call), return_deref(return_deref), callee(callee), sub_var(NULL), array_idx(NULL) 1615 assert(callee->return_type != NULL); 1619 ir_call(ir_function_signature *callee, argument 1623 : ir_instruction(ir_type_call), return_deref(return_deref), callee(callee), sub_var(var), array_idx(array_idx) 1625 assert(callee->return_type != NULL); 1646 return callee->function_name(); 1664 ir_function_signature *callee; member in class:ir_call [all...] |
| H A D | ir_clone.cpp | 154 return new(mem_ctx) ir_call(this->callee, new_return_ref, &new_parameters); 393 hash_entry *entry = _mesa_hash_table_search(this->ht, ir->callee); 397 ir->callee = sig;
|
| /xsrc/external/mit/MesaLib/dist/src/compiler/spirv/ |
| H A D | nir_lower_libclc.c | 42 if (!call->callee->name) 46 if (strcmp(function->name, call->callee->name) == 0) { 59 call->callee->params[i].num_components);
|
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/ |
| H A D | nir_inline_functions.c | 100 assert(call->callee->impl); 103 inline_function_impl(call->callee->impl, inlined); 107 /* Rewrite all of the uses of the callee's parameters to use the call 116 call->callee->params[i].num_components); 119 nir_inline_function_impl(b, call->callee->impl, params); 163 * This is needed because local variables from the callee are simply added 165 * constant initializer logically happens is lost. If the callee is 169 * callee to the next. The simple solution to this problem is to get rid 178 * program which is what an early return in the callee would have to turn 180 * be lowered which lets us just copy+paste the callee directl [all...] |
| /xsrc/external/mit/MesaLib/dist/src/compiler/nir/ |
| H A D | nir_inline_functions.c | 149 assert(call->callee->impl); 152 inline_function_impl(call->callee->impl, inlined); 156 /* Rewrite all of the uses of the callee's parameters to use the call 165 call->callee->params[i].num_components); 168 nir_inline_function_impl(b, call->callee->impl, params, NULL); 210 * This is needed because local variables from the callee are simply added 212 * constant initializer logically happens is lost. If the callee is 216 * callee to the next. The simple solution to this problem is to get rid 225 * program which is what an early return in the callee would have to turn 227 * be lowered which lets us just copy+paste the callee directl [all...] |