/PHP-8.1/Zend/Optimizer/ |
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_defs_of_instr(zend_ssa *ssa, zend_ssa_op *ssa_op); 155 void zend_ssa_remove_instr(zend_ssa *ssa, zend_op *opline, zend_ssa_op *ssa_op); 156 void zend_ssa_remove_phi(zend_ssa *ssa, zend_ssa_phi *phi); 157 void zend_ssa_remove_uses_of_var(zend_ssa *ssa, int var_num); 158 void zend_ssa_remove_block(zend_op_array *op_array, zend_ssa *ssa, int b); 159 void zend_ssa_rename_var_uses(zend_ssa *ssa, int old_var, int new_var, bool update_types); 160 void zend_ssa_remove_block_from_cfg(zend_ssa *ssa, int b); [all …]
|
H A D | zend_dump.h | 35 … zend_basic_block *b, const zend_op *opline, uint32_t dump_flags, const zend_ssa *ssa, const zend_… 39 void zend_dump_phi_placement(const zend_op_array *op_array, const zend_ssa *ssa); 41 void zend_dump_ssa_variables(const zend_op_array *op_array, const zend_ssa *ssa, uint32_t dump_flag… 42 ZEND_API void zend_dump_ssa_var(const zend_op_array *op_array, const zend_ssa *ssa, int ssa_var_num…
|
H A D | zend_inference.h | 39 …inline bool _ssa_##opN##_has_range(const zend_op_array *op_array, const zend_ssa *ssa, const zend_… 54 …e zend_long _ssa_##opN##_min_range(const zend_op_array *op_array, const zend_ssa *ssa, const zend_… 194 static zend_always_inline uint32_t get_ssa_var_info(const zend_ssa *ssa, int ssa_var_num) in get_ssa_var_info() 204 …static zend_always_inline uint32_t _ssa_##opN##_info(const zend_op_array *op_array, const zend_ssa… 249 ZEND_API int zend_ssa_find_false_dependencies(const zend_op_array *op_array, zend_ssa *ssa); 250 ZEND_API int zend_ssa_find_sccs(const zend_op_array *op_array, zend_ssa *ssa); 251 …rena **raena, const zend_op_array *op_array, const zend_script *script, zend_ssa *ssa, zend_long o… 255 ZEND_API int zend_inference_propagate_range(const zend_op_array *op_array, zend_ssa *ssa, zend_op *… 265 …d_op *opline, const zend_ssa_op *ssa_op, const zend_op_array *op_array, zend_ssa *ssa, uint32_t t1… 266 …ow(const zend_op *opline, const zend_ssa_op *ssa_op, const zend_op_array *op_array, zend_ssa *ssa); [all …]
|
H A D | zend_func_info.h | 60 const zend_function *callee_func, const zend_call_info *call_info, const zend_ssa *ssa); 62 const zend_call_info *call_info, const zend_ssa *ssa,
|
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 | 106 int zend_dfa_analyze_op_array(zend_op_array *op_array, zend_optimizer_ctx *ctx, zend_ssa *ssa); 107 void zend_dfa_optimize_op_array(zend_op_array *op_array, zend_optimizer_ctx *ctx, zend_ssa *ssa, ze… 117 int sccp_optimize_op_array(zend_optimizer_ctx *ctx, zend_op_array *op_array, zend_ssa *ssa, zend_ca… 118 int dce_optimize_op_array(zend_op_array *op_array, zend_ssa *ssa, bool reorder_dtor_effects); 119 int zend_ssa_escape_analysis(const zend_script *script, zend_op_array *op_array, zend_ssa *ssa);
|
H A D | dce.c | 50 zend_ssa *ssa; 62 static inline bool is_bad_mod(const zend_ssa *ssa, int use, int def) { in is_bad_mod() 75 zend_op_array *op_array, zend_ssa *ssa, in may_have_side_effects() 294 …erands_to_worklists(context *ctx, zend_op *opline, zend_ssa_op *ssa_op, zend_ssa *ssa, int check) { in add_operands_to_worklists() 319 zend_ssa *ssa = ctx->ssa; in add_phi_sources_to_worklists() 415 zend_ssa *ssa = ctx->ssa; in dce_instr() 467 static inline int get_common_phi_source(zend_ssa *ssa, zend_ssa_phi *phi) { in get_common_phi_source() 488 zend_ssa *ssa = ctx->ssa; in try_remove_trivial_phi() 507 static inline bool may_break_varargs(const zend_op_array *op_array, const zend_ssa *ssa, const zend… in may_break_varargs() 527 int dce_optimize_op_array(zend_op_array *op_array, zend_ssa *ssa, bool reorder_dtor_effects) { in dce_optimize_op_array()
|
H A D | zend_func_info.c | 32 typedef uint32_t (*info_func_t)(const zend_call_info *call_info, const zend_ssa *ssa); 52 static uint32_t zend_range_info(const zend_call_info *call_info, const zend_ssa *ssa) in zend_range_info() 102 const zend_function *callee_func, const zend_call_info *call_info, const zend_ssa *ssa) { in zend_get_internal_func_info() 128 const zend_call_info *call_info, const zend_ssa *ssa, in zend_get_func_info()
|
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() 104 zend_ssa *ssa = scdf->ssa; in scdf_solve() 224 zend_ssa *ssa = scdf->ssa; in cleanup_loop_var_free_block() 260 zend_ssa *ssa = scdf->ssa; in scdf_remove_unreachable_blocks()
|
H A D | ssa_integrity.c | 24 static inline bool is_in_use_chain(zend_ssa *ssa, int var, int check) { in is_in_use_chain() 34 static inline bool is_in_phi_use_chain(zend_ssa *ssa, int var, zend_ssa_phi *check) { in is_in_phi_use_chain() 44 static inline bool is_used_by_op(zend_ssa *ssa, int op, int check) { in is_used_by_op() 51 static inline bool is_defined_by_op(zend_ssa *ssa, int op, int check) { in is_defined_by_op() 58 static inline bool is_in_phi_sources(zend_ssa *ssa, zend_ssa_phi *phi, int check) { in is_in_phi_sources() 111 int ssa_verify_integrity(zend_op_array *op_array, zend_ssa *ssa, const char *extra) { in ssa_verify_integrity()
|
H A D | zend_ssa.c | 93 zend_arena **arena, const zend_op_array *op_array, zend_dfg *dfg, zend_ssa *ssa, in add_pi() 243 uint32_t build_flags, zend_ssa *ssa, zend_dfg *dfg) /* {{{ */ { in place_essa_pis() 1178 int zend_ssa_unlink_use_chain(zend_ssa *ssa, int op, int var) /* {{{ */ in zend_ssa_unlink_use_chain() 1290 static void zend_ssa_remove_phi_from_block(zend_ssa *ssa, zend_ssa_phi *phi) /* {{{ */ in zend_ssa_remove_phi_from_block() 1302 void zend_ssa_remove_defs_of_instr(zend_ssa *ssa, zend_ssa_op *ssa_op) /* {{{ */ in zend_ssa_remove_defs_of_instr() 1348 void zend_ssa_remove_phi(zend_ssa *ssa, zend_ssa_phi *phi) /* {{{ */ in zend_ssa_remove_phi() 1360 void zend_ssa_remove_uses_of_var(zend_ssa *ssa, int var_num) /* {{{ */ in zend_ssa_remove_uses_of_var() 1393 void zend_ssa_remove_predecessor(zend_ssa *ssa, int from, int to) /* {{{ */ in zend_ssa_remove_predecessor() 1439 void zend_ssa_remove_block(zend_op_array *op_array, zend_ssa *ssa, int i) /* {{{ */ in zend_ssa_remove_block() 1468 void zend_ssa_remove_block_from_cfg(zend_ssa *ssa, int i) /* {{{ */ in zend_ssa_remove_block_from_cfg() [all …]
|
H A D | escape_analysis.c | 76 static int zend_build_equi_escape_sets(int *parent, zend_op_array *op_array, zend_ssa *ssa) /* {{{ … in zend_build_equi_escape_sets() 150 static int is_allocation_def(zend_op_array *op_array, zend_ssa *ssa, int def, int var, const zend_s… in is_allocation_def() 215 static int is_local_def(zend_op_array *op_array, zend_ssa *ssa, int def, int var, const zend_script… in is_local_def() 259 static int is_escape_use(zend_op_array *op_array, zend_ssa *ssa, int use, int var) /* {{{ */ in is_escape_use() 370 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_call_graph.h | 48 zend_ssa ssa; /* Static Single Assignment Form */
|
H A D | zend_dump.c | 341 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() 351 ZEND_API void zend_dump_ssa_var(const zend_op_array *op_array, const zend_ssa *ssa, int ssa_var_num… in zend_dump_ssa_var() 376 static void zend_dump_type_constraint(const zend_op_array *op_array, const zend_ssa *ssa, const zen… in zend_dump_type_constraint() 382 static void zend_dump_range_constraint(const zend_op_array *op_array, const zend_ssa *ssa, const ze… in zend_dump_range_constraint() 739 const zend_ssa *ssa = NULL; in zend_dump_op_line() 750 ssa = (const zend_ssa*)data; in zend_dump_op_line() 858 …_block_header(const zend_cfg *cfg, const zend_op_array *op_array, const zend_ssa *ssa, int n, uint… in zend_dump_block_header() 911 const zend_ssa *ssa = NULL; in zend_dump_op_array() 922 ssa = (const zend_ssa*)data; in zend_dump_op_array() 1170 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 | 41 int zend_dfa_analyze_op_array(zend_op_array *op_array, zend_optimizer_ctx *ctx, zend_ssa *ssa) in zend_dfa_analyze_op_array() 51 memset(ssa, 0, sizeof(zend_ssa)); in zend_dfa_analyze_op_array() 127 static void zend_ssa_remove_nops(zend_op_array *op_array, zend_ssa *ssa, zend_optimizer_ctx *ctx) in zend_ssa_remove_nops() 294 const zend_script *script, zend_op_array *op_array, zend_ssa *ssa, zend_ssa_op *ssa_op) { in can_elide_return_type_check() 336 zend_op_array *op_array, zend_ssa *ssa, zend_op *opline, int src_var, uint32_t cv_var) { in opline_supports_assign_contraction() 384 static bool variable_defined_or_used_in_range(zend_ssa *ssa, int var, int start, int end) in variable_defined_or_used_in_range() 402 int zend_dfa_optimize_calls(zend_op_array *op_array, zend_ssa *ssa) in zend_dfa_optimize_calls() 539 static zend_always_inline void take_successor_0(zend_ssa *ssa, int block_num, zend_basic_block *blo… in take_successor_0() 586 static void replace_predecessor(zend_ssa *ssa, int block_id, int old_pred, int new_pred) { in replace_predecessor() 746 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 | 219 ZEND_API int zend_ssa_find_sccs(const zend_op_array *op_array, zend_ssa *ssa) /* {{{ */ 444 ZEND_API int zend_ssa_find_sccs(const zend_op_array *op_array, zend_ssa *ssa) /* {{{ */ in zend_ssa_find_sccs() 801 const zend_op_array *op_array, zend_ssa *ssa, in zend_inference_calc_binary_op_range() 1846 static int zend_infer_ranges(const zend_op_array *op_array, zend_ssa *ssa) /* {{{ */ in zend_infer_ranges() 2096 static void emit_type_narrowing_warning(const zend_op_array *op_array, zend_ssa *ssa, int var) in emit_type_narrowing_warning() 2234 zend_ssa *ssa, zend_uchar opcode, uint32_t t1, uint32_t t2, int result_var, in binary_op_result_type() 2484 static bool result_may_be_separated(zend_ssa *ssa, zend_ssa_op *ssa_op) in result_may_be_separated() 2505 zend_ssa *ssa, in _zend_update_type_info() 3899 zend_ssa *ssa, in zend_update_type_info() 4078 const zend_op_array *op_array, zend_ssa *ssa, int var_num, in can_convert_to_double() [all …]
|
H A D | sccp.c | 1956 zend_ssa *ssa = scdf->ssa; in sccp_mark_feasible_successors() 1972 zend_ssa *ssa = scdf->ssa; in sccp_mark_feasible_successors() 2079 zend_ssa *ssa = scdf->ssa; in sccp_visit_phi() 2122 zend_ssa *ssa = ctx->scdf.ssa; in value_from_type_and_range() 2162 zend_ssa *ssa = ctx->scdf.ssa; in remove_call() 2201 zend_ssa *ssa = ctx->scdf.ssa; in try_remove_definition() 2436 zend_ssa *ssa = ctx->scdf.ssa; in replace_constant_operands() 2503 zend_ssa *ssa, zend_op_array *op_array, zend_call_info **call_map) { in sccp_context_init() 2533 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_optimizer.c | 1150 static void zend_redo_pass_two_ex(zend_op_array *op_array, zend_ssa *ssa) in zend_redo_pass_two_ex()
|
/PHP-8.1/ext/opcache/tests/ |
H A D | bug78034.phpt | 2 Bug #78034: "pecl" tool fails with abort assertion in zend_ssa.c
|
/PHP-8.1/ext/opcache/jit/ |
H A D | zend_jit.c | 159 static bool zend_ssa_is_last_use(const zend_op_array *op_array, const zend_ssa *ssa, int var, int u… in zend_ssa_is_last_use() 509 static uint32_t zend_ssa_cv_info(const zend_op_array *op_array, zend_ssa *ssa, uint32_t var) in zend_ssa_cv_info() 889 zend_ssa *ssa, in dasm_link_and_encode() 1308 static int zend_jit_op_array_analyze1(const zend_op_array *op_array, zend_script *script, zend_ssa … in zend_jit_op_array_analyze1() 1608 static int *zend_jit_compute_block_order_int(zend_ssa *ssa, int n, int *block_order) in zend_jit_compute_block_order_int() 1629 static int zend_jit_compute_block_order(zend_ssa *ssa, int *block_order) in zend_jit_compute_block_order() 1636 static bool zend_jit_in_loop(zend_ssa *ssa, int header, zend_basic_block *b) in zend_jit_in_loop() 1647 static void zend_jit_compute_loop_body(zend_ssa *ssa, int header, int n, zend_bitset loop_body) in zend_jit_compute_loop_body() 2690 static int zend_jit(const zend_op_array *op_array, zend_ssa *ssa, const zend_op *rt_opline) in zend_jit() 4215 zend_ssa ssa; in zend_real_jit_func() [all …]
|
H A D | zend_jit_trace.c | 556 zend_ssa *ssa; in zend_jit_trace_build_ssa() 595 memset(ssa, 0, sizeof(zend_ssa)); in zend_jit_trace_build_ssa() 822 …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() 879 …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() 929 …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() 1174 zend_ssa ssa; 1183 zend_ssa *tssa; in zend_jit_trace_build_tssa() 1198 zend_ssa *ssa; in zend_jit_trace_build_tssa() 2695 const zend_ssa *op_array_ssa; in zend_jit_trace_allocate_registers() 3585 zend_ssa *ssa, in zend_jit_trace_deoptimization() [all …]
|
H A D | zend_jit_x86.dasc | 9608 zend_ssa *ssa, 9860 zend_ssa *ssa, 11931 zend_ssa *ssa, 13028 zend_ssa *ssa, 13514 zend_ssa *ssa, 13977 zend_ssa *ssa, 14401 zend_ssa *ssa, 15630 zend_ssa *ssa, 15931 static bool zend_jit_may_reuse_reg(const zend_op *opline, const zend_ssa_op *ssa_op, zend_ssa *ssa,… 16059 static bool zend_jit_var_supports_reg(zend_ssa *ssa, int var) [all …]
|
H A D | zend_jit_arm64.dasc | 8937 zend_ssa *ssa, 9158 zend_ssa *ssa, 11195 zend_ssa *ssa, 12253 zend_ssa *ssa, 12728 zend_ssa *ssa, 13153 zend_ssa *ssa, 13535 zend_ssa *ssa, 14679 zend_ssa *ssa, 14978 static bool zend_jit_may_reuse_reg(const zend_op *opline, const zend_ssa_op *ssa_op, zend_ssa *ssa,… 15108 static bool zend_jit_var_supports_reg(zend_ssa *ssa, int var) [all …]
|
/PHP-8.1/win32/build/ |
H A D | config.w32 | 242 …s_5.c nop_removal.c compact_literals.c zend_cfg.c zend_dfg.c dfa_pass.c zend_ssa.c zend_inference.… 293 …all_graph.h zend_cfg.h zend_dump.h zend_func_info.h zend_inference.h zend_optimizer.h zend_ssa.h");
|
/PHP-8.1/ |
H A D | configure.ac | 1631 zend_ssa.h]) 1676 Optimizer/zend_ssa.c \
|