Lines Matching refs:call_graph
1627 zend_call_graph call_graph; in zend_optimize_script() local
1628 zend_build_call_graph(&ctx.arena, script, &call_graph); in zend_optimize_script()
1633 for (i = 0; i < call_graph.op_arrays_count; i++) { in zend_optimize_script()
1634 zend_revert_pass_two(call_graph.op_arrays[i]); in zend_optimize_script()
1635 zend_optimize(call_graph.op_arrays[i], &ctx); in zend_optimize_script()
1638 zend_analyze_call_graph(&ctx.arena, script, &call_graph); in zend_optimize_script()
1640 for (i = 0; i < call_graph.op_arrays_count; i++) { in zend_optimize_script()
1641 func_info = ZEND_FUNC_INFO(call_graph.op_arrays[i]); 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()
1644 if (call_graph.op_arrays[i]->fn_flags & ZEND_ACC_HAS_RETURN_TYPE) { in zend_optimize_script()
1645 zend_init_func_return_info(call_graph.op_arrays[i], script, &func_info->return_info); in zend_optimize_script()
1650 for (i = 0; i < call_graph.op_arrays_count; i++) { in zend_optimize_script()
1651 func_info = ZEND_FUNC_INFO(call_graph.op_arrays[i]); in zend_optimize_script()
1653 if (zend_dfa_analyze_op_array(call_graph.op_arrays[i], &ctx, &func_info->ssa) == SUCCESS) { in zend_optimize_script()
1656 ZEND_SET_FUNC_INFO(call_graph.op_arrays[i], NULL); in zend_optimize_script()
1662 for (i = 0; i < call_graph.op_arrays_count; i++) { in zend_optimize_script()
1663 func_info = ZEND_FUNC_INFO(call_graph.op_arrays[i]); 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()
1670 for (i = 0; i < call_graph.op_arrays_count; i++) { in zend_optimize_script()
1671 zend_dump_op_array(call_graph.op_arrays[i], 0, "after pass 7", NULL); in zend_optimize_script()
1676 for (i = 0; i < call_graph.op_arrays_count; i++) { in zend_optimize_script()
1677 zend_optimize_temporary_variables(call_graph.op_arrays[i], &ctx); in zend_optimize_script()
1679 zend_dump_op_array(call_graph.op_arrays[i], 0, "after pass 9", NULL); in zend_optimize_script()
1685 for (i = 0; i < call_graph.op_arrays_count; i++) { in zend_optimize_script()
1686 zend_optimizer_compact_literals(call_graph.op_arrays[i], &ctx); in zend_optimize_script()
1688 zend_dump_op_array(call_graph.op_arrays[i], 0, "after pass 11", NULL); in zend_optimize_script()
1694 for (i = 0; i < call_graph.op_arrays_count; i++) { in zend_optimize_script()
1695 zend_optimizer_compact_vars(call_graph.op_arrays[i]); in zend_optimize_script()
1697 zend_dump_op_array(call_graph.op_arrays[i], 0, "after pass 13", NULL); in zend_optimize_script()
1703 for (i = 0; i < call_graph.op_arrays_count; i++) { in zend_optimize_script()
1704 zend_adjust_fcall_stack_size_graph(call_graph.op_arrays[i]); in zend_optimize_script()
1708 for (i = 0; i < call_graph.op_arrays_count; i++) { in zend_optimize_script()
1709 op_array = call_graph.op_arrays[i]; in zend_optimize_script()
1724 for (i = 0; i < call_graph.op_arrays_count; i++) { in zend_optimize_script()
1725 ZEND_SET_FUNC_INFO(call_graph.op_arrays[i], NULL); in zend_optimize_script()