Home
last modified time | relevance | path

Searched refs:func_info (Results 1 – 12 of 12) sorted by relevance

/php-src/Zend/Optimizer/
H A Dzend_call_graph.c40 ZEND_SET_FUNC_INFO(op_array, func_info); in zend_op_array_collect()
42 func_info->num = call_graph->op_arrays_count; in zend_op_array_collect()
78 func_info->callee_info = call_info; in zend_analyze_calls()
123 func_info->callee_info = call_info; in zend_analyze_calls()
174 zend_func_info *func_info; in zend_is_indirectly_recursive() local
182 func_info = ZEND_FUNC_INFO(op_array); in zend_is_indirectly_recursive()
186 zend_bitset_incl(visited, func_info->num); in zend_is_indirectly_recursive()
187 call_info = func_info->caller_info; in zend_is_indirectly_recursive()
201 zend_func_info *func_info; in zend_analyze_recursion() local
211 func_info = call_graph->func_infos + i; in zend_analyze_recursion()
[all …]
H A Dzend_func_info.c98 static HashTable func_info; variable
114 zval *zv = zend_hash_find_known_hash(&func_info, name); in zend_get_internal_func_info()
206 if (zend_hash_add_ptr(&func_info, key, (void**)&func_infos[i]) == NULL) { in zend_func_info_add()
222 …zend_hash_init(&func_info, sizeof(old_func_infos)/sizeof(func_info_t) + sizeof(func_infos)/sizeof(… in zend_func_info_startup()
234 zend_hash_destroy(&func_info); in zend_func_info_shutdown()
H A Dzend_optimizer.c1506 if (func_info) { in zend_adjust_fcall_stack_size_graph()
1533 if (func_info->ssa.vars[ssa_var].phi_use_chain) { in needs_live_range()
1631 zend_func_info *func_info; in zend_optimize_script() local
1642 if (func_info) { in zend_optimize_script()
1643 func_info->call_map = zend_build_call_map(&ctx.arena, func_info, call_graph.op_arrays[i]); in zend_optimize_script()
1652 if (func_info) { in zend_optimize_script()
1654 func_info->flags = func_info->ssa.cfg.flags; in zend_optimize_script()
1664 if (func_info) { in zend_optimize_script()
1665 zend_dfa_optimize_op_array(call_graph.op_arrays[i], &ctx, &func_info->ssa, func_info->call_map); in zend_optimize_script()
1710 func_info = ZEND_FUNC_INFO(op_array); in zend_optimize_script()
[all …]
H A Dzend_call_graph.h67 …na, zend_script *script, uint32_t build_flags, zend_op_array *op_array, zend_func_info *func_info);
H A Dzend_dump.c934 zend_func_info *func_info = NULL; in zend_dump_op_array() local
947 func_info = ZEND_FUNC_INFO(op_array); in zend_dump_op_array()
948 if (func_info) { in zend_dump_op_array()
949 func_flags = func_info->flags; in zend_dump_op_array()
1009 if (func_info) { in zend_dump_op_array()
1011 …zend_dump_type_info(func_info->return_info.type, func_info->return_info.ce, func_info->return_info… in zend_dump_op_array()
1012 zend_dump_range(&func_info->return_info.range); in zend_dump_op_array()
H A Ddfa_pass.c118 zend_func_info *func_info; in zend_ssa_remove_nops() local
128 func_info = ZEND_FUNC_INFO(op_array); in zend_ssa_remove_nops()
129 if (func_info) { in zend_ssa_remove_nops()
130 zend_call_info **call_info = &func_info->callee_info; in zend_ssa_remove_nops()
239 if (func_info) { in zend_ssa_remove_nops()
240 zend_call_info *call_info = func_info->callee_info; in zend_ssa_remove_nops()
403 zend_func_info *func_info = ZEND_FUNC_INFO(op_array); in zend_dfa_optimize_calls() local
406 if (func_info->callee_info) { in zend_dfa_optimize_calls()
407 zend_call_info *call_info = func_info->callee_info; in zend_dfa_optimize_calls()
H A Dzend_inference.c1552 const zend_func_info *func_info = ZEND_FUNC_INFO(op_array); in zend_inference_propagate_range() local
1554 if (!func_info || !func_info->call_map) { in zend_inference_propagate_range()
1558 call_info = func_info->call_map[opline - op_array->opcodes]; in zend_inference_propagate_range()
1563 func_info = ZEND_FUNC_INFO(&call_info->callee_func->op_array); in zend_inference_propagate_range()
1564 if (func_info && func_info->return_info.has_range) { in zend_inference_propagate_range()
1565 *tmp = func_info->return_info.range; in zend_inference_propagate_range()
3879 zend_func_info *func_info = ZEND_FUNC_INFO(op_array); in _zend_update_type_info() local
3882 if (!func_info || !func_info->call_map) { in _zend_update_type_info()
3885 call_info = func_info->call_map[opline - op_array->opcodes]; in _zend_update_type_info()
/php-src/ext/opcache/jit/
H A Dzend_jit.c2898 zend_func_info *func_info; in zend_jit_collect_calls() local
2903 func_info = ZEND_FUNC_INFO(op_array); in zend_jit_collect_calls()
2906 ZEND_SET_FUNC_INFO(op_array, func_info); in zend_jit_collect_calls()
2916 if (func_info) { in zend_jit_cleanup_func_info()
2917 caller_info = func_info->caller_info; in zend_jit_cleanup_func_info()
2918 callee_info = func_info->callee_info; in zend_jit_cleanup_func_info()
2923 func_info->num = 0; in zend_jit_cleanup_func_info()
2952 zend_func_info *func_info; in zend_real_jit_func() local
2984 func_info = ZEND_FUNC_INFO(op_array); in zend_real_jit_func()
2985 func_info->call_map = zend_build_call_map(&CG(arena), func_info, op_array); in zend_real_jit_func()
[all …]
H A Dzend_jit_internal.h125 zend_func_info func_info; member
163 zend_func_info func_info; member
338 zend_func_info func_info; member
H A Dzend_jit_trace.c528 jit_extension->func_info.num = 0; in zend_jit_trace_build_ssa()
534 ssa = &jit_extension->func_info.ssa; in zend_jit_trace_build_ssa()
544 …jit_extension->func_info.call_map = zend_build_call_map(&CG(arena), &jit_extension->func_info, op_… in zend_jit_trace_build_ssa()
1440 ssa = &jit_extension->func_info.ssa; in zend_jit_trace_build_tssa()
1458 ssa = &jit_extension->func_info.ssa; in zend_jit_trace_build_tssa()
1684 ssa = &jit_extension->func_info.ssa; in zend_jit_trace_build_tssa()
2471 ssa = &jit_extension->func_info.ssa; in zend_jit_trace_build_tssa()
2539 ssa = &jit_extension->func_info.ssa; in zend_jit_trace_build_tssa()
2690 ssa = &jit_extension->func_info.ssa; in zend_jit_trace_build_tssa()
7382 jit_extension->func_info.num = 0; in zend_jit_trace()
[all …]
H A Dzend_jit_vm_helpers.c518 || (jit_extension && !(jit_extension->func_info.flags & ZEND_FUNC_JIT_ON_HOT_TRACE)) in zend_jit_trace_record_fake_init_call_ex()
963 || UNEXPECTED(!(jit_extension->func_info.flags & ZEND_FUNC_JIT_ON_HOT_TRACE))) {
1128 || (jit_extension && !(jit_extension->func_info.flags & ZEND_FUNC_JIT_ON_HOT_TRACE))
H A Dzend_jit_ir.c10565 uint32_t func_info = call_info ? local
10571 func_info |= MAY_BE_NULL;
10573 if (func_info & (MAY_BE_STRING|MAY_BE_ARRAY|MAY_BE_OBJECT|MAY_BE_RESOURCE|MAY_BE_REF)) {
10576 jit_ZVAL_PTR_DTOR(jit, res_addr, func_info, 1, opline);

Completed in 110 milliseconds