/php-src/Zend/Optimizer/ |
H A D | zend_optimizer.c | 233 int zend_optimizer_add_literal(zend_op_array *op_array, const zval *zv) in zend_optimizer_add_literal() 277 bool zend_optimizer_update_op1_const(zend_op_array *op_array, in zend_optimizer_update_op1_const() 438 bool zend_optimizer_update_op2_const(zend_op_array *op_array, in zend_optimizer_update_op2_const() 620 bool zend_optimizer_replace_by_const(zend_op_array *op_array, in zend_optimizer_replace_by_const() 1065 static void zend_optimize(zend_op_array *op_array, in zend_optimize() 1183 static void zend_revert_pass_two(zend_op_array *op_array) in zend_revert_pass_two() 1213 static void zend_redo_pass_two(zend_op_array *op_array) in zend_redo_pass_two() 1465 static void zend_optimize_op_array(zend_op_array *op_array, in zend_optimize_op_array() 1542 zend_op_array *op_array, zend_op_array_func_t func, void *context) { in zend_foreach_op_array_helper() 1552 zend_op_array *op_array; in zend_foreach_op_array() local [all …]
|
H A D | zend_dump.c | 140 ZEND_API void zend_dump_var(const zend_op_array *op_array, uint8_t var_type, uint32_t var_num) in zend_dump_var() 400 static void zend_dump_range_constraint(const zend_op_array *op_array, const zend_ssa *ssa, const ze… in zend_dump_range_constraint() 759 ZEND_API void zend_dump_op_line(const zend_op_array *op_array, const zend_basic_block *b, const zen… in zend_dump_op_line() 881 static void zend_dump_block_header(const zend_cfg *cfg, const zend_op_array *op_array, const zend_s… in zend_dump_block_header() 917 void zend_dump_op_array_name(const zend_op_array *op_array) in zend_dump_op_array_name() 930 ZEND_API void zend_dump_op_array(const zend_op_array *op_array, uint32_t dump_flags, const char *ms… in zend_dump_op_array() 1163 void zend_dump_dominators(const zend_op_array *op_array, const zend_cfg *cfg) in zend_dump_dominators() 1178 void zend_dump_ssa_variables(const zend_op_array *op_array, const zend_ssa *ssa, uint32_t dump_flag… in zend_dump_ssa_variables() 1203 static void zend_dump_var_set(const zend_op_array *op_array, const char *name, zend_bitset set) in zend_dump_var_set() 1222 void zend_dump_dfg(const zend_op_array *op_array, const zend_cfg *cfg, const zend_dfg *dfg) in zend_dump_dfg() [all …]
|
H A D | zend_call_graph.c | 29 static void zend_op_array_calc(zend_op_array *op_array, void *context) in zend_op_array_calc() 35 static void zend_op_array_collect(zend_op_array *op_array, void *context) in zend_op_array_collect() 46 …s(zend_arena **arena, zend_script *script, uint32_t build_flags, zend_op_array *op_array, zend_fun… in zend_analyze_calls() 172 static bool zend_is_indirectly_recursive(zend_op_array *root, zend_op_array *op_array, zend_bitset … in zend_is_indirectly_recursive() 200 zend_op_array *op_array; in zend_analyze_recursion() local 265 …zend_build_call_map(zend_arena **arena, zend_func_info *info, const zend_op_array *op_array) /* {{… in zend_build_call_map()
|
H A D | dfa_pass.c | 41 zend_result zend_dfa_analyze_op_array(zend_op_array *op_array, zend_optimizer_ctx *ctx, zend_ssa *s… in zend_dfa_analyze_op_array() 113 static void zend_ssa_remove_nops(zend_op_array *op_array, zend_ssa *ssa, zend_optimizer_ctx *ctx) in zend_ssa_remove_nops() 269 const zend_script *script, const zend_op_array *op_array, in can_elide_list_type() 295 const zend_script *script, zend_op_array *op_array, zend_ssa *ssa, zend_ssa_op *ssa_op) { in can_elide_return_type_check() 322 zend_op_array *op_array, zend_ssa *ssa, zend_op *opline, int src_var, uint32_t cv_var) { in opline_supports_assign_contraction() 401 int zend_dfa_optimize_calls(zend_op_array *op_array, zend_ssa *ssa) in zend_dfa_optimize_calls() 572 static void compress_block(zend_op_array *op_array, zend_basic_block *block) in compress_block() 636 static void zend_ssa_replace_control_link(zend_op_array *op_array, zend_ssa *ssa, int from, int to,… in zend_ssa_replace_control_link() 742 static int zend_dfa_optimize_jmps(zend_op_array *op_array, zend_ssa *ssa) in zend_dfa_optimize_jmps() 1021 static bool zend_dfa_try_to_replace_result(zend_op_array *op_array, zend_ssa *ssa, int def, int cv_… in zend_dfa_try_to_replace_result() [all …]
|
H A D | zend_inference.c | 443 ZEND_API void zend_ssa_find_sccs(const zend_op_array *op_array, zend_ssa *ssa) /* {{{ */ in zend_ssa_find_sccs() 787 const zend_op_array *op_array, const zend_ssa *ssa, in zend_inference_calc_binary_op_range() 1644 static bool zend_ssa_range_widening(const zend_op_array *op_array, zend_ssa *ssa, int var, int scc) in zend_ssa_range_widening() 1823 static void zend_infer_ranges(const zend_op_array *op_array, zend_ssa *ssa) /* {{{ */ in zend_infer_ranges() 2076 static void emit_type_narrowing_warning(const zend_op_array *op_array, zend_ssa *ssa, int var) in emit_type_narrowing_warning() 2520 const zend_op_array *op_array, in _zend_update_type_info() 4111 const zend_op_array *op_array, in zend_update_type_info() 4302 const zend_op_array *op_array, zend_ssa *ssa, int var_num, in can_convert_to_double() 4486 static bool is_recursive_tail_call(const zend_op_array *op_array, in is_recursive_tail_call() 4535 const zend_op_array *op_array, const zend_script *script, zend_ssa_var_info *ret) in zend_init_func_return_info() [all …]
|
H A D | escape_analysis.c | 76 static zend_result zend_build_equi_escape_sets(int *parent, zend_op_array *op_array, zend_ssa *ssa)… in zend_build_equi_escape_sets() 150 static bool is_allocation_def(zend_op_array *op_array, zend_ssa *ssa, int def, int var, const zend_… in is_allocation_def() 221 static bool is_local_def(zend_op_array *op_array, zend_ssa *ssa, int def, int var, const zend_scrip… in is_local_def() 271 static bool is_escape_use(zend_op_array *op_array, zend_ssa *ssa, int use, int var) /* {{{ */ in is_escape_use() 382 zend_result zend_ssa_escape_analysis(const zend_script *script, zend_op_array *op_array, zend_ssa *… in zend_ssa_escape_analysis()
|
H A D | block_pass.c | 65 static void strip_leading_nops(zend_op_array *op_array, zend_basic_block *b) in strip_leading_nops() 75 static void strip_nops(zend_op_array *op_array, zend_basic_block *b) in strip_nops() 109 static int get_const_switch_target(zend_cfg *cfg, zend_op_array *op_array, zend_basic_block *block,… in get_const_switch_target() 134 static void zend_optimize_block(zend_basic_block *block, zend_op_array *op_array, zend_bitset used_… in zend_optimize_block() 935 static void assemble_code_blocks(zend_cfg *cfg, zend_op_array *op_array, zend_optimizer_ctx *ctx) in assemble_code_blocks() 1182 static void zend_jmp_optimization(zend_basic_block *block, zend_op_array *op_array, const zend_cfg … in zend_jmp_optimization() 1409 static void zend_t_usage(zend_cfg *cfg, zend_op_array *op_array, zend_bitset used_ext, zend_optimiz… in zend_t_usage() 1613 static void zend_merge_blocks(zend_op_array *op_array, zend_cfg *cfg, uint32_t *opt_count) in zend_merge_blocks() 1673 void zend_optimize_cfg(zend_op_array *op_array, zend_optimizer_ctx *ctx) in zend_optimize_cfg()
|
H A D | zend_dfg.c | 22 static zend_always_inline void _zend_dfg_add_use_def_op(const zend_op_array *op_array, const zend_o… in _zend_dfg_add_use_def_op() 246 ZEND_API void zend_dfg_add_use_def_op(const zend_op_array *op_array, const zend_op *opline, uint32_… in zend_dfg_add_use_def_op() 252 void zend_build_dfg(const zend_op_array *op_array, const zend_cfg *cfg, zend_dfg *dfg, uint32_t bui… in zend_build_dfg()
|
H A D | optimize_func_calls.c | 40 static void zend_delete_call_instructions(zend_op_array *op_array, zend_op *opline) in zend_delete_call_instructions() 79 static void zend_try_inline_call(zend_op_array *op_array, zend_op *fcall, zend_op *opline, zend_fun… in zend_try_inline_call() 151 void zend_optimize_func_calls(zend_op_array *op_array, zend_optimizer_ctx *ctx) in zend_optimize_func_calls()
|
H A D | zend_cfg.c | 107 static void zend_mark_reachable_blocks(const zend_op_array *op_array, zend_cfg *cfg, int start) /* … in zend_mark_reachable_blocks() 228 void zend_cfg_remark_reachable_blocks(const zend_op_array *op_array, zend_cfg *cfg) /* {{{ */ in zend_cfg_remark_reachable_blocks() 269 ZEND_API void zend_build_cfg(zend_arena **arena, const zend_op_array *op_array, uint32_t build_flag… in zend_build_cfg() 672 ZEND_API void zend_cfg_compute_dominators_tree(const zend_op_array *op_array, zend_cfg *cfg) /* {{{… in zend_cfg_compute_dominators_tree() 774 ZEND_API void zend_cfg_identify_loops(const zend_op_array *op_array, zend_cfg *cfg) /* {{{ */ in zend_cfg_identify_loops()
|
H A D | zend_func_info.h | 47 #define ZEND_FUNC_INFO(op_array) \ argument 50 #define ZEND_SET_FUNC_INFO(op_array, info) do { \ argument
|
H A D | pass1.c | 43 static void replace_by_const_or_qm_assign(zend_op_array *op_array, zend_op *opline, zval *result) { in replace_by_const_or_qm_assign() 60 void zend_optimizer_pass1(zend_op_array *op_array, zend_optimizer_ctx *ctx) in zend_optimizer_pass1()
|
H A D | zend_ssa.c | 60 static bool needs_pi(const zend_op_array *op_array, const zend_dfg *dfg, const zend_ssa *ssa, int f… in needs_pi() 93 zend_arena **arena, const zend_op_array *op_array, zend_dfg *dfg, zend_ssa *ssa, in add_pi() 185 static int find_adjusted_tmp_var(const zend_op_array *op_array, uint32_t build_flags, zend_op *opli… in find_adjusted_tmp_var() 242 zend_arena **arena, const zend_script *script, const zend_op_array *op_array, in place_essa_pis() 543 static zend_always_inline int _zend_ssa_rename_op(const zend_op_array *op_array, const zend_op *opl… in _zend_ssa_rename_op() 813 ZEND_API int zend_ssa_rename_op(const zend_op_array *op_array, const zend_op *opline, uint32_t k, u… in zend_ssa_rename_op() 819 static zend_result zend_ssa_rename(const zend_op_array *op_array, uint32_t build_flags, zend_ssa *s… in zend_ssa_rename() 936 …zend_build_ssa(zend_arena **arena, const zend_script *script, const zend_op_array *op_array, uint3… in zend_build_ssa() 1084 ZEND_API void zend_ssa_compute_use_def_chains(zend_arena **arena, const zend_op_array *op_array, ze… in zend_ssa_compute_use_def_chains() 1501 void zend_ssa_remove_block(zend_op_array *op_array, zend_ssa *ssa, int i) /* {{{ */ in zend_ssa_remove_block()
|
H A D | scdf.c | 82 void scdf_init(zend_optimizer_ctx *ctx, scdf_ctx *scdf, zend_op_array *op_array, zend_ssa *ssa) { in scdf_init() 209 const zend_op_array *op_array = scdf->op_array; in kept_alive_by_loop_var_free() local 225 const zend_op_array *op_array = scdf->op_array; in cleanup_loop_var_free_block() local
|
H A D | sccp.c | 210 const zend_op_array *op_array, const zend_op *opline, const zend_ssa_op *ssa_op) { in can_replace_op1() 280 const zend_op_array *op_array, zend_op *opline, zend_ssa_op *ssa_op) { in can_replace_op2() 793 zend_op_array *op_array, zval *result, zend_function *func, uint32_t num_args, zval **args) { in ct_eval_func_call_ex() 855 zend_op_array *op_array, zval *result, zend_string *name, uint32_t num_args, zval **args) { in ct_eval_func_call() 1917 zend_op_array *op_array = scdf->op_array; in sccp_mark_feasible_successors() local 1933 zend_op_array *op_array = scdf->op_array; in sccp_mark_feasible_successors() local 2087 zend_op_array *op_array = ctx->scdf.op_array; in remove_call() local 2126 zend_op_array *op_array = ctx->scdf.op_array; in try_remove_definition() local 2373 zend_op_array *op_array = ctx->scdf.op_array; in replace_constant_operands() local 2439 zend_ssa *ssa, zend_op_array *op_array, zend_call_info **call_map) { in sccp_context_init() [all …]
|
H A D | compact_literals.c | 46 static size_t type_num_classes(const zend_op_array *op_array, uint32_t arg_num) in type_num_classes() 91 zend_op_array *op_array, in add_static_slot() 154 void zend_optimizer_compact_literals(zend_op_array *op_array, zend_optimizer_ctx *ctx) in zend_optimizer_compact_literals()
|
H A D | dce.c | 51 zend_op_array *op_array; member 75 zend_op_array *op_array, zend_ssa *ssa, in may_have_side_effects() 506 static inline bool may_break_varargs(const zend_op_array *op_array, const zend_ssa *ssa, const zend… in may_break_varargs() 526 int dce_optimize_op_array(zend_op_array *op_array, zend_optimizer_ctx *optimizer_ctx, zend_ssa *ssa… in dce_optimize_op_array()
|
/php-src/Zend/ |
H A D | zend_opcode.c | 34 static void zend_extension_op_array_ctor_handler(zend_extension *extension, zend_op_array *op_array) in zend_extension_op_array_ctor_handler() 41 static void zend_extension_op_array_dtor_handler(zend_extension *extension, zend_op_array *op_array) in zend_extension_op_array_dtor_handler() 48 void init_op_array(zend_op_array *op_array, uint8_t type, int initial_ops_size) in init_op_array() 544 ZEND_API void zend_destroy_static_vars(zend_op_array *op_array) in zend_destroy_static_vars() 555 ZEND_API void destroy_op_array(zend_op_array *op_array) in destroy_op_array() 652 static void zend_update_extended_stmts(zend_op_array *op_array) in zend_update_extended_stmts() 722 zend_op_array *op_array, uint32_t var_num, uint32_t kind, uint32_t start, uint32_t end) { in emit_live_range_raw() 738 zend_op_array *op_array, uint32_t var_num, uint32_t start, uint32_t end, in emit_live_range() 929 zend_op_array *op_array, zend_needs_live_range_cb needs_live_range) { in zend_calc_live_ranges() 1029 zend_op_array *op_array, zend_needs_live_range_cb needs_live_range) { in zend_recalc_live_ranges() [all …]
|
H A D | zend_closures.h | 28 #define ZEND_CLOSURE_OBJECT(op_array) \ argument
|
H A D | zend_extensions.c | 379 zend_op_array *op_array; member 402 ZEND_API size_t zend_extensions_op_array_persist_calc(zend_op_array *op_array) in zend_extensions_op_array_persist_calc() 416 ZEND_API size_t zend_extensions_op_array_persist(zend_op_array *op_array, void *mem) in zend_extensions_op_array_persist()
|
/php-src/ext/opcache/jit/ |
H A D | zend_jit.c | 839 static zend_string *zend_jit_func_name(const zend_op_array *op_array) in zend_jit_func_name() 2911 static void zend_jit_cleanup_func_info(zend_op_array *op_array) in zend_jit_cleanup_func_info() 3019 zend_op_array *op_array = &EX(func)->op_array; in zend_runtime_jit() local 3064 zend_op_array *op_array; in zend_jit_check_funcs() local 3096 zend_op_array *op_array = &EX(func)->op_array; in zend_jit_hot_func() local 3158 static int zend_jit_restart_hot_counters(zend_op_array *op_array) in zend_jit_restart_hot_counters() 3178 static int zend_jit_setup_hot_counters(zend_op_array *op_array) in zend_jit_setup_hot_counters() 3213 int zend_jit_op_array(zend_op_array *op_array, zend_script *script) in zend_jit_op_array() 3377 zend_op_array *op_array; in zend_jit_script() local 3820 static void zend_jit_restart_preloaded_op_array(zend_op_array *op_array) in zend_jit_restart_preloaded_op_array() [all …]
|
H A D | zend_jit_trace.c | 137 const zend_op_array *op_array; in zend_jit_trace_get_exit_point() local 454 const zend_op_array *op_array = &call->func->op_array; in zend_jit_trace_send_type() local 646 const zend_op_array *op_array; in zend_jit_trace_add_phis() local 732 const zend_op_array *op_array = trace_buffer->op_array; in zend_jit_trace_add_call_phis() local 1339 const zend_op_array *op_array; in zend_jit_trace_build_tssa() local 2857 const zend_op_array *op_array; in zend_jit_trace_allocate_registers() local 4093 const zend_op_array *op_array; in zend_jit_trace() local 7674 zend_op_array *op_array; in zend_jit_stop_persistent_script() local 7793 const zend_op_array *op_array; in zend_jit_dump_trace() local 8001 const zend_op_array *op_array = t->exit_info[i].op_array; in zend_jit_dump_exit_info() local [all …]
|
H A D | zend_jit_vm_helpers.c | 125 zend_op_array *op_array = &EX(func)->op_array; in zend_jit_copy_extra_args_helper() local 245 zend_op_array *op_array = (zend_op_array*)EX(func); in zend_jit_profile_helper() local 438 static int zend_jit_trace_recursive_call_count(const zend_op_array *op_array, const zend_op_array *… in zend_jit_trace_recursive_call_count() 449 static int zend_jit_trace_recursive_ret_count(const zend_op_array *op_array, const zend_op_array **… in zend_jit_trace_recursive_ret_count() 549 …t_trace_rec *trace_buffer, int start, int end, uint8_t event, const zend_op_array *op_array, const… in zend_jit_trace_subtrace() 607 const zend_op_array *op_array; local
|
/php-src/ext/opcache/ |
H A D | zend_persist_calc.c | 203 static void zend_persist_op_array_calc_ex(zend_op_array *op_array) in zend_persist_op_array_calc_ex() 321 zend_op_array *op_array = Z_PTR_P(zv); in zend_persist_op_array_calc() local 332 static void zend_persist_class_method_calc(zend_op_array *op_array) in zend_persist_class_method_calc()
|
H A D | zend_accelerator_util_funcs.c | 263 zend_op_array *op_array = &persistent_script->script.main_op_array; in zend_accel_build_delayed_early_binding_list() local 299 zend_op_array *op_array = &persistent_script->script.main_op_array; in zend_accel_finalize_delayed_early_binding_list() local 338 zend_persistent_script *persistent_script, zend_op_array *op_array) in zend_accel_do_delayed_early_binding() 376 zend_op_array *op_array; in zend_accel_load_script() local
|