/PHP-8.0/ext/opcache/Optimizer/ |
H A D | escape_analysis.c | 107 if (op->op1_def >= 0) { in zend_build_equi_escape_sets() 110 union_find_unite(parent, size, op->op1_def, op->op1_use); in zend_build_equi_escape_sets() 114 union_find_unite(parent, size, op->op1_def, op->op2_use); in zend_build_equi_escape_sets() 134 if (opline->opcode == ZEND_ASSIGN && op->op1_def >= 0) { in zend_build_equi_escape_sets() 135 union_find_unite(parent, size, op->result_def, op->op1_def); in zend_build_equi_escape_sets() 207 } else if (ssa_op->op1_def == var) { in is_allocation_def() 254 } else if (op->op1_def == var) { in is_local_def() 337 || (ssa_op->op1_def >= 0 && ssa->vars[ssa_op->op1_def].alias)) { in is_escape_use() 353 || (ssa_op->op1_def >= 0 && ssa->vars[ssa_op->op1_def].alias)) { in is_escape_use()
|
H A D | zend_ssa.h | 87 int op1_def; member 177 zend_ssa_var *var = &ssa->vars[ssa_op->op1_def]; in zend_ssa_remove_op1_def() 179 ssa_op->op1_def = -1; in zend_ssa_remove_op1_def() 239 if (ssa_op->op1_def >= 0) { in zend_ssa_rename_defs_of_instr() 241 zend_ssa_rename_var_uses(ssa, ssa_op->op1_def, ssa_op->op1_use, 1); in zend_ssa_rename_defs_of_instr() 243 ssa->vars[ssa_op->op1_def].definition = -1; in zend_ssa_rename_defs_of_instr() 244 ssa_op->op1_def = -1; in zend_ssa_rename_defs_of_instr()
|
H A D | zend_inference.c | 1037 if (ssa_op->op1_def >= 0) { in zend_inference_propagate_range() 1065 if (ssa_op->op1_def >= 0) { in zend_inference_propagate_range() 1087 if (ssa_op->op1_def >= 0) { in zend_inference_propagate_range() 1770 if (op->op1_def >= 0) { in add_usages() 1781 if (op->op1_def >= 0) { in add_usages() 1793 if (op->op1_def >= 0) { in add_usages() 2248 if (ssa_op->op1_def >= 0) { in _zend_update_type_info() 2317 if (ssa_op->op1_def >= 0) { in _zend_update_type_info() 2365 if (ssa_op->op1_def >= 0) { in _zend_update_type_info() 2554 if (ssa_op->op1_def >= 0) { in _zend_update_type_info() [all …]
|
H A D | ssa_integrity.c | 54 return (ssa_op->op1_def == check) in is_defined_by_op() 181 if (ssa_op->op1_use < 0 && ssa_op->op1_def < 0) { in ssa_verify_integrity() 185 if (ssa_op->op1_use >= 0 || ssa_op->op1_def >= 0) { in ssa_verify_integrity() 247 if (ssa_op->op1_def >= 0) { in ssa_verify_integrity() 248 if (ssa_op->op1_def >= ssa->vars_count) { in ssa_verify_integrity() 249 FAIL("op1 def %d out of range\n", ssa_op->op1_def); in ssa_verify_integrity() 251 if (ssa->vars[ssa_op->op1_def].definition != i) { in ssa_verify_integrity() 253 VAR(ssa_op->op1_def), INSTR(i)); in ssa_verify_integrity() 255 if (VAR_NUM(opline->op1.var) != ssa->vars[ssa_op->op1_def].var) { in ssa_verify_integrity() 257 VAR(ssa_op->op1_def), VAR_NUM(opline->op1.var), INSTR(i)); in ssa_verify_integrity()
|
H A D | dce.c | 180 if (is_bad_mod(ssa, ssa_op->op1_use, ssa_op->op1_def)) { in may_have_side_effects() 211 return is_bad_mod(ssa, ssa_op->op1_use, ssa_op->op1_def); in may_have_side_effects() 213 return is_bad_mod(ssa, ssa_op->op1_use, ssa_op->op1_def) in may_have_side_effects() 214 || ssa->vars[ssa_op->op1_def].escape_state != ESCAPE_STATE_NO_ESCAPE; in may_have_side_effects() 217 if (is_bad_mod(ssa, ssa_op->op1_use, ssa_op->op1_def) in may_have_side_effects() 218 || ssa->vars[ssa_op->op1_def].escape_state != ESCAPE_STATE_NO_ESCAPE) { in may_have_side_effects() 235 if (is_bad_mod(ssa, ssa_op->op1_use, ssa_op->op1_def) in may_have_side_effects() 236 || ssa->vars[ssa_op->op1_def].escape_state != ESCAPE_STATE_NO_ESCAPE) { in may_have_side_effects() 481 if (ssa_op->op1_def >= 0 in may_break_varargs() 482 && ssa->vars[ssa_op->op1_def].var < op_array->num_args) { in may_break_varargs()
|
H A D | dfa_pass.c | 376 if ((ssa_op->op1_def >= 0 && ssa->vars[ssa_op->op1_def].var == var) || in variable_defined_or_used_in_range() 1314 ssa->ops[op_1].op1_def = -1; in zend_dfa_optimize_op_array() 1362 ssa->ops[op_1].op1_def = -1; in zend_dfa_optimize_op_array() 1389 ssa->ops[op_2].op1_def = v; in zend_dfa_optimize_op_array() 1405 ssa->ops[op_2].op1_def = v; in zend_dfa_optimize_op_array() 1423 ssa->ops[op_2].op1_def = v; in zend_dfa_optimize_op_array() 1438 if (ssa->ops[op_1].op1_def == v in zend_dfa_optimize_op_array() 1477 && ssa->ops[op_1].op1_def == v in zend_dfa_optimize_op_array() 1600 ssa->ops[op_1].op1_def = -1; in zend_dfa_optimize_op_array() 1619 && ssa->ops[op_1].op1_def == v in zend_dfa_optimize_op_array() [all …]
|
H A D | zend_ssa.c | 577 ssa_ops[k].op1_def = ssa_vars_count; in _zend_ssa_rename_op() 597 ssa_ops[k].op1_def = ssa_vars_count; in _zend_ssa_rename_op() 607 ssa_ops[k + 1].op1_def = ssa_vars_count; in _zend_ssa_rename_op() 616 ssa_ops[k].op1_def = ssa_vars_count; in _zend_ssa_rename_op() 626 ssa_ops[k + 1].op1_def = ssa_vars_count; in _zend_ssa_rename_op() 669 ssa_ops[k].op1_def = ssa_vars_count; in _zend_ssa_rename_op() 767 ssa_ops[k].op1_def = ssa_vars_count; in _zend_ssa_rename_op() 1100 if (op->op1_def >= 0) { in zend_ssa_compute_use_def_chains() 1102 ssa_vars[op->op1_def].definition = i; in zend_ssa_compute_use_def_chains() 1247 ZEND_ASSERT(ssa_op->op1_def == -1); in zend_ssa_remove_instr() [all …]
|
H A D | sccp.c | 271 if (ssa_op->op1_def != -1) { in can_replace_op1() 1072 if (ssa_op->op1_def >= 0) { in sccp_visit_instr() 1089 && ssa_op->op1_def >= 0) { in sccp_visit_instr() 1141 if (ssa_op->op1_def >= 0 in sccp_visit_instr() 1447 && ssa_op->op1_def >= 0 && op2) { in sccp_visit_instr() 1491 && ssa_op->op1_def >= 0 in sccp_visit_instr() 1542 && ssa_op->op1_def >= 0 in sccp_visit_instr() 2237 if (ssa_op->op1_def >= 0 || ssa_op->op2_def >= 0) { in try_remove_definition() 2342 } else if (ssa_op->op1_def == var_num) { in try_remove_definition() 2432 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 | 588 } else if (ssa_op->op1_def < 0) { in zend_dump_op() 597 int ssa_var_num = ssa_op->op1_def; in zend_dump_op()
|
H A D | zend_optimizer.c | 1215 …((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.0/ext/opcache/jit/ |
H A D | zend_jit_trace.c | 1392 if (op->op1_def >= 0) { in zend_jit_trace_build_tssa() 2544 && ssa_op->op1_def >= 0 in zend_jit_trace_allocate_registers() 2610 if (ssa_op->op1_def >= 0) { in zend_jit_trace_allocate_registers() 2646 if (ssa_op->op1_def >= 0 in zend_jit_trace_allocate_registers() 2693 if (ssa_op->op1_def >= 0) { in zend_jit_trace_allocate_registers() 4795 && ssa_op->op1_def >= 0 in zend_jit_trace() 4824 && ssa_op->op1_def >= 0 in zend_jit_trace() 4897 && ssa_op->op1_def >= 0 in zend_jit_trace() 4910 && ssa_op->op1_def >= 0 in zend_jit_trace() 6016 if (ssa_op->op1_def >= 0 in zend_jit_trace() [all …]
|
H A D | zend_jit_x86.h | 313 OP_REG_ADDR(opline, op1_type, op1, op1_def) 319 OP_REG_ADDR(opline + 1, op1_type, op1, op1_def)
|
H A D | zend_jit.c | 541 res = ssa_op->op1_def; in zend_may_overflow() 556 res = ssa_op->op1_def; in zend_may_overflow() 631 res = ssa_op->op1_def; in zend_may_overflow() 658 res = ssa_op->op1_def; in zend_may_overflow() 685 res = ssa_op->op1_def; in zend_may_overflow() 1220 if (op->op1_def >= 0 && zend_bitset_in(candidates, op->op1_def)) { in zend_jit_compute_liveness() 1224 zend_bitset_excl(live, op->op1_def); in zend_jit_compute_liveness() 1356 (i == ssa->ops[line].op1_def || in zend_jit_compute_liveness() 1358 (ssa->ops[line].op1_def < 0 || in zend_jit_compute_liveness() 1366 if (i == ssa->ops[line].op1_def && in zend_jit_compute_liveness() [all …]
|
H A D | zend_jit_x86.dasc | 13576 if (ssa->var_info && ssa_op->op1_def >= 0) { 13577 ssa->var_info[ssa_op->op1_def].type |= MAY_BE_CLASS_GUARD; 13578 ssa->var_info[ssa_op->op1_def].ce = ce; 13968 if (ssa->var_info && ssa_op->op1_def >= 0) { 13970 ssa->var_info[ssa_op->op1_def].ce = ce; 14312 if (ssa->var_info && ssa_op->op1_def >= 0) { 14314 ssa->var_info[ssa_op->op1_def].ce = ce; 15842 if (ssa_op->op1_def == current_var || 15873 ssa_op->op1_def == current_var) { 15893 ssa_op->op1_def == current_var || [all …]
|