/php-src/Zend/Optimizer/ |
H A D | dfa_pass.c | 41 …d_result zend_dfa_analyze_op_array(zend_op_array *op_array, zend_optimizer_ctx *ctx, zend_ssa *ssa) 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() 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() 383 static bool variable_defined_or_used_in_range(zend_ssa *ssa, int var, int start, int end) in variable_defined_or_used_in_range() 401 int zend_dfa_optimize_calls(zend_op_array *op_array, zend_ssa *ssa) in zend_dfa_optimize_calls() 538 static zend_always_inline void take_successor_0(zend_ssa *ssa, int block_num, zend_basic_block *blo… in take_successor_0() 548 static zend_always_inline void take_successor_1(zend_ssa *ssa, int block_num, zend_basic_block *blo… in take_successor_1() 585 static void replace_predecessor(zend_ssa *ssa, int block_id, int old_pred, int new_pred) { in replace_predecessor() 742 static int zend_dfa_optimize_jmps(zend_op_array *op_array, zend_ssa *ssa) in zend_dfa_optimize_jmps() [all …]
|
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() 1202 void zend_ssa_unlink_use_chain(zend_ssa *ssa, int op, int var) /* {{{ */ in zend_ssa_unlink_use_chain() 1241 void zend_ssa_replace_use_chain(zend_ssa *ssa, int op, int new_op, int var) /* {{{ */ in zend_ssa_replace_use_chain() 1364 void zend_ssa_remove_defs_of_instr(zend_ssa *ssa, zend_ssa_op *ssa_op) /* {{{ */ in zend_ssa_remove_defs_of_instr() 1410 void zend_ssa_remove_phi(zend_ssa *ssa, zend_ssa_phi *phi) /* {{{ */ in zend_ssa_remove_phi() 1422 void zend_ssa_remove_uses_of_var(zend_ssa *ssa, int var_num) /* {{{ */ in zend_ssa_remove_uses_of_var() 1455 void zend_ssa_remove_predecessor(zend_ssa *ssa, int from, int to) /* {{{ */ in zend_ssa_remove_predecessor() 1501 void zend_ssa_remove_block(zend_op_array *op_array, zend_ssa *ssa, int i) /* {{{ */ in zend_ssa_remove_block() 1530 void zend_ssa_remove_block_from_cfg(zend_ssa *ssa, int i) /* {{{ */ in zend_ssa_remove_block_from_cfg() [all …]
|
H A D | dce.c | 50 zend_ssa *ssa; member 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() 293 …erands_to_worklists(context *ctx, zend_op *opline, zend_ssa_op *ssa_op, zend_ssa *ssa, int check) { in add_operands_to_worklists() 318 zend_ssa *ssa = ctx->ssa; in add_phi_sources_to_worklists() local 414 zend_ssa *ssa = ctx->ssa; in dce_instr() local 466 static inline int get_common_phi_source(zend_ssa *ssa, zend_ssa_phi *phi) { in get_common_phi_source() 487 zend_ssa *ssa = ctx->ssa; in try_remove_trivial_phi() local 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()
|
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() 92 static inline bool is_defined(const zend_ssa *ssa, const zend_op_array *op_array, int var) { in is_defined() 116 void ssa_verify_integrity(zend_op_array *op_array, zend_ssa *ssa, const char *extra) { in ssa_verify_integrity()
|
H A D | zend_dump.c | 359 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() 369 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() 394 static void zend_dump_type_constraint(const zend_op_array *op_array, const zend_ssa *ssa, const zen… in zend_dump_type_constraint() 400 static void zend_dump_range_constraint(const zend_op_array *op_array, const zend_ssa *ssa, const ze… in zend_dump_range_constraint() 442 …t zend_basic_block *b, const zend_op *opline, uint32_t dump_flags, const zend_ssa *ssa, const zend… in zend_dump_op() 762 const zend_ssa *ssa = NULL; in zend_dump_op_line() local 881 …p_block_header(const zend_cfg *cfg, const zend_op_array *op_array, const zend_ssa *ssa, int n, uin… in zend_dump_block_header() 933 const zend_ssa *ssa = NULL; in zend_dump_op_array() local 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() 1238 void zend_dump_phi_placement(const zend_op_array *op_array, const zend_ssa *ssa) in zend_dump_phi_placement()
|
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() 2252 zend_ssa *ssa, uint8_t opcode, uint32_t t1, uint32_t t2, int result_var, in binary_op_result_type() 2500 static bool result_may_be_separated(zend_ssa *ssa, zend_ssa_op *ssa_op) in result_may_be_separated() 2521 zend_ssa *ssa, in _zend_update_type_info() 4112 zend_ssa *ssa, in zend_update_type_info() 4302 const zend_op_array *op_array, zend_ssa *ssa, int var_num, in can_convert_to_double() [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 …nd_ssa_escape_analysis(const zend_script *script, zend_op_array *op_array, zend_ssa *ssa) /* {{{ */ in zend_ssa_escape_analysis()
|
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() local 224 zend_ssa *ssa = scdf->ssa; in cleanup_loop_var_free_block() local 260 zend_ssa *ssa = scdf->ssa; in scdf_remove_unreachable_blocks() local
|
H A D | zend_func_info.c | 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() 133 const zend_call_info *call_info, const zend_ssa *ssa, in zend_get_func_info()
|
H A D | sccp.c | 1773 zend_ssa *ssa = ctx->scdf.ssa; in value_from_type_and_range() local 1918 zend_ssa *ssa = scdf->ssa; in sccp_mark_feasible_successors() local 1934 zend_ssa *ssa = scdf->ssa; in sccp_mark_feasible_successors() local 2041 zend_ssa *ssa = scdf->ssa; in sccp_visit_phi() local 2086 zend_ssa *ssa = ctx->scdf.ssa; in remove_call() local 2125 zend_ssa *ssa = ctx->scdf.ssa; in try_remove_definition() local 2372 zend_ssa *ssa = ctx->scdf.ssa; in replace_constant_operands() local 2439 zend_ssa *ssa, zend_op_array *op_array, zend_call_info **call_map) { in sccp_context_init() 2469 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 | scdf.h | 26 zend_ssa *ssa; member 56 const zend_ssa *ssa = scdf->ssa; in scdf_add_to_worklist() local
|
H A D | zend_ssa.h | 170 static zend_always_inline void zend_ssa_remove_result_def(zend_ssa *ssa, zend_ssa_op *ssa_op) in zend_ssa_remove_result_def() 177 static zend_always_inline void zend_ssa_remove_op1_def(zend_ssa *ssa, zend_ssa_op *ssa_op) in zend_ssa_remove_op1_def() 184 static zend_always_inline void zend_ssa_remove_op2_def(zend_ssa *ssa, zend_ssa_op *ssa_op) in zend_ssa_remove_op2_def() 205 static zend_always_inline zend_ssa_phi* zend_ssa_next_use_phi(const zend_ssa *ssa, int var, const z… in zend_ssa_next_use_phi() 239 static zend_always_inline void zend_ssa_rename_defs_of_instr(zend_ssa *ssa, zend_ssa_op *ssa_op) { in zend_ssa_rename_defs_of_instr()
|
H A D | zend_inference.h | 165 static zend_always_inline uint32_t get_ssa_var_info(const zend_ssa *ssa, int ssa_var_num) in get_ssa_var_info()
|
H A D | zend_call_graph.h | 49 zend_ssa ssa; /* Static Single Assignment Form */ member
|
H A D | zend_optimizer.c | 1323 static void zend_redo_pass_two_ex(zend_op_array *op_array, zend_ssa *ssa) in zend_redo_pass_two_ex()
|
/php-src/ext/opcache/jit/ |
H A D | zend_jit.c | 120 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() 254 …zend_call_info *call_info, uint32_t b, const zend_op_array *op_array, zend_ssa *ssa, const zend_ss… in zend_jit_needs_call_chain() 441 static uint32_t skip_valid_arguments(const zend_op_array *op_array, zend_ssa *ssa, const zend_call_… in skip_valid_arguments() 468 static uint32_t zend_ssa_cv_info(const zend_op_array *op_array, zend_ssa *ssa, uint32_t var) in zend_ssa_cv_info() 868 …low(const zend_op *opline, const zend_ssa_op *ssa_op, const zend_op_array *op_array, zend_ssa *ssa) in zend_may_overflow() 1061 …c int zend_jit_op_array_analyze1(const zend_op_array *op_array, zend_script *script, zend_ssa *ssa) in zend_jit_op_array_analyze1() 1098 …op_array_analyze2(const zend_op_array *op_array, zend_script *script, zend_ssa *ssa, uint32_t opti… in zend_jit_op_array_analyze2() 1114 …c void zend_jit_allocate_registers(zend_jit_ctx *ctx, const zend_op_array *op_array, zend_ssa *ssa) in zend_jit_allocate_registers() 1381 static int zend_jit(const zend_op_array *op_array, zend_ssa *ssa, const zend_op *rt_opline) in zend_jit() 2950 zend_ssa ssa; in zend_real_jit_func() local
|
H A D | zend_jit_trace.c | 363 …a_alias_kind zend_jit_var_may_alias(const zend_op_array *op_array, const zend_ssa *ssa, uint32_t v… in zend_jit_var_may_alias() 524 zend_ssa *ssa; in zend_jit_trace_build_ssa() local 789 static bool zend_jit_trace_is_false_loop(const zend_op_array *op_array, const zend_ssa *ssa, const … in zend_jit_trace_is_false_loop() 809 const zend_ssa *ssa, in zend_jit_trace_copy_ssa_var_info() 1293 zend_ssa ssa; member 1350 zend_ssa *ssa; in zend_jit_trace_build_tssa() local 3530 zend_ssa *ssa, in zend_jit_trace_deoptimization() 3938 const zend_ssa *ssa, in zend_jit_find_ssa_var() 4040 const zend_ssa *ssa, in zend_jit_trace_must_store_type() 4060 const zend_ssa *ssa, in zend_jit_trace_may_throw() [all …]
|
H A D | zend_jit_ir.c | 283 zend_ssa *ssa; member 7992 zend_ssa *ssa, in zend_jit_fetch_constant() 8836 zend_ssa *ssa, 9289 zend_ssa *ssa, 12393 zend_ssa *ssa, 14069 zend_ssa *ssa, 14588 zend_ssa *ssa, 14947 zend_ssa *ssa, 15374 zend_ssa *ssa, 17085 zend_ssa *ssa, [all …]
|