/PHP-8.1/Zend/Optimizer/ |
H A D | dce.c | 181 if (is_bad_mod(ssa, ssa_op->op1_use, ssa_op->op1_def)) { in may_have_side_effects() 212 return is_bad_mod(ssa, ssa_op->op1_use, ssa_op->op1_def); in may_have_side_effects() 214 return is_bad_mod(ssa, ssa_op->op1_use, ssa_op->op1_def) in may_have_side_effects() 218 if (is_bad_mod(ssa, ssa_op->op1_use, ssa_op->op1_def) in may_have_side_effects() 236 if (is_bad_mod(ssa, ssa_op->op1_use, ssa_op->op1_def) in may_have_side_effects() 298 if (ssa_op->op1_use >= 0) { in add_operands_to_worklists() 302 add_to_worklists(ctx, ssa_op->op1_use, check); in add_operands_to_worklists() 304 add_to_phi_worklist_no_val(ctx, ssa_op->op1_use); in add_operands_to_worklists() 407 return !is_var_dead(ctx, ssa_op->op1_use); in is_free_of_live_var() 432 free_var = ssa_op->op1_use; in dce_instr() [all …]
|
H A D | zend_ssa.h | 84 int op1_use; member 196 if (ssa_op->op1_use == var) { in END_EXTERN_C() 226 return ssa_op->op1_use == var && ssa_op->op2_use != var; in zend_ssa_is_no_val_use() 229 return ssa_op->op2_use == var && ssa_op->op1_use != var; in zend_ssa_is_no_val_use() 234 return ssa_op->op1_use != var && ssa_op->op2_use != var; in zend_ssa_is_no_val_use() 242 if (ssa_op->op1_use >= 0) { in zend_ssa_rename_defs_of_instr() 243 zend_ssa_rename_var_uses(ssa, ssa_op->op1_def, ssa_op->op1_use, 1); in zend_ssa_rename_defs_of_instr()
|
H A D | ssa_integrity.c | 46 return (ssa_op->op1_use == check) in is_used_by_op() 180 if (ssa_op->op1_use < 0 && ssa_op->op1_def < 0) { in ssa_verify_integrity() 184 if (ssa_op->op1_use >= 0 || ssa_op->op1_def >= 0) { in ssa_verify_integrity() 207 if (ssa_op->op1_use >= 0) { in ssa_verify_integrity() 208 if (ssa_op->op1_use >= ssa->vars_count) { in ssa_verify_integrity() 209 FAIL("op1 use %d out of range\n", ssa_op->op1_use); in ssa_verify_integrity() 211 if (!is_in_use_chain(ssa, ssa_op->op1_use, i)) { in ssa_verify_integrity() 213 VAR(ssa_op->op1_use), INSTR(i)); in ssa_verify_integrity() 215 if (VAR_NUM(opline->op1.var) != ssa->vars[ssa_op->op1_use].var) { in ssa_verify_integrity() 217 VAR(ssa_op->op1_use), VAR_NUM(opline->op1.var), INSTR(i)); in ssa_verify_integrity()
|
H A D | dfa_pass.c | 391 (ssa_op->op1_use >= 0 && ssa->vars[ssa_op->op1_use].var == var) || in variable_defined_or_used_in_range() 478 if (ssa_op->op1_use >= 0) { in zend_dfa_optimize_calls() 485 ssa_op->op1_use = -1; in zend_dfa_optimize_calls() 489 ssa_op->op1_use = var_num; in zend_dfa_optimize_calls() 893 ssa_op->op1_use = -1; in zend_dfa_optimize_jmps() 1353 && ssa->ops[op_1].op1_use >= 0 in zend_dfa_optimize_op_array() 1373 ssa->ops[op_1].op1_use = -1; in zend_dfa_optimize_op_array() 1420 ssa->ops[op_1].op1_use = -1; in zend_dfa_optimize_op_array() 1683 && ssa->ops[op_1].op1_use >= 0 in zend_dfa_optimize_op_array() 1698 && ssa->ops[op_1].op1_use >= 0 in zend_dfa_optimize_op_array() [all …]
|
H A D | escape_analysis.c | 107 if (op->op1_use >= 0) { in zend_build_equi_escape_sets() 109 union_find_unite(parent, size, op->op1_def, op->op1_use); in zend_build_equi_escape_sets() 127 if (opline->opcode == ZEND_QM_ASSIGN && op->op1_use >= 0) { in zend_build_equi_escape_sets() 128 union_find_unite(parent, size, op->result_def, op->op1_use); in zend_build_equi_escape_sets() 264 if (ssa_op->op1_use == var) { in is_escape_use() 474 op->op1_use == i && in zend_ssa_escape_analysis() 475 (op-1)->op1_use >= 0) { in zend_ssa_escape_analysis() 476 enclosing_root = ees[(op-1)->op1_use]; in zend_ssa_escape_analysis() 479 op->op1_use == i && in zend_ssa_escape_analysis()
|
H A D | zend_ssa.c | 1084 if (op->op1_use >= 0) { in zend_ssa_compute_use_def_chains() 1086 ssa_vars[op->op1_use].use_chain = i; in zend_ssa_compute_use_def_chains() 1226 if (ssa_op->op1_use >= 0) { in zend_ssa_remove_instr() 1232 ssa_op->op1_use = -1; in zend_ssa_remove_instr() 1376 if (ssa_op->op1_use == var_num) { in zend_ssa_remove_uses_of_var() 1377 ssa_op->op1_use = -1; in zend_ssa_remove_uses_of_var() 1555 } else if (ssa_op->op1_use == new) { in zend_ssa_rename_var_uses() 1565 } else if (ssa_op->op1_use == old) { in zend_ssa_rename_var_uses() 1576 if (ssa_op->op1_use == old) { in zend_ssa_rename_var_uses() 1577 ssa_op->op1_use = new; in zend_ssa_rename_var_uses() [all …]
|
H A D | zend_inference.c | 2421 } else if (ssa_op->op1_use >= 0) { in zend_fetch_prop_info() 2422 ce = ssa->var_info[ssa_op->op1_use].ce; in zend_fetch_prop_info() 3309 } else if ((t1 & MAY_BE_CLASS) && ssa_op->op1_use >= 0 && ssa_var_info[ssa_op->op1_use].ce) { in _zend_update_type_info() 3310 …UPDATE_SSA_OBJ_TYPE(ssa_var_info[ssa_op->op1_use].ce, ssa_var_info[ssa_op->op1_use].is_instanceof,… in _zend_update_type_info() 3700 } else if (ssa_op->op1_use >= 0 && !ssa->var_info[ssa_op->op1_use].is_instanceof) { in _zend_update_type_info() 3701 ce = ssa->var_info[ssa_op->op1_use].ce; in _zend_update_type_info() 4127 if (ssa_op->op1_use == var_num) { in can_convert_to_double() 4364 ssa_op->op1_use >= 0 && in zend_func_return_info() 4387 ssa_op->op1_use >= 0 && in zend_func_return_info() 4388 info->ssa.var_info[ssa_op->op1_use].ce) { in zend_func_return_info() [all …]
|
H A D | sccp.c | 194 } else if (ssa_op->op1_use != -1) { in get_op1_value() 195 return &ctx->values[ssa_op->op1_use]; in get_op1_value() 2299 && (!value_known(&ctx->values[ssa_op->op1_use]) in try_remove_definition() 2300 || IS_PARTIAL_ARRAY(&ctx->values[ssa_op->op1_use]) in try_remove_definition() 2301 || IS_PARTIAL_OBJECT(&ctx->values[ssa_op->op1_use]))) { in try_remove_definition() 2341 || ((ssa_op+1)->op1_use >= 0 &&!value_known(&ctx->values[(ssa_op+1)->op1_use]))) { in try_remove_definition() 2384 if (ssa_op->op2_use != ssa_op->op1_use) { in try_remove_definition() 2476 if (ssa_op->op1_use != ssa_op->op2_use) { in replace_constant_operands() 2477 zend_ssa_unlink_use_chain(ssa, use, ssa_op->op1_use); in replace_constant_operands() 2481 ssa_op->op1_use = -1; in replace_constant_operands() [all …]
|
H A D | scdf.c | 193 int var = ssa_op->op1_use; in is_live_loop_var_free()
|
H A D | zend_dump.c | 603 int ssa_var_num = ssa_op->op1_use; in zend_dump_op()
|
/PHP-8.1/ext/opcache/jit/ |
H A D | zend_jit_trace.c | 1491 if (op->op1_use >= 0) { in zend_jit_trace_build_tssa() 2817 if (ssa_op->op1_use >= 0 in zend_jit_trace_allocate_registers() 2947 if (ssa_op->op1_use >= 0 in zend_jit_trace_allocate_registers() 3450 if (ssa_op->op1_use >= 0 in zend_jit_trace_clenup_stack() 3451 && ra[ssa_op->op1_use] in zend_jit_trace_clenup_stack() 3913 if (ssa_op->op1_use == prev_ssa_op->op1_use in zend_jit_may_skip_comparison() 4688 } else if (ssa_op->op1_use >= 0 && ssa->vars[ssa_op->op1_use].definition >= 0) { in zend_jit_trace() 4779 } else if (ssa_op->op1_use >= 0 && ssa->vars[ssa_op->op1_use].definition >= 0) { in zend_jit_trace() 4859 } else if (ssa_op->op1_use >= 0 && ssa->vars[ssa_op->op1_use].definition >= 0) { in zend_jit_trace() 5889 } else if (ssa_op->op1_use >= 0 && ssa->vars[ssa_op->op1_use].definition >= 0) { in zend_jit_trace() [all …]
|
H A D | zend_jit.c | 1820 if (op->op1_use >= 0 in zend_jit_compute_liveness() 1823 zend_bitset_incl(live, op->op1_use); in zend_jit_compute_liveness() 1932 if (ssa->ops[line].op1_use >= 0 && in zend_jit_compute_liveness() 1945 ssa->ops[line].op1_use >= 0 && in zend_jit_compute_liveness() 1972 if (ssa->ops[line].op1_use >= 0 && in zend_jit_compute_liveness() 2195 hint = ssa->ops[current->start].op1_use; in zend_jit_try_allocate_free_reg() 3192 if (ssa_op->op1_use >= 0) { in zend_jit() 3240 if (ssa_op->op1_use >= 0) { in zend_jit() 3281 if (ssa_op->op1_use >= 0) { in zend_jit() 3791 if (ssa_op->op1_use >= 0) { in zend_jit() [all …]
|
H A D | zend_jit_internal.h | 195 OP_REG_ADDR(opline, op1_type, op1, op1_use) 201 OP_REG_ADDR(opline + 1, op1_type, op1, op1_use)
|
H A D | zend_jit_x86.dasc | 11982 && (ssa_op+1)->op1_use == ssa_op->result_def 13113 ssa->var_info[ssa_op->op1_use].ce = ce; 13613 ssa->var_info[ssa_op->op1_use].ce = ce; 14086 ssa->var_info[ssa_op->op1_use].ce = ce; 14510 ssa->var_info[ssa_op->op1_use].ce = ce; 15953 use_var == ssa_op->op1_use) { 16182 if (ssa_op->op1_use == current_var) { 16201 if (ssa_op->op1_use == current_var || 16245 if (ssa_op->op1_use == current_var || 16407 if (ssa_op->op1_use != current_var && [all …]
|
H A D | zend_jit_arm64.dasc | 11246 && (ssa_op+1)->op1_use == ssa_op->result_def 12338 ssa->var_info[ssa_op->op1_use].ce = ce; 12827 ssa->var_info[ssa_op->op1_use].ce = ce; 13261 ssa->var_info[ssa_op->op1_use].ce = ce; 13644 ssa->var_info[ssa_op->op1_use].ce = ce; 15002 use_var == ssa_op->op1_use) { 15216 if (ssa_op->op1_use == current_var) { 15235 if (ssa_op->op1_use == current_var || 15279 if (ssa_op->op1_use == current_var || 15382 if (ssa_op->op1_use != current_var && [all …]
|