Lines Matching refs:blocks_count

206 		for (b = blocks; b < blocks + cfg->blocks_count; b++) {  in zend_mark_reachable_blocks()
235 for (i = 0; i < cfg->blocks_count; i++) { in zend_cfg_remark_reachable_blocks()
244 for (i = 0; i < cfg->blocks_count; i++) { in zend_cfg_remark_reachable_blocks()
266 if (!block_map[i]) { blocks_count++;} \
277 int blocks_count = 0; in zend_build_cfg() local
463 blocks_count += extra_entry_block; in zend_build_cfg()
464 cfg->blocks_count = blocks_count; in zend_build_cfg()
467 cfg->blocks = blocks = zend_arena_calloc(arena, sizeof(zend_basic_block), blocks_count); in zend_build_cfg()
469 blocks_count = -1; in zend_build_cfg()
475 blocks_count++; in zend_build_cfg()
480 if (blocks_count >= 0) { in zend_build_cfg()
481 blocks[blocks_count].len = i - blocks[blocks_count].start; in zend_build_cfg()
483 blocks_count++; in zend_build_cfg()
484 initialize_block(&blocks[blocks_count]); in zend_build_cfg()
485 blocks[blocks_count].start = i; in zend_build_cfg()
487 block_map[i] = blocks_count; in zend_build_cfg()
490 blocks[blocks_count].len = i - blocks[blocks_count].start; in zend_build_cfg()
491 blocks_count++; in zend_build_cfg()
494 for (j = 0; j < blocks_count; j++) { in zend_build_cfg()
597 zend_basic_block *end = blocks + cfg->blocks_count; in zend_cfg_build_predecessors()
628 for (j = 0; j < cfg->blocks_count; j++) { in zend_cfg_build_predecessors()
676 int blocks_count = cfg->blocks_count; in zend_cfg_compute_dominators_tree() local
679 if (cfg->blocks_count == 1) { in zend_cfg_compute_dominators_tree()
685 int *postnum = do_alloca(sizeof(int) * cfg->blocks_count, use_heap); in zend_cfg_compute_dominators_tree()
686 memset(postnum, -1, sizeof(int) * cfg->blocks_count); in zend_cfg_compute_dominators_tree()
695 for (j = 1; j < blocks_count; j++) { in zend_cfg_compute_dominators_tree()
724 for (j = 1; j < blocks_count; j++) { in zend_cfg_compute_dominators_tree()
745 for (j = 0; j < blocks_count; j++) { in zend_cfg_compute_dominators_tree()
787 if (cfg->blocks_count == 1) { in zend_cfg_identify_loops()
792 ZEND_WORKLIST_ALLOCA(&work, cfg->blocks_count, list_use_heap); in zend_cfg_identify_loops()
796 entry_times = do_alloca(3 * sizeof(int) * cfg->blocks_count, tree_use_heap); in zend_cfg_identify_loops()
797 exit_times = entry_times + cfg->blocks_count; in zend_cfg_identify_loops()
798 sorted_blocks = exit_times + cfg->blocks_count; in zend_cfg_identify_loops()
799 memset(entry_times, -1, 2 * sizeof(int) * cfg->blocks_count); in zend_cfg_identify_loops()
867 zend_bitset_clear(work.visited, zend_bitset_len(cfg->blocks_count)); in zend_cfg_identify_loops()