/PHP-8.3/Zend/Optimizer/ |
H A D | escape_analysis.c | 106 if (op->op1_def >= 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() 113 union_find_unite(parent, size, op->op1_def, op->op2_use); in zend_build_equi_escape_sets() 133 if (opline->opcode == ZEND_ASSIGN && op->op1_def >= 0) { in zend_build_equi_escape_sets() 134 union_find_unite(parent, size, op->result_def, op->op1_def); in zend_build_equi_escape_sets() 197 } else if (ssa_op->op1_def == var) { in is_allocation_def() 251 } else if (op->op1_def == var) { in is_local_def() 334 || (ssa_op->op1_def >= 0 && ssa->vars[ssa_op->op1_def].alias)) { in is_escape_use() 350 || (ssa_op->op1_def >= 0 && ssa->vars[ssa_op->op1_def].alias)) { in is_escape_use()
|
H A D | zend_ssa.h | 86 int op1_def; member 179 zend_ssa_var *var = &ssa->vars[ssa_op->op1_def]; in zend_ssa_remove_op1_def() 181 ssa_op->op1_def = -1; in zend_ssa_remove_op1_def() 241 if (ssa_op->op1_def >= 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() 245 ssa->vars[ssa_op->op1_def].definition = -1; in zend_ssa_rename_defs_of_instr() 246 ssa_op->op1_def = -1; in zend_ssa_rename_defs_of_instr()
|
H A D | zend_inference.c | 295 var2 = ssa->ops[use].op1_def; in zend_scc_next() 1302 if (ssa_op->op1_def >= 0) { in zend_inference_propagate_range() 1330 if (ssa_op->op1_def >= 0) { in zend_inference_propagate_range() 1352 if (ssa_op->op1_def >= 0) { in zend_inference_propagate_range() 2046 if (op->op1_def >= 0) { in add_usages() 2057 if (op->op1_def >= 0) { in add_usages() 2069 if (op->op1_def >= 0) { in add_usages() 2566 if (ssa_op->op1_def >= 0 && !(ssa_var_info[ssa_op->op1_def].type & MAY_BE_REF)) { in _zend_update_type_info() 2644 if (ssa_op->op1_def >= 0) { in _zend_update_type_info() 2695 if (ssa_op->op1_def >= 0) { in _zend_update_type_info() [all …]
|
H A D | ssa_integrity.c | 53 return (ssa_op->op1_def == check) in is_defined_by_op() 211 if (ssa_op->op1_use < 0 && ssa_op->op1_def < 0) { in ssa_verify_integrity() 215 if (ssa_op->op1_use >= 0 || ssa_op->op1_def >= 0) { in ssa_verify_integrity() 289 if (ssa_op->op1_def >= 0) { in ssa_verify_integrity() 290 if (ssa_op->op1_def >= ssa->vars_count) { in ssa_verify_integrity() 291 FAIL("op1 def %d out of range\n", ssa_op->op1_def); in ssa_verify_integrity() 293 if (ssa->vars[ssa_op->op1_def].definition != i) { in ssa_verify_integrity() 295 VAR(ssa_op->op1_def), INSTR(i)); in ssa_verify_integrity() 297 if (VAR_NUM(opline->op1.var) != ssa->vars[ssa_op->op1_def].var) { in ssa_verify_integrity() 299 VAR(ssa_op->op1_def), VAR_NUM(opline->op1.var), INSTR(i)); in ssa_verify_integrity()
|
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() 215 || ssa->vars[ssa_op->op1_def].escape_state != ESCAPE_STATE_NO_ESCAPE; in may_have_side_effects() 218 if (is_bad_mod(ssa, ssa_op->op1_use, ssa_op->op1_def) in may_have_side_effects() 219 || ssa->vars[ssa_op->op1_def].escape_state != ESCAPE_STATE_NO_ESCAPE) { in may_have_side_effects() 236 if (is_bad_mod(ssa, ssa_op->op1_use, ssa_op->op1_def) in may_have_side_effects() 237 || ssa->vars[ssa_op->op1_def].escape_state != ESCAPE_STATE_NO_ESCAPE) { in may_have_side_effects() 502 if (ssa_op->op1_def >= 0 in may_break_varargs() 503 && ssa->vars[ssa_op->op1_def].var < op_array->num_args) { in may_break_varargs()
|
H A D | dfa_pass.c | 374 if ((ssa_op->op1_def >= 0 && ssa->vars[ssa_op->op1_def].var == var) || in variable_defined_or_used_in_range() 1312 ssa->ops[op_1].op1_def = -1; in zend_dfa_optimize_op_array() 1332 ssa->ops[op_1].op1_def = -1; in zend_dfa_optimize_op_array() 1384 ssa->ops[op_1].op1_def = -1; in zend_dfa_optimize_op_array() 1411 ssa->ops[op_2].op1_def = v; in zend_dfa_optimize_op_array() 1427 ssa->ops[op_2].op1_def = v; in zend_dfa_optimize_op_array() 1445 ssa->ops[op_2].op1_def = v; in zend_dfa_optimize_op_array() 1459 if (ssa->ops[op_1].op1_def == v in zend_dfa_optimize_op_array() 1498 && ssa->ops[op_1].op1_def == v in zend_dfa_optimize_op_array() 1541 ssa->ops[op_1].op1_def = -1; in zend_dfa_optimize_op_array() [all …]
|
H A D | zend_ssa.c | 572 ssa_ops[k].op1_def = ssa_vars_count; in _zend_ssa_rename_op() 596 ssa_ops[k + 1].op1_def = ssa_vars_count; in _zend_ssa_rename_op() 603 ssa_ops[k].op1_def = ssa_vars_count; in _zend_ssa_rename_op() 611 ssa_ops[k].op1_def = ssa_vars_count; in _zend_ssa_rename_op() 621 ssa_ops[k + 1].op1_def = ssa_vars_count; in _zend_ssa_rename_op() 664 ssa_ops[k].op1_def = ssa_vars_count; in _zend_ssa_rename_op() 763 ssa_ops[k].op1_def = ssa_vars_count; in _zend_ssa_rename_op() 1093 if (op->op1_def >= 0) { in zend_ssa_compute_use_def_chains() 1095 ssa_vars[op->op1_def].definition = i; in zend_ssa_compute_use_def_chains() 1276 ZEND_ASSERT(ssa_op->op1_def == -1); in zend_ssa_remove_instr() [all …]
|
H A D | sccp.c | 270 if (ssa_op->op1_def != -1) { in can_replace_op1() 912 if (ssa_op->op1_def >= 0) { in sccp_visit_instr() 929 && ssa_op->op1_def >= 0) { in sccp_visit_instr() 981 if (ssa_op->op1_def >= 0 in sccp_visit_instr() 1289 && ssa_op->op1_def >= 0 && op2) { in sccp_visit_instr() 1333 && ssa_op->op1_def >= 0 in sccp_visit_instr() 1384 && ssa_op->op1_def >= 0 in sccp_visit_instr() 2092 if (ssa_op->op1_def >= 0 || ssa_op->op2_def >= 0) { in try_remove_definition() 2198 } else if (ssa_op->op1_def == var_num) { in try_remove_definition() 2293 zend_ssa_rename_var_uses(ssa, ssa_op->op1_def, ssa_op->op1_use, 1); in try_remove_definition() [all …]
|
H A D | zend_dump.c | 625 } else if (ssa_op->op1_def < 0) { in zend_dump_op() 634 int ssa_var_num = ssa_op->op1_def; in zend_dump_op()
|
H A D | zend_optimizer.c | 1253 …((ssa->ops[opline - op_array->opcodes].op1_def >= 0) ? (OP1_DEF_INFO() & (MAY_BE_UNDEF|MAY_BE_ANY|… in zend_redo_pass_two_ex()
|
/PHP-8.3/ext/opcache/jit/ |
H A D | zend_jit_trace.c | 1505 if (op->op1_def >= 0) { in zend_jit_trace_build_tssa() 2827 && ssa_op->op1_def >= 0 in zend_jit_trace_allocate_registers() 2893 if (ssa_op->op1_def >= 0) { in zend_jit_trace_allocate_registers() 2930 if (ssa_op->op1_def >= 0 in zend_jit_trace_allocate_registers() 2977 if (ssa_op->op1_def >= 0) { in zend_jit_trace_allocate_registers() 5091 if (ssa_op->op1_def >= 0 in zend_jit_trace() 5107 && ssa_op->op1_def >= 0 in zend_jit_trace() 5188 if (ssa_op->op1_def >= 0 in zend_jit_trace() 5204 && ssa_op->op1_def >= 0 in zend_jit_trace() 6346 if (ssa_op->op1_def >= 0 in zend_jit_trace() [all …]
|
H A D | zend_jit.c | 1145 res = ssa_op->op1_def; in zend_may_overflow() 1160 res = ssa_op->op1_def; in zend_may_overflow() 1235 res = ssa_op->op1_def; in zend_may_overflow() 1262 res = ssa_op->op1_def; in zend_may_overflow() 1289 res = ssa_op->op1_def; in zend_may_overflow() 1811 if (op->op1_def >= 0 && zend_bitset_in(candidates, op->op1_def)) { in zend_jit_compute_liveness() 1815 zend_bitset_excl(live, op->op1_def); in zend_jit_compute_liveness() 1947 (i == ssa->ops[line].op1_def || in zend_jit_compute_liveness() 1949 (ssa->ops[line].op1_def < 0 || in zend_jit_compute_liveness() 1957 if (i == ssa->ops[line].op1_def && in zend_jit_compute_liveness() [all …]
|
H A D | zend_jit_internal.h | 204 OP_REG_ADDR(opline, op1_type, op1, op1_def) 210 OP_REG_ADDR(opline + 1, op1_type, op1, op1_def)
|
H A D | zend_jit_x86.dasc | 13518 if (ssa->var_info && ssa_op->op1_def >= 0) { 13519 ssa->var_info[ssa_op->op1_def].type |= MAY_BE_CLASS_GUARD; 13520 ssa->var_info[ssa_op->op1_def].ce = ce; 13991 if (ssa->var_info && ssa_op->op1_def >= 0) { 13993 ssa->var_info[ssa_op->op1_def].ce = ce; 14415 if (ssa->var_info && ssa_op->op1_def >= 0) { 14417 ssa->var_info[ssa_op->op1_def].ce = ce; 16156 if (ssa_op->op1_def == current_var || 16187 ssa_op->op1_def == current_var) { 16207 ssa_op->op1_def == current_var || [all …]
|
H A D | zend_jit_arm64.dasc | 12738 if (ssa->var_info && ssa_op->op1_def >= 0) { 12739 ssa->var_info[ssa_op->op1_def].type |= MAY_BE_CLASS_GUARD; 12740 ssa->var_info[ssa_op->op1_def].ce = ce; 13172 if (ssa->var_info && ssa_op->op1_def >= 0) { 13174 ssa->var_info[ssa_op->op1_def].ce = ce; 13555 if (ssa->var_info && ssa_op->op1_def >= 0) { 13557 ssa->var_info[ssa_op->op1_def].ce = ce; 15198 if (ssa_op->op1_def == current_var || 15229 ssa_op->op1_def == current_var) { 15249 ssa_op->op1_def == current_var || [all …]
|