/PHP-8.3/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() 959 static void zend_optimize(zend_op_array *op_array, in zend_optimize() 1077 static void zend_revert_pass_two(zend_op_array *op_array) in zend_revert_pass_two() 1107 static void zend_redo_pass_two(zend_op_array *op_array) in zend_redo_pass_two() 1337 static void zend_optimize_op_array(zend_op_array *op_array, in zend_optimize_op_array() 1414 zend_op_array *op_array, zend_op_array_func_t func, void *context) { in zend_foreach_op_array_helper() 1424 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, int 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() 876 static void zend_dump_block_header(const zend_cfg *cfg, const zend_op_array *op_array, const zend_s… in zend_dump_block_header() 912 void zend_dump_op_array_name(const zend_op_array *op_array) in zend_dump_op_array_name() 925 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() 1159 void zend_dump_dominators(const zend_op_array *op_array, const zend_cfg *cfg) in zend_dump_dominators() 1174 void zend_dump_variables(const zend_op_array *op_array) in zend_dump_variables() 1188 void zend_dump_ssa_variables(const zend_op_array *op_array, const zend_ssa *ssa, uint32_t dump_flag… in zend_dump_ssa_variables() 1213 static void zend_dump_var_set(const zend_op_array *op_array, const char *name, zend_bitset set) in zend_dump_var_set() 1232 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() 155 static bool zend_is_indirectly_recursive(zend_op_array *root, zend_op_array *op_array, zend_bitset … in zend_is_indirectly_recursive() 183 zend_op_array *op_array; in zend_analyze_recursion() local 248 …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() 388 int zend_dfa_optimize_calls(zend_op_array *op_array, zend_ssa *ssa) in zend_dfa_optimize_calls() 559 static void compress_block(zend_op_array *op_array, zend_basic_block *block) in compress_block() 623 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() 728 static int zend_dfa_optimize_jmps(zend_op_array *op_array, zend_ssa *ssa) in zend_dfa_optimize_jmps() 1007 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() 797 const zend_op_array *op_array, const zend_ssa *ssa, in zend_inference_calc_binary_op_range() 1654 static bool zend_ssa_range_widening(const zend_op_array *op_array, zend_ssa *ssa, int var, int scc) in zend_ssa_range_widening() 1833 static void zend_infer_ranges(const zend_op_array *op_array, zend_ssa *ssa) /* {{{ */ in zend_infer_ranges() 2081 static void emit_type_narrowing_warning(const zend_op_array *op_array, zend_ssa *ssa, int var) in emit_type_narrowing_warning() 2525 const zend_op_array *op_array, in _zend_update_type_info() 3988 const zend_op_array *op_array, in zend_update_type_info() 4179 const zend_op_array *op_array, zend_ssa *ssa, int var_num, in can_convert_to_double() 4363 static bool is_recursive_tail_call(const zend_op_array *op_array, in is_recursive_tail_call() 4412 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() 936 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() 1410 static void zend_t_usage(zend_cfg *cfg, zend_op_array *op_array, zend_bitset used_ext, zend_optimiz… in zend_t_usage() 1614 static void zend_merge_blocks(zend_op_array *op_array, zend_cfg *cfg, uint32_t *opt_count) in zend_merge_blocks() 1674 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() 245 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() 251 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() 78 static void zend_try_inline_call(zend_op_array *op_array, zend_op *fcall, zend_op *opline, zend_fun… in zend_try_inline_call() 150 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 | 108 static void zend_mark_reachable_blocks(const zend_op_array *op_array, zend_cfg *cfg, int start) /* … in zend_mark_reachable_blocks() 229 void zend_cfg_remark_reachable_blocks(const zend_op_array *op_array, zend_cfg *cfg) /* {{{ */ in zend_cfg_remark_reachable_blocks() 270 ZEND_API void zend_build_cfg(zend_arena **arena, const zend_op_array *op_array, uint32_t build_flag… in zend_build_cfg() 673 ZEND_API void zend_cfg_compute_dominators_tree(const zend_op_array *op_array, zend_cfg *cfg) /* {{{… in zend_cfg_compute_dominators_tree() 775 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() 784 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() 790 static zend_result zend_ssa_rename(const zend_op_array *op_array, uint32_t build_flags, zend_ssa *s… in zend_ssa_rename() 907 …zend_build_ssa(zend_arena **arena, const zend_script *script, const zend_op_array *op_array, uint3… in zend_build_ssa() 1055 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() 1472 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 | 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() 501 static inline bool may_break_varargs(const zend_op_array *op_array, const zend_ssa *ssa, const zend… in may_break_varargs() 521 int dce_optimize_op_array(zend_op_array *op_array, zend_optimizer_ctx *optimizer_ctx, zend_ssa *ssa… in dce_optimize_op_array()
|
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_string *name, uint32_t num_args, zval **args) { in ct_eval_func_call() 1867 zend_op_array *op_array = scdf->op_array; in sccp_mark_feasible_successors() local 1883 zend_op_array *op_array = scdf->op_array; in sccp_mark_feasible_successors() local 2037 zend_op_array *op_array = ctx->scdf.op_array; in remove_call() local 2076 zend_op_array *op_array = ctx->scdf.op_array; in try_remove_definition() local 2312 zend_op_array *op_array = ctx->scdf.op_array; in replace_constant_operands() local 2378 zend_ssa *ssa, zend_op_array *op_array, zend_call_info **call_map) { in sccp_context_init() 2408 int sccp_optimize_op_array(zend_optimizer_ctx *ctx, zend_op_array *op_array, zend_ssa *ssa, zend_ca… in sccp_optimize_op_array()
|
/PHP-8.3/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() 527 ZEND_API void zend_destroy_static_vars(zend_op_array *op_array) in zend_destroy_static_vars() 538 ZEND_API void destroy_op_array(zend_op_array *op_array) in destroy_op_array() 635 static void zend_update_extended_stmts(zend_op_array *op_array) in zend_update_extended_stmts() 705 zend_op_array *op_array, uint32_t var_num, uint32_t kind, uint32_t start, uint32_t end) { in emit_live_range_raw() 721 zend_op_array *op_array, uint32_t var_num, uint32_t start, uint32_t end, in emit_live_range() 911 zend_op_array *op_array, zend_needs_live_range_cb needs_live_range) { in zend_calc_live_ranges() 1011 zend_op_array *op_array, zend_needs_live_range_cb needs_live_range) { in zend_recalc_live_ranges() [all …]
|
H A D | zend_extensions.c | 353 zend_op_array *op_array; member 376 ZEND_API size_t zend_extensions_op_array_persist_calc(zend_op_array *op_array) in zend_extensions_op_array_persist_calc() 390 ZEND_API size_t zend_extensions_op_array_persist(zend_op_array *op_array, void *mem) in zend_extensions_op_array_persist()
|
H A D | zend_closures.h | 26 #define ZEND_CLOSURE_OBJECT(op_array) \ argument
|
/PHP-8.3/ext/opcache/jit/ |
H A D | zend_jit.c | 833 static zend_string *zend_jit_func_name(const zend_op_array *op_array) in zend_jit_func_name() 917 const zend_op_array *op_array, in dasm_link_and_encode() 4179 static void zend_jit_cleanup_func_info(zend_op_array *op_array) in zend_jit_cleanup_func_info() 4275 zend_op_array *op_array = &EX(func)->op_array; in zend_runtime_jit() local 4320 zend_op_array *op_array; in zend_jit_check_funcs() local 4352 zend_op_array *op_array = &EX(func)->op_array; in zend_jit_hot_func() local 4414 static int zend_jit_restart_hot_counters(zend_op_array *op_array) in zend_jit_restart_hot_counters() 4434 static int zend_jit_setup_hot_counters(zend_op_array *op_array) in zend_jit_setup_hot_counters() 4628 zend_op_array *op_array; in zend_jit_script() local 5143 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 | 177 const zend_op_array *op_array; in zend_jit_trace_get_exit_point() local 488 const zend_op_array *op_array = &call->func->op_array; in zend_jit_trace_send_type() local 679 const zend_op_array *op_array; in zend_jit_trace_add_phis() local 765 const zend_op_array *op_array = trace_buffer->op_array; in zend_jit_trace_add_call_phis() local 1188 const zend_op_array *op_array; in zend_jit_trace_build_tssa() local 2709 const zend_op_array *op_array; in zend_jit_trace_allocate_registers() local 3993 const zend_op_array *op_array; in zend_jit_trace() local 7310 zend_op_array *op_array; in zend_jit_stop_persistent_script() local 7411 const zend_op_array *op_array; in zend_jit_dump_trace() local 7619 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 | 130 zend_op_array *op_array = &EX(func)->op_array; in zend_jit_copy_extra_args_helper() local 241 zend_op_array *op_array = (zend_op_array*)EX(func); in zend_jit_profile_helper() local 434 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() 445 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() 543 …t_trace_rec *trace_buffer, int start, int end, uint8_t event, const zend_op_array *op_array, const… in zend_jit_trace_subtrace() 595 const zend_op_array *op_array; local
|
/PHP-8.3/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 334 zend_op_array *op_array = Z_PTR_P(zv); in zend_persist_class_method_calc() local
|
H A D | zend_accelerator_util_funcs.c | 265 zend_op_array *op_array = &persistent_script->script.main_op_array; in zend_accel_build_delayed_early_binding_list() local 301 zend_op_array *op_array = &persistent_script->script.main_op_array; in zend_accel_finalize_delayed_early_binding_list() local 340 zend_persistent_script *persistent_script, zend_op_array *op_array) in zend_accel_do_delayed_early_binding() 378 zend_op_array *op_array; in zend_accel_load_script() local
|