Lines Matching refs:op2_to
82 if (block->op2_to) { in print_block()
83 fprintf(stderr, " 2: %d", block->op2_to->start_opline - opcodes); in print_block()
278 cur_block->op2_to = &blocks[ZEND_OP2(opline).opline_num]; in find_code_blocks()
284 cur_block->op2_to = &blocks[ZEND_OP2(opline).opline_num]; in find_code_blocks()
296 cur_block->op2_to = &blocks[ZEND_OP2(opline).opline_num]; in find_code_blocks()
318 cur_block->op2_to = &blocks[ZEND_OP2(opline).opline_num]; in find_code_blocks()
414 from_block->op2_to == NULL && in del_source()
433 if (to->op2_to) { in del_source()
434 from_block->op2_to = to->op2_to; in del_source()
435 replace_source(to->op2_to->sources, to, from_block); in del_source()
463 if (from_block->op2_to == block) { in delete_code_block()
464 from_block->op2_to = to; in delete_code_block()
492 if (block->op2_to) { in zend_access_path()
493 zend_access_path(block->op2_to, ctx); in zend_access_path()
494 ADD_SOURCE(block, block->op2_to); in zend_access_path()
888 block->ext_to = block->op2_to; in zend_optimize_block()
889 block->op2_to = op_b; in zend_optimize_block()
1262 if (cur_block->op2_to) { in assemble_code_blocks()
1263 ZEND_OP2(opline).opline_num = cur_block->op2_to->start_opline - new_opcodes; in assemble_code_blocks()
1336 if (block->op1_to->op2_to) { in zend_jmp_optimization()
1337 block->op2_to = block->op1_to->op2_to; in zend_jmp_optimization()
1338 ADD_SOURCE(block, block->op2_to); in zend_jmp_optimization()
1435 block->op1_to = block->op2_to; in zend_jmp_optimization()
1437 block->op2_to = NULL; in zend_jmp_optimization()
1442 del_source(block, block->op2_to); in zend_jmp_optimization()
1443 block->op2_to = NULL; in zend_jmp_optimization()
1448 if (block->op2_to == block->follow_to) { in zend_jmp_optimization()
1461 block->op2_to = NULL; in zend_jmp_optimization()
1470 block->op2_to = NULL; in zend_jmp_optimization()
1473 block->op2_to = NULL; in zend_jmp_optimization()
1478 if (block->op2_to) { in zend_jmp_optimization()
1483 zend_code_block *target_block = block->op2_to;; in zend_jmp_optimization()
1504 del_source(block, block->op2_to); in zend_jmp_optimization()
1505 block->op2_to = target_block->follow_to; in zend_jmp_optimization()
1506 ADD_SOURCE(block, block->op2_to); in zend_jmp_optimization()
1516 del_source(block, block->op2_to); in zend_jmp_optimization()
1517 block->op2_to = target_block->follow_to; in zend_jmp_optimization()
1518 ADD_SOURCE(block, block->op2_to); in zend_jmp_optimization()
1519 } else if (target_block->op2_to && in zend_jmp_optimization()
1526 del_source(block, block->op2_to); in zend_jmp_optimization()
1527 block->op2_to = target_block->op2_to; in zend_jmp_optimization()
1528 ADD_SOURCE(block, block->op2_to); in zend_jmp_optimization()
1533 del_source(block, block->op2_to); in zend_jmp_optimization()
1534 block->op2_to = target_block->op1_to; in zend_jmp_optimization()
1535 ADD_SOURCE(block, block->op2_to); in zend_jmp_optimization()
1536 } else if (target_block->op2_to && in zend_jmp_optimization()
1544 del_source(block, block->op2_to); in zend_jmp_optimization()
1546 block->op2_to = target_block->op2_to; in zend_jmp_optimization()
1548 block->op2_to = target_block->ext_to; in zend_jmp_optimization()
1550 ADD_SOURCE(block, block->op2_to); in zend_jmp_optimization()
1584 block->ext_to = block->op2_to; in zend_jmp_optimization()
1585 block->op2_to = block->follow_to->op1_to; in zend_jmp_optimization()
1586 ADD_SOURCE(block, block->op2_to); in zend_jmp_optimization()
1609 del_source(block, block->op2_to); in zend_jmp_optimization()
1610 block->op2_to = NULL; in zend_jmp_optimization()
1615 if (block->op2_to) { in zend_jmp_optimization()
1628 target_block = block->op2_to; in zend_jmp_optimization()
1639 } else if (target_block->op2_to && in zend_jmp_optimization()
1645 del_source(block, block->op2_to); in zend_jmp_optimization()
1646 block->op2_to = target_block->op2_to; in zend_jmp_optimization()
1647 ADD_SOURCE(block, block->op2_to); in zend_jmp_optimization()
1648 } else if (target_block->op2_to && in zend_jmp_optimization()
1654 del_source(block, block->op2_to); in zend_jmp_optimization()
1655 block->op2_to = target_block->follow_to; in zend_jmp_optimization()
1656 ADD_SOURCE(block, block->op2_to); in zend_jmp_optimization()
1657 } else if (target_block->op2_to && in zend_jmp_optimization()
1664 del_source(block, block->op2_to); in zend_jmp_optimization()
1665 block->op2_to = target_block->follow_to; in zend_jmp_optimization()
1666 ADD_SOURCE(block, block->op2_to); in zend_jmp_optimization()
1667 } else if (target_block->op2_to && in zend_jmp_optimization()
1674 del_source(block, block->op2_to); in zend_jmp_optimization()
1675 block->op2_to = target_block->op2_to; in zend_jmp_optimization()
1676 ADD_SOURCE(block, block->op2_to); in zend_jmp_optimization()
1681 del_source(block, block->op2_to); in zend_jmp_optimization()
1682 block->op2_to = target_block->op1_to; in zend_jmp_optimization()
1683 ADD_SOURCE(block, block->op2_to); in zend_jmp_optimization()
1684 } else if (target_block->op2_to && in zend_jmp_optimization()
1691 del_source(block, block->op2_to); in zend_jmp_optimization()
1693 block->op2_to = target_block->op2_to; in zend_jmp_optimization()
1695 block->op2_to = target_block->ext_to; in zend_jmp_optimization()
1697 ADD_SOURCE(block, block->op2_to); in zend_jmp_optimization()
1719 block->op1_to = block->op2_to; in zend_jmp_optimization()
1721 block->op2_to = NULL; in zend_jmp_optimization()
1733 todel = block->op2_to; in zend_jmp_optimization()
1734 block->op2_to = NULL; in zend_jmp_optimization()
1738 } else if (block->op2_to == block->ext_to) { in zend_jmp_optimization()
1745 block->op1_to = block->op2_to; in zend_jmp_optimization()
1746 block->op2_to = NULL; in zend_jmp_optimization()
1749 } else if (block->op2_to == next) { in zend_jmp_optimization()
1753 block->op2_to = block->ext_to; in zend_jmp_optimization()
1766 if (last_op->opcode == ZEND_JMPZNZ && block->op2_to) { in zend_jmp_optimization()
1771 zend_code_block *target_block = block->op2_to; in zend_jmp_optimization()
1783 } else if (target_block->op2_to && in zend_jmp_optimization()
1790 del_source(block, block->op2_to); in zend_jmp_optimization()
1791 block->op2_to = target_block->op2_to; in zend_jmp_optimization()
1792 ADD_SOURCE(block, block->op2_to); in zend_jmp_optimization()
1800 del_source(block, block->op2_to); in zend_jmp_optimization()
1801 block->op2_to = target_block->follow_to; in zend_jmp_optimization()
1802 ADD_SOURCE(block, block->op2_to); in zend_jmp_optimization()
1807 del_source(block, block->op2_to); in zend_jmp_optimization()
1808 block->op2_to = target_block->op1_to; in zend_jmp_optimization()
1809 ADD_SOURCE(block, block->op2_to); in zend_jmp_optimization()