Home
last modified time | relevance | path

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

/PHP-7.1/ext/opcache/Optimizer/
H A Dzend_call_graph.c46 ZEND_SET_FUNC_INFO(op_array, func_info); in zend_op_array_collect()
49 func_info->num_args = -1; in zend_op_array_collect()
50 func_info->return_value_used = -1; in zend_op_array_collect()
111 func_info->callee_info = call_info; in zend_analyze_calls()
181 zend_func_info *func_info; in zend_is_indirectly_recursive() local
189 func_info = ZEND_FUNC_INFO(op_array); in zend_is_indirectly_recursive()
193 zend_bitset_incl(visited, func_info->num); in zend_is_indirectly_recursive()
194 call_info = func_info->caller_info; in zend_is_indirectly_recursive()
208 zend_func_info *func_info; in zend_analyze_recursion() local
218 func_info = call_graph->func_infos + i; in zend_analyze_recursion()
[all …]
H A Dzend_dump.c790 zend_func_info *func_info = NULL; in zend_dump_op_array_name() local
802 if (func_info && func_info->clone_num > 0) { in zend_dump_op_array_name()
826 if (func_info) { in zend_dump_op_array()
827 func_flags = func_info->flags; in zend_dump_op_array()
835 if (func_info && func_info->num_args >= 0) { in zend_dump_op_array()
878 if (func_info && func_info->return_value_used == 0) { in zend_dump_op_array()
880 } else if (func_info && func_info->return_value_used == 1) { in zend_dump_op_array()
889 if (func_info && func_info->num_args > 0) { in zend_dump_op_array()
894 …zend_dump_type_info(func_info->arg_info[j].info.type, func_info->arg_info[j].info.ce, func_info->a… in zend_dump_op_array()
900 if (func_info) { in zend_dump_op_array()
[all …]
H A Dzend_optimizer.c913 zend_func_info *func_info = ZEND_FUNC_INFO(op_array); in zend_adjust_fcall_stack_size_graph() local
915 if (func_info) { in zend_adjust_fcall_stack_size_graph()
916 zend_call_info *call_info =func_info->callee_info; in zend_adjust_fcall_stack_size_graph()
974 zend_func_info *func_info; in zend_optimize_script() local
981 func_info = ZEND_FUNC_INFO(call_graph.op_arrays[i]); in zend_optimize_script()
982 if (func_info) { in zend_optimize_script()
983 func_info->call_map = zend_build_call_map(&ctx.arena, func_info, call_graph.op_arrays[i]); in zend_optimize_script()
992 if (func_info) { in zend_optimize_script()
993 zend_dfa_analyze_op_array(call_graph.op_arrays[i], &ctx, &func_info->ssa, &func_info->flags); in zend_optimize_script()
1000 if (func_info) { in zend_optimize_script()
[all …]
H A Dzend_call_graph.h74 …na, zend_script *script, uint32_t build_flags, zend_op_array *op_array, zend_func_info *func_info);
H A Dzend_inference.c1356 if (func_info && in zend_inference_calc_range()
1400 if (!func_info || !func_info->call_map) { in zend_inference_calc_range()
1410 if (func_info && func_info->return_info.has_range) { in zend_inference_calc_range()
1411 *tmp = func_info->return_info.range; in zend_inference_calc_range()
2766 zend_func_info *func_info; in zend_update_type_info() local
2788 func_info = ZEND_FUNC_INFO(op_array); in zend_update_type_info()
2789 if (func_info && (int)opline->op1.num-1 < func_info->num_args) { in zend_update_type_info()
2805 if (func_info && in zend_update_type_info()
3200 if (!func_info || !func_info->call_map) { in zend_update_type_info()
3211 if (func_info) { in zend_update_type_info()
[all …]
H A Ddfa_pass.c122 zend_func_info *func_info; in zend_ssa_remove_nops() local
297 func_info = ZEND_FUNC_INFO(op_array); in zend_ssa_remove_nops()
298 if (func_info) { in zend_ssa_remove_nops()
299 zend_call_info *call_info = func_info->callee_info; in zend_ssa_remove_nops()
H A Dzend_func_info.c1205 static HashTable func_info; variable
1215 …if ((info = zend_hash_find_ptr(&func_info, Z_STR_P(CRT_CONSTANT_EX(call_info->caller_op_array, cal… in zend_get_func_info()
1262 zend_hash_init(&func_info, sizeof(func_infos)/sizeof(func_info_t), NULL, NULL, 1); in zend_func_info_startup()
1264 …if (zend_hash_str_add_ptr(&func_info, func_infos[i].name, func_infos[i].name_len, (void**)&func_in… in zend_func_info_startup()
1276 zend_hash_destroy(&func_info); in zend_func_info_shutdown()

Completed in 47 milliseconds