/PHP-8.3/Zend/Optimizer/ |
H A D | zend_ssa.h | 92 } zend_ssa_op; typedef 140 zend_ssa_op *ops; /* array of SSA instructions */ 149 …zend_op *opline, uint32_t k, uint32_t build_flags, int ssa_vars_count, zend_ssa_op *ssa_ops, int *… 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); 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() 193 static zend_always_inline int zend_ssa_next_use(const zend_ssa_op *ssa_op, int var, int use) in END_EXTERN_C() 220 static zend_always_inline bool zend_ssa_is_no_val_use(const zend_op *opline, const zend_ssa_op *ssa… in zend_ssa_is_no_val_use() [all …]
|
H A D | zend_inference.h | 40 …t zend_op_array *op_array, const zend_ssa *ssa, const zend_op *opline, const zend_ssa_op *ssa_op) \ 55 …t zend_op_array *op_array, const zend_ssa *ssa, const zend_op *opline, const zend_ssa_op *ssa_op) \ 72 …t zend_op_array *op_array, const zend_ssa *ssa, const zend_op *opline, const zend_ssa_op *ssa_op) \ 89 …t zend_op_array *op_array, const zend_ssa *ssa, const zend_op *opline, const zend_ssa_op *ssa_op) \ 106 …t zend_op_array *op_array, const zend_ssa *ssa, const zend_op *opline, const zend_ssa_op *ssa_op) \ 175 …t zend_op_array *op_array, const zend_ssa *ssa, const zend_op *opline, const zend_ssa_op *ssa_op) \ 185 …t zend_op_array *op_array, const zend_ssa *ssa, const zend_op *opline, const zend_ssa_op *ssa_op) \ 226 …_op_array *op_array, const zend_ssa *ssa, const zend_op *opline, const zend_ssa_op* ssa_op, int va… 236 ZEND_API bool zend_may_throw_ex(const zend_op *opline, const zend_ssa_op *ssa_op, const zend_op_arr… 237 ZEND_API bool zend_may_throw(const zend_op *opline, const zend_ssa_op *ssa_op, const zend_op_array … [all …]
|
H A D | scdf.h | 40 struct _scdf_ctx *scdf, zend_op *opline, zend_ssa_op *ssa_op); 45 zend_op *opline, zend_ssa_op *ssa_op);
|
H A D | escape_analysis.c | 103 zend_ssa_op *op = ssa->ops + def; in zend_build_equi_escape_sets() 152 zend_ssa_op *ssa_op = ssa->ops + def; in is_allocation_def() 223 zend_ssa_op *op = ssa->ops + def; in is_local_def() 273 zend_ssa_op *ssa_op = ssa->ops + use; in is_escape_use() 479 zend_ssa_op *op = ssa->ops + use; in zend_ssa_escape_analysis()
|
H A D | dce.c | 76 const zend_op *opline, const zend_ssa_op *ssa_op, in may_have_side_effects() 288 static zend_always_inline void add_operands_to_worklists(context *ctx, zend_op *opline, zend_ssa_op… in add_operands_to_worklists() 343 zend_ssa_op *def_op = &ctx->ssa->ops[def]; in try_remove_var_def() 391 static inline bool is_free_of_live_var(context *ctx, zend_op *opline, zend_ssa_op *ssa_op) { in is_free_of_live_var() 408 static bool dce_instr(context *ctx, zend_op *opline, zend_ssa_op *ssa_op) { in dce_instr() 501 … may_break_varargs(const zend_op_array *op_array, const zend_ssa *ssa, const zend_ssa_op *ssa_op) { in may_break_varargs()
|
H A D | zend_dump.h | 37 …ck *b, const zend_op *opline, uint32_t dump_flags, const zend_ssa *ssa, const zend_ssa_op *ssa_op);
|
H A D | scdf.c | 124 zend_ssa_op *ssa_op = &ssa->ops[i]; in scdf_solve() 188 scdf_ctx *scdf, const zend_op *opline, const zend_ssa_op *ssa_op) { in is_live_loop_var_free() 238 zend_ssa_op *ssa_op = &scdf->ssa->ops[i]; in cleanup_loop_var_free_block()
|
H A D | ssa_integrity.c | 45 zend_ssa_op *ssa_op = &ssa->ops[op]; in is_used_by_op() 52 zend_ssa_op *ssa_op = &ssa->ops[op]; in is_defined_by_op() 208 zend_ssa_op *ssa_op = &ssa->ops[i]; in ssa_verify_integrity()
|
H A D | zend_ssa.c | 543 …zend_op *opline, uint32_t k, uint32_t build_flags, int ssa_vars_count, zend_ssa_op *ssa_ops, int *… in _zend_ssa_rename_op() 784 …zend_op *opline, uint32_t k, uint32_t build_flags, int ssa_vars_count, zend_ssa_op *ssa_ops, int *… in zend_ssa_rename_op() 794 zend_ssa_op *ssa_ops = ssa->ops; in zend_ssa_rename() 831 zend_ssa_op *fe_fetch_ssa_op = blocks[n].len != 0 in zend_ssa_rename() 1034 ssa->ops = zend_arena_calloc(arena, op_array->last, sizeof(zend_ssa_op)); in zend_build_ssa() 1035 memset(ssa->ops, 0xff, op_array->last * sizeof(zend_ssa_op)); in zend_build_ssa() 1079 zend_ssa_op *op = ssa->ops + i; in zend_ssa_compute_use_def_chains() 1252 void zend_ssa_remove_instr(zend_ssa *ssa, zend_op *opline, zend_ssa_op *ssa_op) /* {{{ */ in zend_ssa_remove_instr() 1335 void zend_ssa_remove_defs_of_instr(zend_ssa *ssa, zend_ssa_op *ssa_op) /* {{{ */ in zend_ssa_remove_defs_of_instr() 1408 zend_ssa_op *ssa_op = &ssa->ops[use]; in zend_ssa_remove_uses_of_var() [all …]
|
H A D | sccp.c | 189 static zval *get_op1_value(sccp_ctx *ctx, zend_op *opline, const zend_ssa_op *ssa_op) { in get_op1_value() 199 static zval *get_op2_value(sccp_ctx *ctx, const zend_op *opline, const zend_ssa_op *ssa_op) { in get_op2_value() 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() 293 sccp_ctx *ctx, zend_op *opline, zend_ssa_op *ssa_op, int var, zval *value) { in try_replace_op1() 306 sccp_ctx *ctx, zend_op *opline, zend_ssa_op *ssa_op, int var, zval *value) { in try_replace_op2() 868 static void sccp_visit_instr(scdf_ctx *scdf, zend_op *opline, zend_ssa_op *ssa_op) { in sccp_visit_instr() 1777 zend_op *opline, zend_ssa_op *ssa_op) { in sccp_mark_feasible_successors() 2034 static int remove_call(sccp_ctx *ctx, zend_op *opline, zend_ssa_op *ssa_op) in remove_call() 2081 zend_ssa_op *ssa_op = &ssa->ops[var->definition]; in try_remove_definition() [all …]
|
H A D | zend_inference.c | 493 zend_ssa_op *ssa_ops = ssa->ops; in zend_ssa_find_false_dependencies() 798 const zend_op *opline, const zend_ssa_op *ssa_op, uint8_t opcode, zend_ssa_range *tmp) { in zend_inference_calc_binary_op_range() 1085 const zend_ssa_op *ssa_op; in zend_inference_calc_range() 2039 zend_ssa_op *op; in add_usages() 2505 static bool result_may_be_separated(zend_ssa *ssa, zend_ssa_op *ssa_op) in result_may_be_separated() 2511 zend_ssa_op *use_op = &ssa->ops[ssa->vars[tmp_var].use_chain]; in result_may_be_separated() 2530 zend_ssa_op *ssa_op, in _zend_update_type_info() 3992 zend_ssa_op *ssa_op, in zend_update_type_info() 4193 zend_ssa_op *ssa_op = &ssa->ops[use]; in can_convert_to_double() 4465 zend_ssa_op *ssa_op = ssa->ops ? &ssa->ops[opline - op_array->opcodes] : NULL; in zend_func_return_info() [all …]
|
H A D | dfa_pass.c | 295 const zend_script *script, zend_op_array *op_array, zend_ssa *ssa, zend_ssa_op *ssa_op) { in can_elide_return_type_check() 373 const zend_ssa_op *ssa_op = &ssa->ops[start]; in variable_defined_or_used_in_range() 462 zend_ssa_op *ssa_op = ssa->ops + op_num; in zend_dfa_optimize_calls() 755 zend_ssa_op *ssa_op; in zend_dfa_optimize_jmps() 1090 zend_ssa_op *ssa_op; in zend_dfa_optimize_op_array()
|
H A D | zend_dump.c | 442 …ock *b, const zend_op *opline, uint32_t dump_flags, const zend_ssa *ssa, const zend_ssa_op *ssa_op) in zend_dump_op() 758 zend_ssa_op *ssa_op = NULL; in zend_dump_op_line()
|
H A D | zend_optimizer.c | 1245 zend_ssa_op *ssa_op = &ssa->ops[opline - op_array->opcodes]; in zend_redo_pass_two_ex() 1395 zend_ssa_op *ssa_op = &func_info->ssa.ops[def_opline - op_array->opcodes]; in needs_live_range()
|
/PHP-8.3/ext/opcache/jit/ |
H A D | zend_jit.c | 331 …_info, uint32_t b, const zend_op_array *op_array, zend_ssa *ssa, const zend_ssa_op *ssa_op, const … in zend_jit_needs_call_chain() 527 zend_ssa_op *ssa_op = &ssa->ops[opline - op_array->opcodes]; in skip_valid_arguments() 1134 static int zend_may_overflow(const zend_op *opline, const zend_ssa_op *ssa_op, const zend_op_array … in zend_may_overflow() 1794 zend_ssa_op *op; in zend_jit_compute_liveness() 2918 zend_ssa_op *ssa_op = ssa->ops ? &ssa->ops[i] : NULL; in zend_jit() 3204 zend_ssa_op *ssa_op = &ssa->ops[opline - op_array->opcodes]; in zend_jit() 3252 zend_ssa_op *ssa_op = &ssa->ops[opline - op_array->opcodes]; in zend_jit() 3293 zend_ssa_op *ssa_op = &ssa->ops[opline - op_array->opcodes]; in zend_jit() 3795 zend_ssa_op *ssa_op = &ssa->ops[opline - op_array->opcodes]; in zend_jit() 3946 zend_ssa_op *ssa_op = &ssa->ops[opline - op_array->opcodes]; in zend_jit()
|
H A D | zend_jit_trace.c | 825 zend_ssa_op *op; in zend_jit_trace_copy_ssa_var_info() 882 zend_ssa_op *op; in zend_jit_trace_copy_ssa_var_range() 932 zend_ssa_op *op; in zend_jit_trace_restrict_ssa_var_info() 985 static int find_return_ssa_var(zend_jit_trace_rec *p, zend_ssa_op *ssa_op) in find_return_ssa_var() 1185 zend_ssa_op *ssa_ops, *op; in zend_jit_trace_build_tssa() 1370 tssa->ops = ssa_ops = zend_arena_alloc(&CG(arena), ssa_ops_count * sizeof(zend_ssa_op)); in zend_jit_trace_build_tssa() 1371 memset(ssa_ops, -1, ssa_ops_count * sizeof(zend_ssa_op)); in zend_jit_trace_build_tssa() 2712 const zend_ssa_op *ssa_op; in zend_jit_trace_allocate_registers() 3499 …nst zend_op_array *op_array, zend_ssa *ssa, const zend_op **ssa_opcodes, const zend_ssa_op *ssa_op) in zend_jit_may_delay_fetch_this() 3918 const zend_ssa_op *prev_ssa_op = ssa_op - 1; in zend_jit_may_skip_comparison() [all …]
|
H A D | zend_jit_x86.dasc | 9516 const zend_ssa_op *ssa_op, 9768 const zend_ssa_op *ssa_op, 11820 const zend_ssa_op *ssa_op, 12912 const zend_ssa_op *ssa_op, 13417 const zend_ssa_op *ssa_op, 13880 const zend_ssa_op *ssa_op, 14304 const zend_ssa_op *ssa_op, 14992 zend_ssa_op *ssa_op = &ssa->ops[opline - op_array->opcodes]; 15620 const zend_ssa_op *ssa_op, 15917 static bool zend_jit_may_reuse_reg(const zend_op *opline, const zend_ssa_op *ssa_op, zend_ssa *ssa,… [all …]
|
H A D | zend_jit_arm64.dasc | 8848 const zend_ssa_op *ssa_op, 9069 const zend_ssa_op *ssa_op, 11086 const zend_ssa_op *ssa_op, 12143 const zend_ssa_op *ssa_op, 12637 const zend_ssa_op *ssa_op, 13062 const zend_ssa_op *ssa_op, 13444 const zend_ssa_op *ssa_op, 14058 zend_ssa_op *ssa_op = &ssa->ops[opline - op_array->opcodes]; 14677 const zend_ssa_op *ssa_op, 14972 static bool zend_jit_may_reuse_reg(const zend_op *opline, const zend_ssa_op *ssa_op, zend_ssa *ssa,… [all …]
|