Home
last modified time | relevance | path

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

/PHP-8.1/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()
158 zend_func_info *func_info; in zend_is_indirectly_recursive() local
166 func_info = ZEND_FUNC_INFO(op_array); in zend_is_indirectly_recursive()
170 zend_bitset_incl(visited, func_info->num); in zend_is_indirectly_recursive()
171 call_info = func_info->caller_info; in zend_is_indirectly_recursive()
185 zend_func_info *func_info; in zend_analyze_recursion() local
195 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()
201 if (zend_hash_add_ptr(&func_info, key, (void**)&func_infos[i]) == NULL) { in zend_func_info_add()
217 …zend_hash_init(&func_info, sizeof(old_func_infos)/sizeof(func_info_t) + sizeof(func_infos)/sizeof(… in zend_func_info_startup()
229 zend_hash_destroy(&func_info); in zend_func_info_shutdown()
H A Dzend_optimizer.c1314 if (func_info) { in zend_adjust_fcall_stack_size_graph()
1341 if (func_info->ssa.vars[ssa_var].phi_use_chain) { in needs_live_range()
1425 zend_func_info *func_info; in zend_optimize_script() local
1436 if (func_info) { in zend_optimize_script()
1437 func_info->call_map = zend_build_call_map(&ctx.arena, func_info, call_graph.op_arrays[i]); in zend_optimize_script()
1446 if (func_info) { in zend_optimize_script()
1448 func_info->flags = func_info->ssa.cfg.flags; in zend_optimize_script()
1458 if (func_info) { in zend_optimize_script()
1459 zend_dfa_optimize_op_array(call_graph.op_arrays[i], &ctx, &func_info->ssa, func_info->call_map); in zend_optimize_script()
1504 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.c912 zend_func_info *func_info = NULL; in zend_dump_op_array() local
925 func_info = ZEND_FUNC_INFO(op_array); in zend_dump_op_array()
926 if (func_info) { in zend_dump_op_array()
927 func_flags = func_info->flags; in zend_dump_op_array()
987 if (func_info) { in zend_dump_op_array()
989 …zend_dump_type_info(func_info->return_info.type, func_info->return_info.ce, func_info->return_info… in zend_dump_op_array()
990 zend_dump_range(&func_info->return_info.range); in zend_dump_op_array()
H A Ddfa_pass.c132 zend_func_info *func_info; in zend_ssa_remove_nops() local
142 func_info = ZEND_FUNC_INFO(op_array); in zend_ssa_remove_nops()
143 if (func_info) { in zend_ssa_remove_nops()
144 zend_call_info **call_info = &func_info->callee_info; in zend_ssa_remove_nops()
264 if (func_info) { in zend_ssa_remove_nops()
265 zend_call_info *call_info = func_info->callee_info; in zend_ssa_remove_nops()
404 zend_func_info *func_info = ZEND_FUNC_INFO(op_array); in zend_dfa_optimize_calls() local
407 if (func_info->callee_info) { in zend_dfa_optimize_calls()
408 zend_call_info *call_info = func_info->callee_info; in zend_dfa_optimize_calls()
H A Dzend_inference.c1575 zend_func_info *func_info = ZEND_FUNC_INFO(op_array); in zend_inference_propagate_range() local
1577 if (!func_info || !func_info->call_map) { in zend_inference_propagate_range()
1581 call_info = func_info->call_map[opline - op_array->opcodes]; in zend_inference_propagate_range()
1586 func_info = ZEND_FUNC_INFO(&call_info->callee_func->op_array); in zend_inference_propagate_range()
1587 if (func_info && func_info->return_info.has_range) { in zend_inference_propagate_range()
1588 *tmp = func_info->return_info.range; in zend_inference_propagate_range()
3753 zend_func_info *func_info = ZEND_FUNC_INFO(op_array); in _zend_update_type_info() local
3756 if (!func_info || !func_info->call_map) { in _zend_update_type_info()
3759 call_info = func_info->call_map[opline - op_array->opcodes]; in _zend_update_type_info()
/PHP-8.1/ext/opcache/jit/
H A Dzend_jit.c4163 zend_func_info *func_info; in zend_jit_collect_calls() local
4168 func_info = ZEND_FUNC_INFO(op_array); in zend_jit_collect_calls()
4171 ZEND_SET_FUNC_INFO(op_array, func_info); in zend_jit_collect_calls()
4181 if (func_info) { in zend_jit_cleanup_func_info()
4182 caller_info = func_info->caller_info; in zend_jit_cleanup_func_info()
4183 callee_info = func_info->callee_info; in zend_jit_cleanup_func_info()
4188 func_info->num = 0; in zend_jit_cleanup_func_info()
4217 zend_func_info *func_info; in zend_real_jit_func() local
4236 func_info = ZEND_FUNC_INFO(op_array); in zend_real_jit_func()
4237 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
428 zend_func_info func_info; member
H A Dzend_jit_trace.c560 jit_extension->func_info.num = 0; in zend_jit_trace_build_ssa()
566 ssa = &jit_extension->func_info.ssa; in zend_jit_trace_build_ssa()
578 …jit_extension->func_info.call_map = zend_build_call_map(&CG(arena), &jit_extension->func_info, op_… in zend_jit_trace_build_ssa()
1282 ssa = &jit_extension->func_info.ssa; in zend_jit_trace_build_tssa()
1300 ssa = &jit_extension->func_info.ssa; in zend_jit_trace_build_tssa()
1523 ssa = &jit_extension->func_info.ssa; in zend_jit_trace_build_tssa()
2304 ssa = &jit_extension->func_info.ssa; in zend_jit_trace_build_tssa()
2375 ssa = &jit_extension->func_info.ssa; in zend_jit_trace_build_tssa()
2527 ssa = &jit_extension->func_info.ssa; in zend_jit_trace_build_tssa()
2733 op_array_ssa = &jit_extension->func_info.ssa; in zend_jit_trace_allocate_registers()
[all …]
H A Dzend_jit_vm_helpers.c483 || !(jit_extension->func_info.flags & ZEND_FUNC_JIT_ON_HOT_TRACE) in zend_jit_trace_record_fake_init_call_ex()
880 || UNEXPECTED(!(jit_extension->func_info.flags & ZEND_FUNC_JIT_ON_HOT_TRACE))) {
1025 || !(jit_extension->func_info.flags & ZEND_FUNC_JIT_ON_HOT_TRACE)
H A Dzend_jit_x86.dasc10533 uint32_t func_info = call_info ?
10539 func_info |= MAY_BE_NULL;
10541 if (func_info & (MAY_BE_STRING|MAY_BE_ARRAY|MAY_BE_OBJECT|MAY_BE_RESOURCE|MAY_BE_REF)) {
10542 | ZVAL_PTR_DTOR res_addr, func_info, 1, 1, opline
H A Dzend_jit_arm64.dasc9803 uint32_t func_info = call_info ?
9809 func_info |= MAY_BE_NULL;
9811 if (func_info & (MAY_BE_STRING|MAY_BE_ARRAY|MAY_BE_OBJECT|MAY_BE_RESOURCE|MAY_BE_REF)) {
9812 | ZVAL_PTR_DTOR res_addr, func_info, 1, 1, opline, ZREG_TMP1, ZREG_TMP2

Completed in 200 milliseconds