/PHP-8.1/Zend/Optimizer/ |
H A D | zend_ssa.h | 93 } zend_ssa_op; typedef 141 zend_ssa_op *ops; /* array of SSA instructions */ 150 …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 | 39 …t zend_op_array *op_array, const zend_ssa *ssa, const zend_op *opline, const zend_ssa_op *ssa_op) \ 54 …t zend_op_array *op_array, const zend_ssa *ssa, const zend_op *opline, const zend_ssa_op *ssa_op) \ 77 …t zend_op_array *op_array, const zend_ssa *ssa, const zend_op *opline, const zend_ssa_op *ssa_op) \ 100 …t zend_op_array *op_array, const zend_ssa *ssa, const zend_op *opline, const zend_ssa_op *ssa_op) \ 117 …t zend_op_array *op_array, const zend_ssa *ssa, const zend_op *opline, const zend_ssa_op *ssa_op) \ 204 …t zend_op_array *op_array, const zend_ssa *ssa, const zend_op *opline, const zend_ssa_op *ssa_op) \ 214 …t zend_op_array *op_array, const zend_ssa *ssa, const zend_op *opline, const zend_ssa_op *ssa_op) \ 255 …e_range(const zend_op_array *op_array, zend_ssa *ssa, zend_op *opline, zend_ssa_op* ssa_op, int va… 265 ZEND_API int zend_may_throw_ex(const zend_op *opline, const zend_ssa_op *ssa_op, const zend_op_arra… 266 ZEND_API int 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() 217 zend_ssa_op *op = ssa->ops + def; in is_local_def() 261 zend_ssa_op *ssa_op = ssa->ops + use; in is_escape_use() 466 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() 294 static zend_always_inline void add_operands_to_worklists(context *ctx, zend_op *opline, zend_ssa_op… in add_operands_to_worklists() 349 zend_ssa_op *def_op = &ctx->ssa->ops[def]; in try_remove_var_def() 397 static inline bool is_free_of_live_var(context *ctx, zend_op *opline, zend_ssa_op *ssa_op) { in is_free_of_live_var() 414 static bool dce_instr(context *ctx, zend_op *opline, zend_ssa_op *ssa_op) { in dce_instr() 507 … 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 | 35 …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() 177 zend_ssa_op *ssa_op = &ssa->ops[i]; in ssa_verify_integrity()
|
H A D | zend_ssa.c | 544 …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() 1037 ssa->ops = zend_arena_calloc(arena, op_array->last, sizeof(zend_ssa_op)); in zend_build_ssa() 1038 memset(ssa->ops, 0xff, op_array->last * sizeof(zend_ssa_op)); in zend_build_ssa() 1082 zend_ssa_op *op = ssa->ops + i; in zend_ssa_compute_use_def_chains() 1219 void zend_ssa_remove_instr(zend_ssa *ssa, zend_op *opline, zend_ssa_op *ssa_op) /* {{{ */ in zend_ssa_remove_instr() 1302 void zend_ssa_remove_defs_of_instr(zend_ssa *ssa, zend_ssa_op *ssa_op) /* {{{ */ in zend_ssa_remove_defs_of_instr() 1375 zend_ssa_op *ssa_op = &ssa->ops[use]; in zend_ssa_remove_uses_of_var() [all …]
|
H A D | sccp.c | 191 static zval *get_op1_value(sccp_ctx *ctx, zend_op *opline, zend_ssa_op *ssa_op) { in get_op1_value() 201 static zval *get_op2_value(sccp_ctx *ctx, zend_op *opline, zend_ssa_op *ssa_op) { in get_op2_value() 212 const zend_op_array *op_array, zend_op *opline, zend_ssa_op *ssa_op) { in can_replace_op1() 281 const zend_op_array *op_array, zend_op *opline, zend_ssa_op *ssa_op) { in can_replace_op2() 294 sccp_ctx *ctx, zend_op *opline, zend_ssa_op *ssa_op, int var, zval *value) { in try_replace_op1() 344 sccp_ctx *ctx, zend_op *opline, zend_ssa_op *ssa_op, int var, zval *value) { in try_replace_op2() 357 zend_ssa_op *next_op = ssa_op + 1; in try_replace_op2() 1869 zend_op *opline, zend_ssa_op *ssa_op) { in sccp_mark_feasible_successors() 2160 static int remove_call(sccp_ctx *ctx, zend_op *opline, zend_ssa_op *ssa_op) in remove_call() 2207 zend_ssa_op *ssa_op = &ssa->ops[var->definition]; in try_remove_definition() [all …]
|
H A D | zend_inference.c | 495 zend_ssa_op *ssa_ops = ssa->ops; in zend_ssa_find_false_dependencies() 802 zend_op *opline, zend_ssa_op *ssa_op, zend_uchar opcode, zend_ssa_range *tmp) { in zend_inference_calc_binary_op_range() 1089 zend_ssa_op *ssa_op; in zend_inference_calc_range() 2054 zend_ssa_op *op; in add_usages() 2484 static bool result_may_be_separated(zend_ssa *ssa, zend_ssa_op *ssa_op) in result_may_be_separated() 2490 zend_ssa_op *use_op = &ssa->ops[ssa->vars[tmp_var].use_chain]; in result_may_be_separated() 2509 zend_ssa_op *ssa_op, in _zend_update_type_info() 3902 zend_ssa_op *ssa_op, in zend_update_type_info() 4092 zend_ssa_op *ssa_op = &ssa->ops[use]; in can_convert_to_double() 4362 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 | 294 const zend_script *script, zend_op_array *op_array, zend_ssa *ssa, zend_ssa_op *ssa_op) { in can_elide_return_type_check() 387 const zend_ssa_op *ssa_op = &ssa->ops[start]; in variable_defined_or_used_in_range() 476 zend_ssa_op *ssa_op = ssa->ops + op_num; in zend_dfa_optimize_calls() 773 zend_ssa_op *ssa_op; in zend_dfa_optimize_jmps() 1151 zend_ssa_op *ssa_op; in zend_dfa_optimize_op_array()
|
H A D | zend_dump.c | 424 …ock *b, const zend_op *opline, uint32_t dump_flags, const zend_ssa *ssa, const zend_ssa_op *ssa_op) in zend_dump_op() 740 zend_ssa_op *ssa_op = NULL; in zend_dump_op_line()
|
H A D | zend_optimizer.c | 1179 zend_ssa_op *ssa_op = &ssa->ops[opline - op_array->opcodes]; in zend_redo_pass_two_ex() 1331 zend_ssa_op *ssa_op = &func_info->ssa.ops[def_opline - op_array->opcodes]; in needs_live_range()
|
/PHP-8.1/ext/opcache/jit/ |
H A D | zend_jit.c | 299 …_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() 495 zend_ssa_op *ssa_op = &ssa->ops[opline - op_array->opcodes]; in skip_valid_arguments() 1107 static int zend_may_overflow(const zend_op *opline, const zend_ssa_op *ssa_op, const zend_op_array … in zend_may_overflow() 1781 zend_ssa_op *op; in zend_jit_compute_liveness() 2905 zend_ssa_op *ssa_op = ssa->ops ? &ssa->ops[i] : NULL; in zend_jit() 3191 zend_ssa_op *ssa_op = &ssa->ops[opline - op_array->opcodes]; in zend_jit() 3239 zend_ssa_op *ssa_op = &ssa->ops[opline - op_array->opcodes]; in zend_jit() 3280 zend_ssa_op *ssa_op = &ssa->ops[opline - op_array->opcodes]; in zend_jit() 3790 zend_ssa_op *ssa_op = &ssa->ops[opline - op_array->opcodes]; in zend_jit() 3941 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() 1184 zend_ssa_op *ssa_ops, *op; in zend_jit_trace_build_tssa() 1368 tssa->ops = ssa_ops = zend_arena_alloc(&CG(arena), ssa_ops_count * sizeof(zend_ssa_op)); in zend_jit_trace_build_tssa() 1369 memset(ssa_ops, -1, ssa_ops_count * sizeof(zend_ssa_op)); in zend_jit_trace_build_tssa() 2696 const zend_ssa_op *ssa_op; in zend_jit_trace_allocate_registers() 3902 const zend_ssa_op *prev_ssa_op = ssa_op - 1; in zend_jit_may_skip_comparison() 4004 const zend_ssa_op *ssa_op, *orig_ssa_op; in zend_jit_trace() [all …]
|
H A D | zend_jit_x86.dasc | 9609 const zend_ssa_op *ssa_op, 9861 const zend_ssa_op *ssa_op, 11932 const zend_ssa_op *ssa_op, 13029 const zend_ssa_op *ssa_op, 13515 const zend_ssa_op *ssa_op, 13978 const zend_ssa_op *ssa_op, 14402 const zend_ssa_op *ssa_op, 15080 zend_ssa_op *ssa_op = &ssa->ops[opline - op_array->opcodes]; 15631 const zend_ssa_op *ssa_op, 15931 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 | 8938 const zend_ssa_op *ssa_op, 9159 const zend_ssa_op *ssa_op, 11196 const zend_ssa_op *ssa_op, 12254 const zend_ssa_op *ssa_op, 12729 const zend_ssa_op *ssa_op, 13154 const zend_ssa_op *ssa_op, 13536 const zend_ssa_op *ssa_op, 14140 zend_ssa_op *ssa_op = &ssa->ops[opline - op_array->opcodes]; 14680 const zend_ssa_op *ssa_op, 14978 static bool zend_jit_may_reuse_reg(const zend_op *opline, const zend_ssa_op *ssa_op, zend_ssa *ssa,… [all …]
|