Home
last modified time | relevance | path

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

/PHP-8.2/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()
76 func_info->callee_info = call_info; in zend_analyze_calls()
110 func_info->flags |= ZEND_FUNC_HAS_CALLS; in zend_analyze_calls()
157 zend_func_info *func_info; in zend_is_indirectly_recursive() local
165 func_info = ZEND_FUNC_INFO(op_array); in zend_is_indirectly_recursive()
169 zend_bitset_incl(visited, func_info->num); in zend_is_indirectly_recursive()
170 call_info = func_info->caller_info; in zend_is_indirectly_recursive()
184 zend_func_info *func_info; in zend_analyze_recursion() local
194 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.c1371 if (func_info) { in zend_adjust_fcall_stack_size_graph()
1398 if (func_info->ssa.vars[ssa_var].phi_use_chain) { in needs_live_range()
1484 zend_func_info *func_info; in zend_optimize_script() local
1495 if (func_info) { in zend_optimize_script()
1496 func_info->call_map = zend_build_call_map(&ctx.arena, func_info, call_graph.op_arrays[i]); in zend_optimize_script()
1505 if (func_info) { in zend_optimize_script()
1507 func_info->flags = func_info->ssa.cfg.flags; in zend_optimize_script()
1517 if (func_info) { in zend_optimize_script()
1518 zend_dfa_optimize_op_array(call_graph.op_arrays[i], &ctx, &func_info->ssa, func_info->call_map); in zend_optimize_script()
1563 func_info = ZEND_FUNC_INFO(op_array); in zend_optimize_script()
[all …]
H A Dzend_call_graph.h66 …na, zend_script *script, uint32_t build_flags, zend_op_array *op_array, zend_func_info *func_info);
H A Dzend_dump.c925 zend_func_info *func_info = NULL; in zend_dump_op_array() local
938 func_info = ZEND_FUNC_INFO(op_array); in zend_dump_op_array()
939 if (func_info) { in zend_dump_op_array()
940 func_flags = func_info->flags; in zend_dump_op_array()
1000 if (func_info) { in zend_dump_op_array()
1002 …zend_dump_type_info(func_info->return_info.type, func_info->return_info.ce, func_info->return_info… in zend_dump_op_array()
1003 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()
390 zend_func_info *func_info = ZEND_FUNC_INFO(op_array); in zend_dfa_optimize_calls() local
393 if (func_info->callee_info) { in zend_dfa_optimize_calls()
394 zend_call_info *call_info = func_info->callee_info; in zend_dfa_optimize_calls()
H A Dzend_inference.c1562 zend_func_info *func_info = ZEND_FUNC_INFO(op_array); in zend_inference_propagate_range() local
1564 if (!func_info || !func_info->call_map) { in zend_inference_propagate_range()
1568 call_info = func_info->call_map[opline - op_array->opcodes]; in zend_inference_propagate_range()
1573 func_info = ZEND_FUNC_INFO(&call_info->callee_func->op_array); in zend_inference_propagate_range()
1574 if (func_info && func_info->return_info.has_range) { in zend_inference_propagate_range()
1575 *tmp = func_info->return_info.range; in zend_inference_propagate_range()
3821 zend_func_info *func_info = ZEND_FUNC_INFO(op_array); in _zend_update_type_info() local
3824 if (!func_info || !func_info->call_map) { in _zend_update_type_info()
3827 call_info = func_info->call_map[opline - op_array->opcodes]; in _zend_update_type_info()
/PHP-8.2/ext/opcache/jit/
H A Dzend_jit.c4143 zend_func_info *func_info; in zend_jit_collect_calls() local
4148 func_info = ZEND_FUNC_INFO(op_array); in zend_jit_collect_calls()
4151 ZEND_SET_FUNC_INFO(op_array, func_info); in zend_jit_collect_calls()
4161 if (func_info) { in zend_jit_cleanup_func_info()
4162 caller_info = func_info->caller_info; in zend_jit_cleanup_func_info()
4163 callee_info = func_info->callee_info; in zend_jit_cleanup_func_info()
4168 func_info->num = 0; in zend_jit_cleanup_func_info()
4197 zend_func_info *func_info; in zend_real_jit_func() local
4217 func_info = ZEND_FUNC_INFO(op_array); in zend_real_jit_func()
4218 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.h223 zend_func_info func_info; member
260 zend_func_info func_info; member
430 zend_func_info func_info; member
H A Dzend_jit_trace.c559 jit_extension->func_info.num = 0; in zend_jit_trace_build_ssa()
565 ssa = &jit_extension->func_info.ssa; in zend_jit_trace_build_ssa()
575 …jit_extension->func_info.call_map = zend_build_call_map(&CG(arena), &jit_extension->func_info, op_… in zend_jit_trace_build_ssa()
1280 ssa = &jit_extension->func_info.ssa; in zend_jit_trace_build_tssa()
1298 ssa = &jit_extension->func_info.ssa; in zend_jit_trace_build_tssa()
1521 ssa = &jit_extension->func_info.ssa; in zend_jit_trace_build_tssa()
2316 ssa = &jit_extension->func_info.ssa; in zend_jit_trace_build_tssa()
2387 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()
7062 jit_extension->func_info.num = 0; in zend_jit_trace()
[all …]
H A Dzend_jit_vm_helpers.c520 || !(jit_extension->func_info.flags & ZEND_FUNC_JIT_ON_HOT_TRACE) in zend_jit_trace_record_fake_init_call_ex()
927 || UNEXPECTED(!(jit_extension->func_info.flags & ZEND_FUNC_JIT_ON_HOT_TRACE))) {
1072 || !(jit_extension->func_info.flags & ZEND_FUNC_JIT_ON_HOT_TRACE)
H A Dzend_jit_arm64.dasc9672 uint32_t func_info = call_info ?
9678 func_info |= MAY_BE_NULL;
9680 if (func_info & (MAY_BE_STRING|MAY_BE_ARRAY|MAY_BE_OBJECT|MAY_BE_RESOURCE|MAY_BE_REF)) {
9681 | ZVAL_PTR_DTOR res_addr, func_info, 1, 1, opline, ZREG_TMP1, ZREG_TMP2
H A Dzend_jit_x86.dasc10392 uint32_t func_info = call_info ?
10398 func_info |= MAY_BE_NULL;
10400 if (func_info & (MAY_BE_STRING|MAY_BE_ARRAY|MAY_BE_OBJECT|MAY_BE_RESOURCE|MAY_BE_REF)) {
10401 | ZVAL_PTR_DTOR res_addr, func_info, 1, 1, opline

Completed in 114 milliseconds