/PHP-8.0/ext/opcache/Optimizer/ |
H A D | zend_dump.h | 34 … zend_basic_block *b, const zend_op *opline, uint32_t dump_flags, const zend_ssa *ssa, const zend_… 37 void zend_dump_phi_placement(const zend_op_array *op_array, const zend_ssa *ssa); 39 void zend_dump_ssa_variables(const zend_op_array *op_array, const zend_ssa *ssa, uint32_t dump_flag… 40 void zend_dump_ssa_var(const zend_op_array *op_array, const zend_ssa *ssa, int ssa_var_num, zend_uc…
|
H A D | zend_ssa.h | 144 } zend_ssa; typedef 151 int zend_ssa_unlink_use_chain(zend_ssa *ssa, int op, int var); 153 void zend_ssa_remove_predecessor(zend_ssa *ssa, int from, int to); 154 void zend_ssa_remove_instr(zend_ssa *ssa, zend_op *opline, zend_ssa_op *ssa_op); 155 void zend_ssa_remove_phi(zend_ssa *ssa, zend_ssa_phi *phi); 156 void zend_ssa_remove_uses_of_var(zend_ssa *ssa, int var_num); 157 void zend_ssa_remove_block(zend_op_array *op_array, zend_ssa *ssa, int b); 158 void zend_ssa_rename_var_uses(zend_ssa *ssa, int old_var, int new_var, zend_bool update_types); 168 static zend_always_inline void zend_ssa_remove_result_def(zend_ssa *ssa, zend_ssa_op *ssa_op) in zend_ssa_remove_result_def() 175 static zend_always_inline void zend_ssa_remove_op1_def(zend_ssa *ssa, zend_ssa_op *ssa_op) in zend_ssa_remove_op1_def() [all …]
|
H A D | zend_inference.h | 198 static zend_always_inline uint32_t get_ssa_var_info(const zend_ssa *ssa, int ssa_var_num) in get_ssa_var_info() 208 …static zend_always_inline uint32_t _ssa_##opN##_info(const zend_op_array *op_array, const zend_ssa… 253 int zend_ssa_find_false_dependencies(const zend_op_array *op_array, zend_ssa *ssa); 254 int zend_ssa_find_sccs(const zend_op_array *op_array, zend_ssa *ssa); 255 …rena **raena, const zend_op_array *op_array, const zend_script *script, zend_ssa *ssa, zend_long o… 259 int zend_inference_calc_range(const zend_op_array *op_array, zend_ssa *ssa, int var, int widening,… 260 int zend_inference_propagate_range(const zend_op_array *op_array, zend_ssa *ssa, zend_op *opline, z… 266 int zend_infer_types_ex(const zend_op_array *op_array, const zend_script *script, zend_ssa *ssa, z… 279 …d_op *opline, const zend_ssa_op *ssa_op, const zend_op_array *op_array, zend_ssa *ssa, uint32_t t1… 280 …ow(const zend_op *opline, const zend_ssa_op *ssa_op, const zend_op_array *op_array, zend_ssa *ssa); [all …]
|
H A D | scdf.h | 26 zend_ssa *ssa; 49 void scdf_init(zend_optimizer_ctx *ctx, scdf_ctx *scdf, zend_op_array *op_array, zend_ssa *ssa); 56 zend_ssa *ssa = scdf->ssa; in scdf_add_to_worklist()
|
H A D | zend_optimizer_internal.h | 105 int zend_dfa_analyze_op_array(zend_op_array *op_array, zend_optimizer_ctx *ctx, zend_ssa *ssa); 106 void zend_dfa_optimize_op_array(zend_op_array *op_array, zend_optimizer_ctx *ctx, zend_ssa *ssa, ze… 116 int sccp_optimize_op_array(zend_optimizer_ctx *ctx, zend_op_array *op_arrya, zend_ssa *ssa, zend_ca… 117 int dce_optimize_op_array(zend_op_array *op_array, zend_ssa *ssa, zend_bool reorder_dtor_effects); 118 int zend_ssa_escape_analysis(const zend_script *script, zend_op_array *op_array, zend_ssa *ssa);
|
H A D | dce.c | 51 zend_ssa *ssa; 63 static inline zend_bool is_bad_mod(const zend_ssa *ssa, int use, int def) { in is_bad_mod() 76 zend_op_array *op_array, zend_ssa *ssa, in may_have_side_effects() 280 …erands_to_worklists(context *ctx, zend_op *opline, zend_ssa_op *ssa_op, zend_ssa *ssa, int check) { in add_operands_to_worklists() 305 zend_ssa *ssa = ctx->ssa; in add_phi_sources_to_worklists() 385 zend_ssa *ssa = ctx->ssa; in dce_instr() 440 static inline int get_common_phi_source(zend_ssa *ssa, zend_ssa_phi *phi) { in get_common_phi_source() 461 zend_ssa *ssa = ctx->ssa; in try_remove_trivial_phi() 480 static inline zend_bool may_break_varargs(const zend_op_array *op_array, const zend_ssa *ssa, const… in may_break_varargs() 500 int dce_optimize_op_array(zend_op_array *op_array, zend_ssa *ssa, zend_bool reorder_dtor_effects) { in dce_optimize_op_array()
|
H A D | zend_func_info.h | 60 const zend_call_info *call_info, const zend_ssa *ssa,
|
H A D | ssa_integrity.c | 25 static inline zend_bool is_in_use_chain(zend_ssa *ssa, int var, int check) { in is_in_use_chain() 35 static inline zend_bool is_in_phi_use_chain(zend_ssa *ssa, int var, zend_ssa_phi *check) { in is_in_phi_use_chain() 45 static inline zend_bool is_used_by_op(zend_ssa *ssa, int op, int check) { in is_used_by_op() 52 static inline zend_bool is_defined_by_op(zend_ssa *ssa, int op, int check) { in is_defined_by_op() 59 static inline zend_bool is_in_phi_sources(zend_ssa *ssa, zend_ssa_phi *phi, int check) { in is_in_phi_sources() 112 int ssa_verify_integrity(zend_op_array *op_array, zend_ssa *ssa, const char *extra) { in ssa_verify_integrity()
|
H A D | zend_call_graph.h | 47 zend_ssa ssa; /* Static Single Assignmnt Form */
|
H A D | zend_ssa.c | 94 zend_arena **arena, const zend_op_array *op_array, zend_dfg *dfg, zend_ssa *ssa, in add_pi() 244 uint32_t build_flags, zend_ssa *ssa, zend_dfg *dfg) /* {{{ */ { in place_essa_pis() 1182 int zend_ssa_unlink_use_chain(zend_ssa *ssa, int op, int var) /* {{{ */ in zend_ssa_unlink_use_chain() 1223 void zend_ssa_remove_instr(zend_ssa *ssa, zend_op *opline, zend_ssa_op *ssa_op) /* {{{ */ in zend_ssa_remove_instr() 1285 static void zend_ssa_remove_uses_of_phi_sources(zend_ssa *ssa, zend_ssa_phi *phi) /* {{{ */ in zend_ssa_remove_uses_of_phi_sources() 1294 static void zend_ssa_remove_phi_from_block(zend_ssa *ssa, zend_ssa_phi *phi) /* {{{ */ in zend_ssa_remove_phi_from_block() 1352 void zend_ssa_remove_phi(zend_ssa *ssa, zend_ssa_phi *phi) /* {{{ */ in zend_ssa_remove_phi() 1364 void zend_ssa_remove_uses_of_var(zend_ssa *ssa, int var_num) /* {{{ */ in zend_ssa_remove_uses_of_var() 1397 void zend_ssa_remove_predecessor(zend_ssa *ssa, int from, int to) /* {{{ */ in zend_ssa_remove_predecessor() 1443 void zend_ssa_remove_block(zend_op_array *op_array, zend_ssa *ssa, int i) /* {{{ */ in zend_ssa_remove_block() [all …]
|
H A D | scdf.c | 83 void scdf_init(zend_optimizer_ctx *ctx, scdf_ctx *scdf, zend_op_array *op_array, zend_ssa *ssa) { in scdf_init() 105 zend_ssa *ssa = scdf->ssa; in scdf_solve() 218 zend_ssa *ssa = scdf->ssa; in scdf_remove_unreachable_blocks()
|
H A D | escape_analysis.c | 77 static int zend_build_equi_escape_sets(int *parent, zend_op_array *op_array, zend_ssa *ssa) /* {{{ … in zend_build_equi_escape_sets() 167 static int is_allocation_def(zend_op_array *op_array, zend_ssa *ssa, int def, int var, const zend_s… in is_allocation_def() 231 static int is_local_def(zend_op_array *op_array, zend_ssa *ssa, int def, int var, const zend_script… in is_local_def() 274 static int is_escape_use(zend_op_array *op_array, zend_ssa *ssa, int use, int var) /* {{{ */ in is_escape_use() 385 int zend_ssa_escape_analysis(const zend_script *script, zend_op_array *op_array, zend_ssa *ssa) /* … in zend_ssa_escape_analysis()
|
H A D | zend_dump.c | 325 static void zend_dump_ssa_var_info(const zend_ssa *ssa, int ssa_var_num, uint32_t dump_flags) in zend_dump_ssa_var_info() 335 void zend_dump_ssa_var(const zend_op_array *op_array, const zend_ssa *ssa, int ssa_var_num, zend_uc… in zend_dump_ssa_var() 360 static void zend_dump_type_constraint(const zend_op_array *op_array, const zend_ssa *ssa, const zen… in zend_dump_type_constraint() 366 static void zend_dump_range_constraint(const zend_op_array *op_array, const zend_ssa *ssa, const ze… in zend_dump_range_constraint() 720 const zend_ssa *ssa = NULL; in zend_dump_op_line() 727 ssa = (const zend_ssa*)data; in zend_dump_op_line() 835 …_block_header(const zend_cfg *cfg, const zend_op_array *op_array, const zend_ssa *ssa, int n, uint… in zend_dump_block_header() 888 const zend_ssa *ssa = NULL; in zend_dump_op_array() 899 ssa = (const zend_ssa*)data; in zend_dump_op_array() 1147 void zend_dump_ssa_variables(const zend_op_array *op_array, const zend_ssa *ssa, uint32_t dump_flag… in zend_dump_ssa_variables() [all …]
|
H A D | dfa_pass.c | 42 int zend_dfa_analyze_op_array(zend_op_array *op_array, zend_optimizer_ctx *ctx, zend_ssa *ssa) in zend_dfa_analyze_op_array() 52 memset(ssa, 0, sizeof(zend_ssa)); in zend_dfa_analyze_op_array() 128 static void zend_ssa_remove_nops(zend_op_array *op_array, zend_ssa *ssa, zend_optimizer_ctx *ctx) in zend_ssa_remove_nops() 295 zend_op_array *op_array, zend_ssa *ssa, zend_ssa_op *ssa_op) { in can_elide_return_type_check() 326 zend_op_array *op_array, zend_ssa *ssa, zend_op *opline, int src_var, uint32_t cv_var) { in opline_supports_assign_contraction() 372 static bool variable_defined_or_used_in_range(zend_ssa *ssa, int var, int start, int end) in variable_defined_or_used_in_range() 390 int zend_dfa_optimize_calls(zend_op_array *op_array, zend_ssa *ssa) in zend_dfa_optimize_calls() 526 static zend_always_inline void take_successor_0(zend_ssa *ssa, int block_num, zend_basic_block *blo… in take_successor_0() 573 static void replace_predecessor(zend_ssa *ssa, int block_id, int old_pred, int new_pred) { in replace_predecessor() 733 static int zend_dfa_optimize_jmps(zend_op_array *op_array, zend_ssa *ssa) in zend_dfa_optimize_jmps() [all …]
|
H A D | zend_inference.c | 210 int zend_ssa_find_sccs(const zend_op_array *op_array, zend_ssa *ssa) /* {{{ */ in zend_ssa_find_sccs() 256 int zend_ssa_find_false_dependencies(const zend_op_array *op_array, zend_ssa *ssa) /* {{{ */ in zend_ssa_find_false_dependencies() 565 const zend_op_array *op_array, zend_ssa *ssa, in zend_inference_calc_binary_op_range() 1567 static int zend_infer_ranges(const zend_op_array *op_array, zend_ssa *ssa) /* {{{ */ in zend_infer_ranges() 1805 static void emit_type_narrowing_warning(const zend_op_array *op_array, zend_ssa *ssa, int var) in emit_type_narrowing_warning() 1924 zend_ssa *ssa, zend_uchar opcode, uint32_t t1, uint32_t t2, int result_var, in binary_op_result_type() 2194 static zend_bool result_may_be_separated(zend_ssa *ssa, zend_ssa_op *ssa_op) in result_may_be_separated() 2215 zend_ssa *ssa, in _zend_update_type_info() 3546 zend_ssa *ssa, in zend_update_type_info() 3724 const zend_op_array *op_array, zend_ssa *ssa, int var_num, in can_convert_to_double() [all …]
|
H A D | sccp.c | 1975 zend_ssa *ssa = scdf->ssa; in sccp_mark_feasible_successors() 1991 zend_ssa *ssa = scdf->ssa; in sccp_mark_feasible_successors() 2098 zend_ssa *ssa = scdf->ssa; in sccp_visit_phi() 2141 zend_ssa *ssa = ctx->scdf.ssa; in value_from_type_and_range() 2184 zend_ssa *ssa = ctx->scdf.ssa; in remove_call() 2223 zend_ssa *ssa = ctx->scdf.ssa; in try_remove_definition() 2450 zend_ssa *ssa = ctx->scdf.ssa; in replace_constant_operands() 2517 zend_ssa *ssa, zend_op_array *op_array, zend_call_info **call_map) { in sccp_context_init() 2547 int sccp_optimize_op_array(zend_optimizer_ctx *ctx, zend_op_array *op_array, zend_ssa *ssa, zend_ca… in sccp_optimize_op_array()
|
H A D | zend_func_info.c | 33 typedef uint32_t (*info_func_t)(const zend_call_info *call_info, const zend_ssa *ssa); 55 static uint32_t zend_range_info(const zend_call_info *call_info, const zend_ssa *ssa) in zend_range_info() 832 const zend_call_info *call_info, const zend_ssa *ssa, zend_string *lcname) { in get_internal_func_info() 852 const zend_call_info *call_info, const zend_ssa *ssa, in zend_get_func_info()
|
H A D | zend_optimizer.c | 1178 static void zend_redo_pass_two_ex(zend_op_array *op_array, zend_ssa *ssa) in zend_redo_pass_two_ex()
|
/PHP-8.0/ext/opcache/tests/ |
H A D | bug78034.phpt | 2 Bug #78034: "pecl" tool fails with abort assertion in zend_ssa.c
|
/PHP-8.0/ext/opcache/ |
H A D | config.w32 | 41 …s_5.c nop_removal.c compact_literals.c zend_cfg.c zend_dfg.c dfa_pass.c zend_ssa.c zend_inference.…
|
H A D | config.m4 | 326 Optimizer/zend_ssa.c \
|
/PHP-8.0/ext/opcache/jit/ |
H A D | zend_jit.c | 134 static zend_bool zend_ssa_is_last_use(const zend_op_array *op_array, const zend_ssa *ssa, int var, … in zend_ssa_is_last_use() 327 zend_ssa *ssa, in dasm_link_and_encode() 730 static int zend_jit_op_array_analyze1(const zend_op_array *op_array, zend_script *script, zend_ssa … in zend_jit_op_array_analyze1() 1030 static int *zend_jit_compute_block_order_int(zend_ssa *ssa, int n, int *block_order) in zend_jit_compute_block_order_int() 1051 static int zend_jit_compute_block_order(zend_ssa *ssa, int *block_order) in zend_jit_compute_block_order() 1058 static zend_bool zend_jit_in_loop(zend_ssa *ssa, int header, zend_basic_block *b) in zend_jit_in_loop() 1069 static void zend_jit_compute_loop_body(zend_ssa *ssa, int header, int n, zend_bitset loop_body) in zend_jit_compute_loop_body() 1854 static zend_lifetime_interval** zend_jit_allocate_registers(const zend_op_array *op_array, zend_ssa… in zend_jit_allocate_registers() 2104 static int zend_jit(const zend_op_array *op_array, zend_ssa *ssa, const zend_op *rt_opline) in zend_jit() 3605 zend_ssa ssa; in zend_real_jit_func() [all …]
|
H A D | zend_jit_trace.c | 482 zend_ssa *ssa; in zend_jit_trace_build_ssa() 521 memset(ssa, 0, sizeof(zend_ssa)); in zend_jit_trace_build_ssa() 729 …ssa_var_info(const zend_op_array *op_array, const zend_ssa *ssa, const zend_op **tssa_opcodes, zen… in zend_jit_trace_copy_ssa_var_info() 771 …sa_var_range(const zend_op_array *op_array, const zend_ssa *ssa, const zend_op **tssa_opcodes, zen… in zend_jit_trace_copy_ssa_var_range() 819 …ssa_var_info(const zend_op_array *op_array, const zend_ssa *ssa, const zend_op **tssa_opcodes, zen… in zend_jit_trace_restrict_ssa_var_info() 1063 zend_ssa ssa; 1072 zend_ssa *tssa; in zend_jit_trace_build_tssa() 1087 zend_ssa *ssa; in zend_jit_trace_build_tssa() 2428 const zend_ssa *op_array_ssa; in zend_jit_trace_allocate_registers() 3317 zend_ssa *ssa, in zend_jit_trace_deoptimization() [all …]
|
H A D | zend_jit_x86.dasc | 9672 zend_ssa *ssa, 9923 zend_ssa *ssa, 11469 static uint32_t zend_ssa_cv_info(const zend_op_array *op_array, zend_ssa *ssa, uint32_t var) 12009 zend_ssa *ssa, 13092 zend_ssa *ssa, 13486 zend_ssa *ssa, 13868 zend_ssa *ssa, 14210 zend_ssa *ssa, 15362 zend_ssa *ssa, 15730 static zend_bool zend_jit_var_supports_reg(zend_ssa *ssa, int var) [all …]
|