/PHP-8.1/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() 191 } else if (ssa_op->op1_def == var) { in is_allocation_def() 239 } else if (op->op1_def == var) { in is_local_def() 322 || (ssa_op->op1_def >= 0 && ssa->vars[ssa_op->op1_def].alias)) { in is_escape_use() 338 || (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 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 | 296 var2 = ssa->ops[use].op1_def; in zend_scc_next() 1315 if (ssa_op->op1_def >= 0) { in zend_inference_propagate_range() 1343 if (ssa_op->op1_def >= 0) { in zend_inference_propagate_range() 1365 if (ssa_op->op1_def >= 0) { in zend_inference_propagate_range() 2061 if (op->op1_def >= 0) { in add_usages() 2072 if (op->op1_def >= 0) { in add_usages() 2084 if (op->op1_def >= 0) { in add_usages() 2539 if (ssa_op->op1_def >= 0 && !(ssa_var_info[ssa_op->op1_def].type & MAY_BE_REF)) { in _zend_update_type_info() 2608 if (ssa_op->op1_def >= 0) { in _zend_update_type_info() 2656 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() 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() 246 if (ssa_op->op1_def >= 0) { in ssa_verify_integrity() 247 if (ssa_op->op1_def >= ssa->vars_count) { in ssa_verify_integrity() 248 FAIL("op1 def %d out of range\n", ssa_op->op1_def); in ssa_verify_integrity() 250 if (ssa->vars[ssa_op->op1_def].definition != i) { in ssa_verify_integrity() 252 VAR(ssa_op->op1_def), INSTR(i)); in ssa_verify_integrity() 254 if (VAR_NUM(opline->op1.var) != ssa->vars[ssa_op->op1_def].var) { in ssa_verify_integrity() 256 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() 508 if (ssa_op->op1_def >= 0 in may_break_varargs() 509 && ssa->vars[ssa_op->op1_def].var < op_array->num_args) { in may_break_varargs()
|
H A D | dfa_pass.c | 388 if ((ssa_op->op1_def >= 0 && ssa->vars[ssa_op->op1_def].var == var) || in variable_defined_or_used_in_range() 1372 ssa->ops[op_1].op1_def = -1; in zend_dfa_optimize_op_array() 1421 ssa->ops[op_1].op1_def = -1; in zend_dfa_optimize_op_array() 1448 ssa->ops[op_2].op1_def = v; in zend_dfa_optimize_op_array() 1464 ssa->ops[op_2].op1_def = v; in zend_dfa_optimize_op_array() 1482 ssa->ops[op_2].op1_def = v; in zend_dfa_optimize_op_array() 1497 if (ssa->ops[op_1].op1_def == v in zend_dfa_optimize_op_array() 1536 && ssa->ops[op_1].op1_def == v in zend_dfa_optimize_op_array() 1660 ssa->ops[op_1].op1_def = -1; in zend_dfa_optimize_op_array() 1679 && ssa->ops[op_1].op1_def == v in zend_dfa_optimize_op_array() [all …]
|
H A D | zend_ssa.c | 573 ssa_ops[k].op1_def = ssa_vars_count; in _zend_ssa_rename_op() 593 ssa_ops[k].op1_def = ssa_vars_count; in _zend_ssa_rename_op() 603 ssa_ops[k + 1].op1_def = ssa_vars_count; in _zend_ssa_rename_op() 612 ssa_ops[k].op1_def = ssa_vars_count; in _zend_ssa_rename_op() 622 ssa_ops[k + 1].op1_def = ssa_vars_count; in _zend_ssa_rename_op() 665 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() 1096 if (op->op1_def >= 0) { in zend_ssa_compute_use_def_chains() 1098 ssa_vars[op->op1_def].definition = i; in zend_ssa_compute_use_def_chains() 1243 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() 1052 if (ssa_op->op1_def >= 0) { in sccp_visit_instr() 1069 && ssa_op->op1_def >= 0) { in sccp_visit_instr() 1121 if (ssa_op->op1_def >= 0 in sccp_visit_instr() 1427 && ssa_op->op1_def >= 0 && op2) { in sccp_visit_instr() 1471 && ssa_op->op1_def >= 0 in sccp_visit_instr() 1522 && ssa_op->op1_def >= 0 in sccp_visit_instr() 2218 if (ssa_op->op1_def >= 0 || ssa_op->op2_def >= 0) { in try_remove_definition() 2323 } else if (ssa_op->op1_def == var_num) { in try_remove_definition() 2418 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 | 607 } else if (ssa_op->op1_def < 0) { in zend_dump_op() 616 int ssa_var_num = ssa_op->op1_def; in zend_dump_op()
|
H A D | zend_optimizer.c | 1187 …((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.1/ext/opcache/jit/ |
H A D | zend_jit_trace.c | 1503 if (op->op1_def >= 0) { in zend_jit_trace_build_tssa() 2197 && ssa_ops[idx].op1_def > 0 in zend_jit_trace_build_tssa() 2811 && ssa_op->op1_def >= 0 in zend_jit_trace_allocate_registers() 2877 if (ssa_op->op1_def >= 0) { in zend_jit_trace_allocate_registers() 2914 if (ssa_op->op1_def >= 0 in zend_jit_trace_allocate_registers() 5076 if (ssa_op->op1_def > 0 in zend_jit_trace() 5092 && ssa_op->op1_def >= 0 in zend_jit_trace() 5173 if (ssa_op->op1_def > 0 in zend_jit_trace() 5189 && ssa_op->op1_def >= 0 in zend_jit_trace() 6364 if (ssa_op->op1_def >= 0 in zend_jit_trace() [all …]
|
H A D | zend_jit.c | 1118 res = ssa_op->op1_def; in zend_may_overflow() 1133 res = ssa_op->op1_def; in zend_may_overflow() 1208 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() 1798 if (op->op1_def >= 0 && zend_bitset_in(candidates, op->op1_def)) { in zend_jit_compute_liveness() 1802 zend_bitset_excl(live, op->op1_def); in zend_jit_compute_liveness() 1934 (i == ssa->ops[line].op1_def || in zend_jit_compute_liveness() 1936 (ssa->ops[line].op1_def < 0 || in zend_jit_compute_liveness() 1944 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 | 13616 if (ssa->var_info && ssa_op->op1_def >= 0) { 13617 ssa->var_info[ssa_op->op1_def].type |= MAY_BE_CLASS_GUARD; 13618 ssa->var_info[ssa_op->op1_def].ce = ce; 14089 if (ssa->var_info && ssa_op->op1_def >= 0) { 14091 ssa->var_info[ssa_op->op1_def].ce = ce; 14513 if (ssa->var_info && ssa_op->op1_def >= 0) { 14515 ssa->var_info[ssa_op->op1_def].ce = ce; 16171 if (ssa_op->op1_def == current_var || 16202 ssa_op->op1_def == current_var) { 16222 ssa_op->op1_def == current_var || [all …]
|
H A D | zend_jit_arm64.dasc | 12830 if (ssa->var_info && ssa_op->op1_def >= 0) { 12831 ssa->var_info[ssa_op->op1_def].type |= MAY_BE_CLASS_GUARD; 12832 ssa->var_info[ssa_op->op1_def].ce = ce; 13264 if (ssa->var_info && ssa_op->op1_def >= 0) { 13266 ssa->var_info[ssa_op->op1_def].ce = ce; 13647 if (ssa->var_info && ssa_op->op1_def >= 0) { 13649 ssa->var_info[ssa_op->op1_def].ce = ce; 15205 if (ssa_op->op1_def == current_var || 15236 ssa_op->op1_def == current_var) { 15256 ssa_op->op1_def == current_var || [all …]
|