/php-src/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_inference.c | 295 var2 = ssa->ops[use].op1_def; in zend_scc_next() 1292 if (ssa_op->op1_def >= 0) { in zend_inference_propagate_range() 1320 if (ssa_op->op1_def >= 0) { in zend_inference_propagate_range() 1342 if (ssa_op->op1_def >= 0) { in zend_inference_propagate_range() 2041 if (op->op1_def >= 0) { in add_usages() 2052 if (op->op1_def >= 0) { in add_usages() 2064 if (op->op1_def >= 0) { in add_usages() 2561 if (ssa_op->op1_def >= 0 && !(ssa_var_info[ssa_op->op1_def].type & MAY_BE_REF)) { in _zend_update_type_info() 2639 if (ssa_op->op1_def >= 0) { in _zend_update_type_info() 2690 if (ssa_op->op1_def >= 0) { in _zend_update_type_info() [all …]
|
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 | 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 | 186 if (is_bad_mod(ssa, ssa_op->op1_use, ssa_op->op1_def)) { in may_have_side_effects() 217 return is_bad_mod(ssa, ssa_op->op1_use, ssa_op->op1_def); in may_have_side_effects() 219 return is_bad_mod(ssa, ssa_op->op1_use, ssa_op->op1_def) in may_have_side_effects() 220 || ssa->vars[ssa_op->op1_def].escape_state != ESCAPE_STATE_NO_ESCAPE; in may_have_side_effects() 223 if (is_bad_mod(ssa, ssa_op->op1_use, ssa_op->op1_def) in may_have_side_effects() 224 || ssa->vars[ssa_op->op1_def].escape_state != ESCAPE_STATE_NO_ESCAPE) { in may_have_side_effects() 241 if (is_bad_mod(ssa, ssa_op->op1_use, ssa_op->op1_def) in may_have_side_effects() 242 || ssa->vars[ssa_op->op1_def].escape_state != ESCAPE_STATE_NO_ESCAPE) { in may_have_side_effects() 507 if (ssa_op->op1_def >= 0 in may_break_varargs() 508 && ssa->vars[ssa_op->op1_def].var < op_array->num_args) { in may_break_varargs()
|
H A D | dfa_pass.c | 387 if ((ssa_op->op1_def >= 0 && ssa->vars[ssa_op->op1_def].var == var) || in variable_defined_or_used_in_range() 1326 ssa->ops[op_1].op1_def = -1; in zend_dfa_optimize_op_array() 1346 ssa->ops[op_1].op1_def = -1; in zend_dfa_optimize_op_array() 1398 ssa->ops[op_1].op1_def = -1; in zend_dfa_optimize_op_array() 1425 ssa->ops[op_2].op1_def = v; in zend_dfa_optimize_op_array() 1441 ssa->ops[op_2].op1_def = v; in zend_dfa_optimize_op_array() 1459 ssa->ops[op_2].op1_def = v; in zend_dfa_optimize_op_array() 1473 if (ssa->ops[op_1].op1_def == v in zend_dfa_optimize_op_array() 1512 && ssa->ops[op_1].op1_def == v in zend_dfa_optimize_op_array() 1555 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() 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() 773 ssa_ops[k].op1_def = ssa_vars_count; in _zend_ssa_rename_op() 1122 if (op->op1_def >= 0) { in zend_ssa_compute_use_def_chains() 1124 ssa_vars[op->op1_def].definition = i; in zend_ssa_compute_use_def_chains() 1305 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() 917 if (ssa_op->op1_def >= 0) { in sccp_visit_instr() 934 && ssa_op->op1_def >= 0) { in sccp_visit_instr() 986 if (ssa_op->op1_def >= 0 in sccp_visit_instr() 1294 && ssa_op->op1_def >= 0 && op2) { in sccp_visit_instr() 1338 && ssa_op->op1_def >= 0 in sccp_visit_instr() 1389 && ssa_op->op1_def >= 0 in sccp_visit_instr() 2142 if (ssa_op->op1_def >= 0 || ssa_op->op2_def >= 0) { in try_remove_definition() 2259 } else if (ssa_op->op1_def == var_num) { in try_remove_definition() 2354 zend_ssa_rename_var_uses(ssa, ssa_op->op1_def, ssa_op->op1_use, 1); in try_remove_definition() [all …]
|
H A D | zend_optimizer.c | 1360 …((ssa->ops[opline - op_array->opcodes].op1_def >= 0) ? (OP1_DEF_INFO() & (MAY_BE_UNDEF|MAY_BE_ANY|… in zend_redo_pass_two_ex() 1448 if (ssa_op->op1_def >= 0) { in zend_redo_pass_two_ex() 1449 opline->op1_def_type = ssa->var_info[ssa_op->op1_def].type; in zend_redo_pass_two_ex()
|
H A D | zend_dump.c | 630 } else if (ssa_op->op1_def < 0) { in zend_dump_op() 639 int ssa_var_num = ssa_op->op1_def; in zend_dump_op()
|
/php-src/ext/opcache/jit/ |
H A D | zend_jit_trace.c | 858 } else if (op->op1_def >= 0 && ssa->vars[op->op1_def].var == var) { in zend_jit_trace_copy_ssa_var_info() 859 src = op->op1_def; in zend_jit_trace_copy_ssa_var_info() 889 src = op->op1_def; in zend_jit_trace_copy_ssa_var_info() 939 } else if (op->op1_def >= 0 && ssa->vars[op->op1_def].var == var) { in zend_jit_trace_copy_ssa_var_info() 940 src = op->op1_def; in zend_jit_trace_copy_ssa_var_info() 1663 if (op->op1_def >= 0) { in zend_jit_trace_build_tssa() 2959 && ssa_op->op1_def >= 0 in zend_jit_trace_allocate_registers() 3025 if (ssa_op->op1_def >= 0) { in zend_jit_trace_allocate_registers() 3063 if (ssa_op->op1_def >= 0 in zend_jit_trace_allocate_registers() 3959 ssa_var = ssa_op->op1_def; in zend_jit_find_ssa_var() [all …]
|
H A D | zend_jit.c | 877 res = ssa_op->op1_def; in zend_may_overflow() 892 res = ssa_op->op1_def; in zend_may_overflow() 967 res = ssa_op->op1_def; in zend_may_overflow() 994 res = ssa_op->op1_def; in zend_may_overflow() 1021 res = ssa_op->op1_def; in zend_may_overflow() 1836 (ctx.ra && (ssa_op+1)->op1_def >= 0) ? OP1_DATA_DEF_REG_ADDR() : 0, in zend_jit() 2036 && ssa->ops[opline - op_array->opcodes].op1_def >= 0 in zend_jit() 2037 && !ssa->vars[ssa->ops[opline - op_array->opcodes].op1_def].no_val) { in zend_jit() 2096 && ssa->ops[opline - op_array->opcodes].op1_def >= 0 in zend_jit() 2097 && !ssa->vars[ssa->ops[opline - op_array->opcodes].op1_def].no_val) { in zend_jit()
|
H A D | zend_jit_internal.h | 104 OP_REG_ADDR(opline, ssa_op, op1_type, op1, op1_def) 110 OP_REG_ADDR(opline + 1, ssa_op + 1, op1_type, op1, op1_def)
|
H A D | zend_jit_ir.c | 1302 && jit->ssa->ops[jit->ssa->vars[var].definition].op1_def == var in zend_jit_spilling_may_cause_conflict() 14698 if (ssa->var_info && ssa_op->op1_def >= 0) { 14699 ssa->var_info[ssa_op->op1_def].type |= MAY_BE_CLASS_GUARD; 14700 ssa->var_info[ssa_op->op1_def].ce = ce; 14701 ssa->var_info[ssa_op->op1_def].is_instanceof = ce_is_instanceof; 15048 if (ssa->var_info && ssa_op->op1_def >= 0) { 15049 ssa->var_info[ssa_op->op1_def].type |= MAY_BE_CLASS_GUARD; 15050 ssa->var_info[ssa_op->op1_def].ce = ce; 15471 if (ssa->var_info && ssa_op->op1_def >= 0) { 15472 ssa->var_info[ssa_op->op1_def].type |= MAY_BE_CLASS_GUARD; [all …]
|