Home
last modified time | relevance | path

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

/PHP-8.0/ext/opcache/Optimizer/
H A Dzend_call_graph.c41 ZEND_SET_FUNC_INFO(op_array, func_info); in zend_op_array_collect()
43 func_info->num = call_graph->op_arrays_count; in zend_op_array_collect()
77 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_optimizer.c1342 if (func_info) { in zend_adjust_fcall_stack_size_graph()
1368 if (func_info->ssa.vars[ssa_var].phi_use_chain) { in needs_live_range()
1434 zend_func_info *func_info; in zend_optimize_script() local
1445 if (func_info) { in zend_optimize_script()
1446 func_info->call_map = zend_build_call_map(&ctx.arena, func_info, call_graph.op_arrays[i]); in zend_optimize_script()
1455 if (func_info) { in zend_optimize_script()
1457 func_info->flags = func_info->ssa.cfg.flags; in zend_optimize_script()
1467 if (func_info) { in zend_optimize_script()
1468 zend_dfa_optimize_op_array(call_graph.op_arrays[i], &ctx, &func_info->ssa, func_info->call_map); in zend_optimize_script()
1513 func_info = ZEND_FUNC_INFO(op_array); in zend_optimize_script()
[all …]
H A Dzend_call_graph.h65 …na, zend_script *script, uint32_t build_flags, zend_op_array *op_array, zend_func_info *func_info);
H A Dzend_dump.c889 zend_func_info *func_info = NULL; in zend_dump_op_array() local
902 func_info = ZEND_FUNC_INFO(op_array); in zend_dump_op_array()
903 if (func_info) { in zend_dump_op_array()
904 func_flags = func_info->flags; in zend_dump_op_array()
964 if (func_info) { in zend_dump_op_array()
966 …zend_dump_type_info(func_info->return_info.type, func_info->return_info.ce, func_info->return_info… in zend_dump_op_array()
967 zend_dump_range(&func_info->return_info.range); in zend_dump_op_array()
H A Ddfa_pass.c133 zend_func_info *func_info; in zend_ssa_remove_nops() local
143 func_info = ZEND_FUNC_INFO(op_array); in zend_ssa_remove_nops()
144 if (func_info) { in zend_ssa_remove_nops()
145 zend_call_info **call_info = &func_info->callee_info; in zend_ssa_remove_nops()
265 if (func_info) { in zend_ssa_remove_nops()
266 zend_call_info *call_info = func_info->callee_info; in zend_ssa_remove_nops()
392 zend_func_info *func_info = ZEND_FUNC_INFO(op_array); in zend_dfa_optimize_calls() local
395 if (func_info->callee_info) { in zend_dfa_optimize_calls()
396 zend_call_info *call_info = func_info->callee_info; in zend_dfa_optimize_calls()
H A Dzend_func_info.c828 static HashTable func_info; variable
838 zval *zv = zend_hash_find_ex(&func_info, lcname, 1); in get_internal_func_info()
941 zend_hash_init(&func_info, sizeof(func_infos)/sizeof(func_info_t), NULL, NULL, 1); in zend_func_info_startup()
945 if (zend_hash_add_ptr(&func_info, key, (void**)&func_infos[i]) == NULL) { in zend_func_info_startup()
958 zend_hash_destroy(&func_info); in zend_func_info_shutdown()
H A Dzend_inference.c1297 zend_func_info *func_info = ZEND_FUNC_INFO(op_array); in zend_inference_propagate_range() local
1299 if (!func_info || !func_info->call_map) { in zend_inference_propagate_range()
1303 call_info = func_info->call_map[opline - op_array->opcodes]; in zend_inference_propagate_range()
1308 func_info = ZEND_FUNC_INFO(&call_info->callee_func->op_array); in zend_inference_propagate_range()
1309 if (func_info && func_info->return_info.has_range) { in zend_inference_propagate_range()
1310 *tmp = func_info->return_info.range; in zend_inference_propagate_range()
3413 zend_func_info *func_info = ZEND_FUNC_INFO(op_array); in _zend_update_type_info() local
3416 if (!func_info || !func_info->call_map) { in _zend_update_type_info()
3419 call_info = func_info->call_map[opline - op_array->opcodes]; in _zend_update_type_info()
/PHP-8.0/ext/opcache/jit/
H A Dzend_jit.c3553 zend_func_info *func_info; in zend_jit_collect_calls() local
3558 func_info = ZEND_FUNC_INFO(op_array); in zend_jit_collect_calls()
3561 ZEND_SET_FUNC_INFO(op_array, func_info); in zend_jit_collect_calls()
3571 if (func_info) { in zend_jit_cleanup_func_info()
3572 caller_info = func_info->caller_info; in zend_jit_cleanup_func_info()
3573 callee_info = func_info->callee_info; in zend_jit_cleanup_func_info()
3578 func_info->num = 0; in zend_jit_cleanup_func_info()
3607 zend_func_info *func_info; in zend_real_jit_func() local
3626 func_info = ZEND_FUNC_INFO(op_array); in zend_real_jit_func()
3627 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.h24 zend_func_info func_info; member
61 zend_func_info func_info; member
228 zend_func_info func_info; member
H A Dzend_jit_trace.c486 jit_extension->func_info.num = 0; in zend_jit_trace_build_ssa()
492 ssa = &jit_extension->func_info.ssa; in zend_jit_trace_build_ssa()
504 …jit_extension->func_info.call_map = zend_build_call_map(&CG(arena), &jit_extension->func_info, op_… in zend_jit_trace_build_ssa()
1171 ssa = &jit_extension->func_info.ssa; in zend_jit_trace_build_tssa()
1189 ssa = &jit_extension->func_info.ssa; in zend_jit_trace_build_tssa()
1412 ssa = &jit_extension->func_info.ssa; in zend_jit_trace_build_tssa()
2101 ssa = &jit_extension->func_info.ssa; in zend_jit_trace_build_tssa()
2172 ssa = &jit_extension->func_info.ssa; in zend_jit_trace_build_tssa()
2305 ssa = &jit_extension->func_info.ssa; in zend_jit_trace_build_tssa()
2466 op_array_ssa = &jit_extension->func_info.ssa; in zend_jit_trace_allocate_registers()
[all …]
H A Dzend_jit_vm_helpers.c478 || !(jit_extension->func_info.flags & ZEND_FUNC_JIT_ON_HOT_TRACE) in zend_jit_trace_record_fake_init_call_ex()
775 || UNEXPECTED(!(jit_extension->func_info.flags & ZEND_FUNC_JIT_ON_HOT_TRACE))) {
920 || !(jit_extension->func_info.flags & ZEND_FUNC_JIT_ON_HOT_TRACE)
H A Dzend_jit_x86.dasc10591 uint32_t func_info = call_info ?
10597 func_info |= MAY_BE_NULL;
10599 if (func_info & (MAY_BE_STRING|MAY_BE_ARRAY|MAY_BE_OBJECT|MAY_BE_RESOURCE|MAY_BE_REF)) {
10600 | ZVAL_PTR_DTOR res_addr, func_info, 1, 1, opline

Completed in 319 milliseconds