Lines Matching refs:op2_to

52 	if (block->op2_to) {  in print_block()
53 fprintf(stderr, " 2: %d", block->op2_to->start_opline - opcodes); in print_block()
262 cur_block->op2_to = &blocks[ZEND_OP2(opline).opline_num]; in find_code_blocks()
268 cur_block->op2_to = &blocks[ZEND_OP2(opline).opline_num]; in find_code_blocks()
276 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()
394 from_block->op2_to == NULL && in del_source()
414 if (to->op2_to) { in del_source()
415 from_block->op2_to = to->op2_to; in del_source()
416 replace_source(to->op2_to->sources, to, from_block); in del_source()
444 if (from_block->op2_to == block) { in delete_code_block()
445 from_block->op2_to = to; in delete_code_block()
473 if (block->op2_to) { in zend_access_path()
474 zend_access_path(block->op2_to); in zend_access_path()
475 ADD_SOURCE(block, block->op2_to); in zend_access_path()
856 block->ext_to = block->op2_to; in zend_optimize_block()
857 block->op2_to = op_b; in zend_optimize_block()
1295 if (cur_block->op2_to) { in assemble_code_blocks()
1296 ZEND_OP2(opline).opline_num = cur_block->op2_to->start_opline - new_opcodes; in assemble_code_blocks()
1377 if (block->op1_to->op2_to) { in zend_jmp_optimization()
1378 block->op2_to = block->op1_to->op2_to; in zend_jmp_optimization()
1379 ADD_SOURCE(block, block->op2_to); in zend_jmp_optimization()
1486 block->op1_to = block->op2_to; in zend_jmp_optimization()
1488 block->op2_to = NULL; in zend_jmp_optimization()
1493 del_source(block, block->op2_to); in zend_jmp_optimization()
1494 block->op2_to = NULL; in zend_jmp_optimization()
1499 if (block->op2_to) { in zend_jmp_optimization()
1504 zend_code_block *target_block = block->op2_to;; in zend_jmp_optimization()
1525 del_source(block, block->op2_to); in zend_jmp_optimization()
1526 block->op2_to = target_block->follow_to; in zend_jmp_optimization()
1527 ADD_SOURCE(block, block->op2_to); in zend_jmp_optimization()
1537 del_source(block, block->op2_to); in zend_jmp_optimization()
1538 block->op2_to = target_block->follow_to; in zend_jmp_optimization()
1539 ADD_SOURCE(block, block->op2_to); in zend_jmp_optimization()
1540 } else if (target_block->op2_to && in zend_jmp_optimization()
1547 del_source(block, block->op2_to); in zend_jmp_optimization()
1548 block->op2_to = target_block->op2_to; in zend_jmp_optimization()
1549 ADD_SOURCE(block, block->op2_to); in zend_jmp_optimization()
1554 del_source(block, block->op2_to); in zend_jmp_optimization()
1555 block->op2_to = target_block->op1_to; in zend_jmp_optimization()
1556 ADD_SOURCE(block, block->op2_to); in zend_jmp_optimization()
1557 } else if (target_block->op2_to && in zend_jmp_optimization()
1565 del_source(block, block->op2_to); in zend_jmp_optimization()
1567 block->op2_to = target_block->op2_to; in zend_jmp_optimization()
1569 block->op2_to = target_block->ext_to; in zend_jmp_optimization()
1571 ADD_SOURCE(block, block->op2_to); in zend_jmp_optimization()
1605 block->ext_to = block->op2_to; in zend_jmp_optimization()
1606 block->op2_to = block->follow_to->op1_to; in zend_jmp_optimization()
1607 ADD_SOURCE(block, block->op2_to); in zend_jmp_optimization()
1629 del_source(block, block->op2_to); in zend_jmp_optimization()
1630 block->op2_to = NULL; in zend_jmp_optimization()
1635 if (block->op2_to) { in zend_jmp_optimization()
1654 target_block = block->op2_to; in zend_jmp_optimization()
1665 } else if (target_block->op2_to && in zend_jmp_optimization()
1671 del_source(block, block->op2_to); in zend_jmp_optimization()
1672 block->op2_to = target_block->op2_to; in zend_jmp_optimization()
1673 ADD_SOURCE(block, block->op2_to); in zend_jmp_optimization()
1674 } else if (target_block->op2_to && in zend_jmp_optimization()
1680 del_source(block, block->op2_to); in zend_jmp_optimization()
1681 block->op2_to = target_block->follow_to; in zend_jmp_optimization()
1682 ADD_SOURCE(block, block->op2_to); in zend_jmp_optimization()
1683 } else if (target_block->op2_to && in zend_jmp_optimization()
1690 del_source(block, block->op2_to); in zend_jmp_optimization()
1691 block->op2_to = target_block->follow_to; in zend_jmp_optimization()
1692 ADD_SOURCE(block, block->op2_to); in zend_jmp_optimization()
1693 } else if (target_block->op2_to && in zend_jmp_optimization()
1700 del_source(block, block->op2_to); in zend_jmp_optimization()
1701 block->op2_to = target_block->op2_to; in zend_jmp_optimization()
1702 ADD_SOURCE(block, block->op2_to); in zend_jmp_optimization()
1707 del_source(block, block->op2_to); in zend_jmp_optimization()
1708 block->op2_to = target_block->op1_to; in zend_jmp_optimization()
1709 ADD_SOURCE(block, block->op2_to); in zend_jmp_optimization()
1710 } else if (target_block->op2_to && in zend_jmp_optimization()
1717 del_source(block, block->op2_to); in zend_jmp_optimization()
1719 block->op2_to = target_block->op2_to; in zend_jmp_optimization()
1721 block->op2_to = target_block->ext_to; in zend_jmp_optimization()
1723 ADD_SOURCE(block, block->op2_to); in zend_jmp_optimization()
1748 block->op1_to = block->op2_to; in zend_jmp_optimization()
1750 block->op2_to = NULL; in zend_jmp_optimization()
1762 todel = block->op2_to; in zend_jmp_optimization()
1763 block->op2_to = NULL; in zend_jmp_optimization()
1767 } else if (block->op2_to == block->ext_to) { in zend_jmp_optimization()
1774 block->op1_to = block->op2_to; in zend_jmp_optimization()
1775 block->op2_to = NULL; in zend_jmp_optimization()
1778 } else if (block->op2_to == next) { in zend_jmp_optimization()
1782 block->op2_to = block->ext_to; in zend_jmp_optimization()
1795 if (last_op->opcode == ZEND_JMPZNZ && block->op2_to) { in zend_jmp_optimization()
1800 zend_code_block *target_block = block->op2_to; in zend_jmp_optimization()
1812 } else if (target_block->op2_to && in zend_jmp_optimization()
1819 del_source(block, block->op2_to); in zend_jmp_optimization()
1820 block->op2_to = target_block->op2_to; in zend_jmp_optimization()
1821 ADD_SOURCE(block, block->op2_to); in zend_jmp_optimization()
1829 del_source(block, block->op2_to); in zend_jmp_optimization()
1830 block->op2_to = target_block->follow_to; in zend_jmp_optimization()
1831 ADD_SOURCE(block, block->op2_to); in zend_jmp_optimization()
1836 del_source(block, block->op2_to); in zend_jmp_optimization()
1837 block->op2_to = target_block->op1_to; in zend_jmp_optimization()
1838 ADD_SOURCE(block, block->op2_to); in zend_jmp_optimization()