Home
last modified time | relevance | path

Searched refs:zend_ssa_op (Results 1 – 17 of 17) sorted by relevance

/PHP-8.0/ext/opcache/Optimizer/
H A Dzend_ssa.h93 } zend_ssa_op; typedef
141 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_instr(zend_ssa *ssa, zend_op *opline, zend_ssa_op *ssa_op);
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()
182 static zend_always_inline void zend_ssa_remove_op2_def(zend_ssa *ssa, zend_ssa_op *ssa_op) in zend_ssa_remove_op2_def()
191 static zend_always_inline int zend_ssa_next_use(const zend_ssa_op *ssa_op, int var, int use) in END_EXTERN_C()
218 static zend_always_inline zend_bool zend_ssa_is_no_val_use(const zend_op *opline, const zend_ssa_op in zend_ssa_is_no_val_use()
237 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 Dzend_inference.h43 …t zend_op_array *op_array, const zend_ssa *ssa, const zend_op *opline, const zend_ssa_op *ssa_op) \
58 …t zend_op_array *op_array, const zend_ssa *ssa, const zend_op *opline, const zend_ssa_op *ssa_op) \
81 …t zend_op_array *op_array, const zend_ssa *ssa, const zend_op *opline, const zend_ssa_op *ssa_op) \
104 …t zend_op_array *op_array, const zend_ssa *ssa, const zend_op *opline, const zend_ssa_op *ssa_op) \
121 …t zend_op_array *op_array, const zend_ssa *ssa, const zend_op *opline, const zend_ssa_op *ssa_op) \
208 …t zend_op_array *op_array, const zend_ssa *ssa, const zend_op *opline, const zend_ssa_op *ssa_op) \
218 …t zend_op_array *op_array, const zend_ssa *ssa, const zend_op *opline, const zend_ssa_op *ssa_op) \
260 …e_range(const zend_op_array *op_array, zend_ssa *ssa, zend_op *opline, zend_ssa_op* ssa_op, int va…
279 int zend_may_throw_ex(const zend_op *opline, const zend_ssa_op *ssa_op, const zend_op_array *op_arr…
280 int zend_may_throw(const zend_op *opline, const zend_ssa_op *ssa_op, const zend_op_array *op_array,…
[all …]
H A Dscdf.h40 struct _scdf_ctx *scdf, zend_op *opline, zend_ssa_op *ssa_op);
45 zend_op *opline, zend_ssa_op *ssa_op);
H A Dzend_dump.h34 …ck *b, const zend_op *opline, uint32_t dump_flags, const zend_ssa *ssa, const zend_ssa_op *ssa_op);
H A Descape_analysis.c104 zend_ssa_op *op = ssa->ops + def; in zend_build_equi_escape_sets()
169 zend_ssa_op *ssa_op = ssa->ops + def; in is_allocation_def()
233 zend_ssa_op *op = ssa->ops + def; in is_local_def()
276 zend_ssa_op *ssa_op = ssa->ops + use; in is_escape_use()
481 zend_ssa_op *op = ssa->ops + use; in zend_ssa_escape_analysis()
H A Ddce.c77 const zend_op *opline, const zend_ssa_op *ssa_op, in may_have_side_effects()
280 static zend_always_inline void add_operands_to_worklists(context *ctx, zend_op *opline, zend_ssa_op in add_operands_to_worklists()
335 zend_ssa_op *def_op = &ctx->ssa->ops[def]; in try_remove_var_def()
384 static zend_bool dce_instr(context *ctx, zend_op *opline, zend_ssa_op *ssa_op) { in dce_instr()
480 … 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 Dssa_integrity.c46 zend_ssa_op *ssa_op = &ssa->ops[op]; in is_used_by_op()
53 zend_ssa_op *ssa_op = &ssa->ops[op]; in is_defined_by_op()
178 zend_ssa_op *ssa_op = &ssa->ops[i]; in ssa_verify_integrity()
H A Dzend_ssa.c548 …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()
788 …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()
798 zend_ssa_op *ssa_ops = ssa->ops; in zend_ssa_rename()
835 zend_ssa_op *fe_fetch_ssa_op = blocks[n].len != 0 in zend_ssa_rename()
1041 ssa->ops = zend_arena_calloc(arena, op_array->last, sizeof(zend_ssa_op)); in zend_build_ssa()
1042 memset(ssa->ops, 0xff, op_array->last * sizeof(zend_ssa_op)); in zend_build_ssa()
1086 zend_ssa_op *op = ssa->ops + i; in zend_ssa_compute_use_def_chains()
1223 void zend_ssa_remove_instr(zend_ssa *ssa, zend_op *opline, zend_ssa_op *ssa_op) /* {{{ */ in zend_ssa_remove_instr()
1306 static inline void zend_ssa_remove_defs_of_instr(zend_ssa *ssa, zend_ssa_op *ssa_op) /* {{{ */ in zend_ssa_remove_defs_of_instr()
1379 zend_ssa_op *ssa_op = &ssa->ops[use]; in zend_ssa_remove_uses_of_var()
[all …]
H A Dsccp.c191 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()
1888 zend_op *opline, zend_ssa_op *ssa_op) { in sccp_mark_feasible_successors()
2182 static int remove_call(sccp_ctx *ctx, zend_op *opline, zend_ssa_op *ssa_op) in remove_call()
2229 zend_ssa_op *ssa_op = &ssa->ops[var->definition]; in try_remove_definition()
[all …]
H A Dscdf.c125 zend_ssa_op *ssa_op = &ssa->ops[i]; in scdf_solve()
H A Dzend_inference.c259 zend_ssa_op *ssa_ops = ssa->ops; in zend_ssa_find_false_dependencies()
566 zend_op *opline, zend_ssa_op *ssa_op, zend_uchar opcode, zend_ssa_range *tmp) { in zend_inference_calc_binary_op_range()
853 zend_ssa_op *ssa_op; in zend_inference_calc_range()
1763 zend_ssa_op *op; in add_usages()
2194 static zend_bool result_may_be_separated(zend_ssa *ssa, zend_ssa_op *ssa_op) in result_may_be_separated()
2200 zend_ssa_op *use_op = &ssa->ops[ssa->vars[tmp_var].use_chain]; in result_may_be_separated()
2219 zend_ssa_op *ssa_op, in _zend_update_type_info()
3549 zend_ssa_op *ssa_op, in zend_update_type_info()
3738 zend_ssa_op *ssa_op = &ssa->ops[use]; in can_convert_to_double()
3981 zend_ssa_op *ssa_op = ssa->ops ? &ssa->ops[opline - op_array->opcodes] : NULL; in zend_func_return_info()
[all …]
H A Ddfa_pass.c295 zend_op_array *op_array, zend_ssa *ssa, zend_ssa_op *ssa_op) { in can_elide_return_type_check()
375 const zend_ssa_op *ssa_op = &ssa->ops[start]; in variable_defined_or_used_in_range()
463 zend_ssa_op *ssa_op = ssa->ops + op_num; in zend_dfa_optimize_calls()
760 zend_ssa_op *ssa_op; in zend_dfa_optimize_jmps()
1129 zend_ssa_op *ssa_op; in zend_dfa_optimize_op_array()
H A Dzend_dump.c408 …ock *b, const zend_op *opline, uint32_t dump_flags, const zend_ssa *ssa, const zend_ssa_op *ssa_op) in zend_dump_op()
721 zend_ssa_op *ssa_op = NULL; in zend_dump_op_line()
H A Dzend_optimizer.c1207 zend_ssa_op *ssa_op = &ssa->ops[opline - op_array->opcodes]; in zend_redo_pass_two_ex()
1358 zend_ssa_op *ssa_op = &func_info->ssa.ops[def_opline - op_array->opcodes]; in needs_live_range()
/PHP-8.0/ext/opcache/jit/
H A Dzend_jit_trace.c732 zend_ssa_op *op; in zend_jit_trace_copy_ssa_var_info()
774 zend_ssa_op *op; in zend_jit_trace_copy_ssa_var_range()
822 zend_ssa_op *op; in zend_jit_trace_restrict_ssa_var_info()
875 static int find_return_ssa_var(zend_jit_trace_rec *p, zend_ssa_op *ssa_op) in find_return_ssa_var()
1073 zend_ssa_op *ssa_ops, *op; in zend_jit_trace_build_tssa()
1257 tssa->ops = ssa_ops = zend_arena_alloc(&CG(arena), ssa_ops_count * sizeof(zend_ssa_op)); in zend_jit_trace_build_tssa()
1258 memset(ssa_ops, -1, ssa_ops_count * sizeof(zend_ssa_op)); in zend_jit_trace_build_tssa()
2429 const zend_ssa_op *ssa_op; in zend_jit_trace_allocate_registers()
3634 const zend_ssa_op *prev_ssa_op = ssa_op - 1; in zend_jit_may_skip_comparison()
3706 const zend_ssa_op *ssa_op, *orig_ssa_op; in zend_jit_trace()
[all …]
H A Dzend_jit.c530 static int zend_may_overflow(const zend_op *opline, const zend_ssa_op *ssa_op, const zend_op_array … in zend_may_overflow()
1203 zend_ssa_op *op; in zend_jit_compute_liveness()
2318 zend_ssa_op *ssa_op = ssa->ops ? &ssa->ops[i] : NULL; in zend_jit()
2615 zend_ssa_op *ssa_op = &ssa->ops[opline - op_array->opcodes]; in zend_jit()
2662 zend_ssa_op *ssa_op = &ssa->ops[opline - op_array->opcodes]; in zend_jit()
2702 zend_ssa_op *ssa_op = &ssa->ops[opline - op_array->opcodes]; in zend_jit()
3208 zend_ssa_op *ssa_op = &ssa->ops[opline - op_array->opcodes]; in zend_jit()
3347 zend_ssa_op *ssa_op = &ssa->ops[opline - op_array->opcodes]; in zend_jit()
H A Dzend_jit_x86.dasc9673 const zend_ssa_op *ssa_op,
9924 const zend_ssa_op *ssa_op,
10031 zend_ssa_op *ssa_op = &ssa->ops[opline - op_array->opcodes];
12010 const zend_ssa_op *ssa_op,
13093 const zend_ssa_op *ssa_op,
13487 const zend_ssa_op *ssa_op,
13869 const zend_ssa_op *ssa_op,
14211 const zend_ssa_op *ssa_op,
14819 zend_ssa_op *ssa_op = &ssa->ops[opline - op_array->opcodes];
15363 const zend_ssa_op *ssa_op)
[all …]

Completed in 138 milliseconds