Lines Matching refs:start_opline
41 # define BLOCK_REF(b) b?op_array->opcodes-b->start_opline:-1
45 …fprintf(stderr, "%sBlock: %d-%d (%d)", txt, block->start_opline - opcodes, block->start_opline - o… in print_block()
50 fprintf(stderr, " 1: %d", block->op1_to->start_opline - opcodes); in print_block()
53 fprintf(stderr, " 2: %d", block->op2_to->start_opline - opcodes); in print_block()
56 fprintf(stderr, " e: %d", block->ext_to->start_opline - opcodes); in print_block()
59 fprintf(stderr, " f: %d", block->follow_to->start_opline - opcodes); in print_block()
66 fprintf(stderr, " %d", bs->from->start_opline - opcodes); in print_block()
78 #define START_BLOCK_OP(opno) blocks[opno].start_opline = &op_array->opcodes[opno]; blocks[opno].sta…
93 blocks[0].start_opline = opline; in find_code_blocks()
239 if (blocks[opno].start_opline) { in find_code_blocks()
241 cur_block->len = blocks[opno].start_opline - cur_block->start_opline; in find_code_blocks()
244 opline = blocks[opno].start_opline - 1; in find_code_blocks()
307 cur_block->len = end - cur_block->start_opline; in find_code_blocks()
397 zend_op *new_to = from_block->start_opline + from_block->len; in del_source()
398 if (new_to != to->start_opline) { in del_source()
400 memmove(new_to, to->start_opline, sizeof(zend_op)*to->len); in del_source()
405 to->start_opline = NULL; in del_source()
567 zend_op *opline = block->start_opline; in strip_nop()
571 while (block->len > 0 && block->start_opline->opcode == ZEND_NOP) { in strip_nop()
579 block->start_opline++; in strip_nop()
585 opline = new_end = block->start_opline; in strip_nop()
607 block->len = new_end - block->start_opline; in strip_nop()
612 zend_op *opline = block->start_opline; in zend_optimize_block()
619 while (block->len > 0 && block->start_opline->opcode == ZEND_NOP) { in zend_optimize_block()
627 block->start_opline++; in zend_optimize_block()
636 opline = block->start_opline; in zend_optimize_block()
741 if(sv >= block->start_opline && sv->opcode == ZEND_SEND_VAL && in zend_optimize_block()
1205 memcpy(opline, cur_block->start_opline, cur_block->len * sizeof(zend_op)); in assemble_code_blocks()
1206 cur_block->start_opline = opline; in assemble_code_blocks()
1226 zend_op *end = cur_block->start_opline + cur_block->len; in assemble_code_blocks()
1227 for (_opl = cur_block->start_opline; _opl && _opl < end; _opl++) { in assemble_code_blocks()
1260 op_array->try_catch_array[j].try_op = cfg->try[i]->start_opline - new_opcodes; in assemble_code_blocks()
1261 op_array->try_catch_array[j].catch_op = cfg->catch[i]->start_opline - new_opcodes; in assemble_code_blocks()
1274 op_array->brk_cont_array[i].start = cfg->loop_start[i]->start_opline - new_opcodes; in assemble_code_blocks()
1275 op_array->brk_cont_array[i].cont = cfg->loop_cont[i]->start_opline - new_opcodes; in assemble_code_blocks()
1276 op_array->brk_cont_array[i].brk = cfg->loop_brk[i]->start_opline - new_opcodes; in assemble_code_blocks()
1288 opline = cur_block->start_opline + cur_block->len - 1; in assemble_code_blocks()
1293 ZEND_OP1(opline).opline_num = cur_block->op1_to->start_opline - new_opcodes; in assemble_code_blocks()
1296 ZEND_OP2(opline).opline_num = cur_block->op2_to->start_opline - new_opcodes; in assemble_code_blocks()
1299 opline->extended_value = cur_block->ext_to->start_opline - new_opcodes; in assemble_code_blocks()
1329 zend_op *last_op = (block->start_opline + block->len - 1); in zend_jmp_optimization()
1337 zend_op *target = block->op1_to->start_opline; in zend_jmp_optimization()
1507 target = target_block->start_opline; in zend_jmp_optimization()
1508 target_end = target_block->start_opline + target_block->len; in zend_jmp_optimization()
1581 target = block->follow_to->start_opline; in zend_jmp_optimization()
1582 target_end = block->follow_to->start_opline + block->follow_to->len; in zend_jmp_optimization()
1656 target = target_block->start_opline; in zend_jmp_optimization()
1657 target_end = target_block->start_opline + target_block->len; in zend_jmp_optimization()
1803 target = target_block->start_opline; in zend_jmp_optimization()
1804 target_end = target_block->start_opline + target_block->len; in zend_jmp_optimization()
1891 zend_op *opline = next_block->start_opline; in zend_t_usage()
1932 zend_op *opline = block->start_opline + block->len - 1; in zend_t_usage()
1941 while (opline >= block->start_opline) { in zend_t_usage()