Lines Matching refs:blocks
800 zend_basic_block *blocks = cfg->blocks; in assemble_code_blocks() local
801 zend_basic_block *end = blocks + cfg->blocks_count; in assemble_code_blocks()
808 for (b = blocks; b < end; b++) { in assemble_code_blocks()
820 if (next < end && next == blocks + b->successors[0]) { in assemble_code_blocks()
849 for (b = blocks; b < end; b++) { in assemble_code_blocks()
862 for (b = blocks; b < end; b++) { in assemble_code_blocks()
870 ZEND_SET_OP_JMP_ADDR(opline, opline->op1, new_opcodes + blocks[b->successors[0]].start); in assemble_code_blocks()
873 …opline->extended_value = ZEND_OPLINE_TO_OFFSET(opline, new_opcodes + blocks[b->successors[1]].star… in assemble_code_blocks()
884 ZEND_SET_OP_JMP_ADDR(opline, opline->op2, new_opcodes + blocks[b->successors[0]].start); in assemble_code_blocks()
888 …opline->extended_value = ZEND_OPLINE_TO_OFFSET(opline, new_opcodes + blocks[b->successors[0]].star… in assemble_code_blocks()
895 …opline->extended_value = ZEND_OPLINE_TO_OFFSET(opline, new_opcodes + blocks[b->successors[0]].star… in assemble_code_blocks()
908 if (blocks[cfg->map[op_array->try_catch_array[i].try_op]].flags & ZEND_BB_REACHABLE) { in assemble_code_blocks()
910 … op_array->try_catch_array[j].try_op = blocks[cfg->map[op_array->try_catch_array[i].try_op]].start; in assemble_code_blocks()
912 …op_array->try_catch_array[j].catch_op = blocks[cfg->map[op_array->try_catch_array[i].catch_op]].st… in assemble_code_blocks()
917 …op_array->try_catch_array[j].finally_op = blocks[cfg->map[op_array->try_catch_array[i].finally_op]… in assemble_code_blocks()
924 …op_array->try_catch_array[j].finally_end = blocks[cfg->map[op_array->try_catch_array[i].finally_en… in assemble_code_blocks()
965 if (!(blocks[cfg->map[op_array->live_range[i].start]].flags & ZEND_BB_REACHABLE)) { in assemble_code_blocks()
966 ZEND_ASSERT(!(blocks[cfg->map[op_array->live_range[i].end]].flags & ZEND_BB_REACHABLE)); in assemble_code_blocks()
968 uint32_t start_op = blocks[cfg->map[op_array->live_range[i].start]].start; in assemble_code_blocks()
969 uint32_t end_op = blocks[cfg->map[op_array->live_range[i].end]].start; in assemble_code_blocks()
1025 if (cfg->blocks[n].flags & ZEND_BB_REACHABLE) { in assemble_code_blocks()
1026 cfg->map[cfg->blocks[n].start] = n; in assemble_code_blocks()
1034 zend_basic_block *blocks = cfg->blocks; in zend_jmp_optimization() local
1045 zend_basic_block *target_block = blocks + block->successors[0]; in zend_jmp_optimization()
1047 int next = (block - blocks) + 1; in zend_jmp_optimization()
1049 while (next < cfg->blocks_count && !(blocks[next].flags & ZEND_BB_REACHABLE)) { in zend_jmp_optimization()
1099 block->op1_to != blocks && in zend_jmp_optimization()
1128 zend_basic_block *prev = blocks; in zend_jmp_optimization()
1200 zend_basic_block *target_block = blocks + block->successors[0]; in zend_jmp_optimization()
1211 target_block = blocks + target_block->successors[0]; in zend_jmp_optimization()
1271 target_block = blocks + block->successors[1]; in zend_jmp_optimization()
1337 target_block = blocks + block->successors[0]; in zend_jmp_optimization()
1346 target_block = blocks + target_block->successors[0]; in zend_jmp_optimization()
1405 int next = (block - blocks) + 1; in zend_jmp_optimization()
1407 while (next < cfg->blocks_count && !(blocks[next].flags & ZEND_BB_REACHABLE)) { in zend_jmp_optimization()
1459 zend_basic_block *target_block = blocks + block->successors[0]; in zend_jmp_optimization()
1469 target_block = blocks + target_block->successors[0]; in zend_jmp_optimization()
1529 block = cfg->blocks + n; in zend_t_usage()
1609 block = cfg->blocks + (--n); in zend_t_usage()
1736 b = cfg->blocks + i; in zend_merge_blocks()
1788 zend_basic_block *blocks, *end, *b; in zend_optimize_cfg() local
1823 blocks = cfg.blocks; in zend_optimize_cfg()
1824 end = blocks + cfg.blocks_count; in zend_optimize_cfg()
1831 for (b = blocks; b < end; b++) { in zend_optimize_cfg()
1845 for (b = blocks; b < end; b++) { in zend_optimize_cfg()
1852 for (b = blocks; b < end; b++) { in zend_optimize_cfg()