Lines Matching refs:op_1
1147 int op_1; in zend_dfa_optimize_op_array() local
1200 op_1 = ssa->vars[v].definition; in zend_dfa_optimize_op_array()
1202 if (op_1 < 0) { in zend_dfa_optimize_op_array()
1206 opline = op_array->opcodes + op_1; in zend_dfa_optimize_op_array()
1207 ssa_op = &ssa->ops[op_1]; in zend_dfa_optimize_op_array()
1213 && ssa->ops[op_1].op1_def == v in zend_dfa_optimize_op_array()
1275 ssa->ops[op_1].op1_use = ssa->ops[op_1].op2_use; in zend_dfa_optimize_op_array()
1276 ssa->ops[op_1].op1_use_chain = ssa->ops[op_1].op2_use_chain; in zend_dfa_optimize_op_array()
1277 ssa->ops[op_1].op2_use = -1; in zend_dfa_optimize_op_array()
1278 ssa->ops[op_1].op2_use_chain = -1; in zend_dfa_optimize_op_array()
1295 ssa->ops[op_1].op1_use = ssa->ops[op_1].op2_use; in zend_dfa_optimize_op_array()
1296 ssa->ops[op_1].op1_use_chain = ssa->ops[op_1].op2_use_chain; in zend_dfa_optimize_op_array()
1340 ssa->ops[op_1].op2_use = ssa->ops[op_1].op1_use; in zend_dfa_optimize_op_array()
1341 ssa->ops[op_1].op2_use_chain = ssa->ops[op_1].op1_use_chain; in zend_dfa_optimize_op_array()
1352 && ssa->ops[op_1].op1_def == v in zend_dfa_optimize_op_array()
1353 && ssa->ops[op_1].op1_use >= 0 in zend_dfa_optimize_op_array()
1354 && ssa->ops[op_1].op1_use_chain == -1 in zend_dfa_optimize_op_array()
1355 && can_elide_return_type_check(ctx->script, op_array, ssa, &ssa->ops[op_1])) { in zend_dfa_optimize_op_array()
1359 int orig_var = ssa->ops[op_1].op1_use; in zend_dfa_optimize_op_array()
1360 if (zend_ssa_unlink_use_chain(ssa, op_1, orig_var)) { in zend_dfa_optimize_op_array()
1372 ssa->ops[op_1].op1_def = -1; in zend_dfa_optimize_op_array()
1373 ssa->ops[op_1].op1_use = -1; in zend_dfa_optimize_op_array()
1382 && ssa->ops[op_1].result_def == v in zend_dfa_optimize_op_array()
1387 int src_var = ssa->ops[op_1].op1_use; in zend_dfa_optimize_op_array()
1395 && ssa->vars[src_var].use_chain == op_1 in zend_dfa_optimize_op_array()
1396 && ssa->ops[op_1].op1_use_chain < 0 in zend_dfa_optimize_op_array()
1403 ssa->vars[src_var].definition+1, op_1) in zend_dfa_optimize_op_array()
1406 int orig_var = ssa->ops[op_1].result_use; in zend_dfa_optimize_op_array()
1412 if (orig_var < 0 || zend_ssa_unlink_use_chain(ssa, op_1, orig_var)) { in zend_dfa_optimize_op_array()
1420 ssa->ops[op_1].op1_use = -1; in zend_dfa_optimize_op_array()
1421 ssa->ops[op_1].op1_def = -1; in zend_dfa_optimize_op_array()
1422 ssa->ops[op_1].op1_use_chain = -1; in zend_dfa_optimize_op_array()
1423 ssa->ops[op_1].result_use = -1; in zend_dfa_optimize_op_array()
1424 ssa->ops[op_1].result_def = -1; in zend_dfa_optimize_op_array()
1425 ssa->ops[op_1].res_use_chain = -1; in zend_dfa_optimize_op_array()
1497 if (ssa->ops[op_1].op1_def == v in zend_dfa_optimize_op_array()
1503 zend_dfa_try_to_replace_result(op_array, ssa, op_1, v); in zend_dfa_optimize_op_array()
1505 int result_var = ssa->ops[op_1].result_def; in zend_dfa_optimize_op_array()
1513 && zend_dfa_try_to_replace_result(op_array, ssa, op_1, v)) { in zend_dfa_optimize_op_array()
1519 int result_var = ssa->ops[op_1].result_def; in zend_dfa_optimize_op_array()
1527 && zend_dfa_try_to_replace_result(op_array, ssa, op_1, v)) { in zend_dfa_optimize_op_array()
1536 && ssa->ops[op_1].op1_def == v in zend_dfa_optimize_op_array()
1539 int orig_var = ssa->ops[op_1].op1_use; in zend_dfa_optimize_op_array()
1544 int src_var = ssa->ops[op_1].op2_use; in zend_dfa_optimize_op_array()
1553 && ssa->vars[src_var].use_chain == op_1 in zend_dfa_optimize_op_array()
1554 && ssa->ops[op_1].op2_use_chain < 0 in zend_dfa_optimize_op_array()
1561 ssa->vars[src_var].definition+1, op_1) in zend_dfa_optimize_op_array()
1569 if (zend_ssa_unlink_use_chain(ssa, op_1, orig_var)) { in zend_dfa_optimize_op_array()
1577 ssa->ops[op_1].op1_use = -1; in zend_dfa_optimize_op_array()
1578 ssa->ops[op_1].op2_use = -1; in zend_dfa_optimize_op_array()
1579 ssa->ops[op_1].op1_def = -1; in zend_dfa_optimize_op_array()
1580 ssa->ops[op_1].op1_use_chain = -1; in zend_dfa_optimize_op_array()
1646 && ssa->ops[op_1].op2_use >= 0 in zend_dfa_optimize_op_array()
1647 && ssa->ops[op_1].op2_def < 0) in zend_dfa_optimize_op_array()
1652 if (ssa->ops[op_1].op1_use != ssa->ops[op_1].op2_use) { in zend_dfa_optimize_op_array()
1653 zend_ssa_unlink_use_chain(ssa, op_1, orig_var); in zend_dfa_optimize_op_array()
1655 ssa->ops[op_1].op2_use_chain = ssa->ops[op_1].op1_use_chain; in zend_dfa_optimize_op_array()
1659 ssa->ops[op_1].result_def = v; in zend_dfa_optimize_op_array()
1660 ssa->ops[op_1].op1_def = -1; in zend_dfa_optimize_op_array()
1661 ssa->ops[op_1].op1_use = ssa->ops[op_1].op2_use; in zend_dfa_optimize_op_array()
1662 ssa->ops[op_1].op1_use_chain = ssa->ops[op_1].op2_use_chain; in zend_dfa_optimize_op_array()
1663 ssa->ops[op_1].op2_use = -1; in zend_dfa_optimize_op_array()
1664 ssa->ops[op_1].op2_use_chain = -1; in zend_dfa_optimize_op_array()
1679 && ssa->ops[op_1].op1_def == v in zend_dfa_optimize_op_array()
1683 && ssa->ops[op_1].op1_use >= 0 in zend_dfa_optimize_op_array()
1684 …&& !(ssa->var_info[ssa->ops[op_1].op1_use].type & (MAY_BE_FALSE|MAY_BE_TRUE|MAY_BE_STRING|MAY_BE_A… in zend_dfa_optimize_op_array()
1694 && ssa->ops[op_1].op1_def == v in zend_dfa_optimize_op_array()
1698 && ssa->ops[op_1].op1_use >= 0 in zend_dfa_optimize_op_array()
1699 …&& !(ssa->var_info[ssa->ops[op_1].op1_use].type & (MAY_BE_UNDEF|MAY_BE_NULL|MAY_BE_FALSE|MAY_BE_TR… in zend_dfa_optimize_op_array()
1707 } else if (ssa->ops[op_1].op1_def == v in zend_dfa_optimize_op_array()
1709 && ssa->ops[op_1].op1_use >= 0 in zend_dfa_optimize_op_array()
1710 …&& !(ssa->var_info[ssa->ops[op_1].op1_use].type & (MAY_BE_STRING|MAY_BE_ARRAY|MAY_BE_OBJECT|MAY_BE… in zend_dfa_optimize_op_array()
1717 ssa->ops[op_1].result_def = ssa->ops[op_1].op1_def; in zend_dfa_optimize_op_array()
1718 ssa->ops[op_1].op1_def = -1; in zend_dfa_optimize_op_array()