Home
last modified time | relevance | path

Searched refs:sorted_blocks (Results 1 – 3 of 3) sorted by relevance

/php-src/Zend/Optimizer/
H A Dzend_cfg.c782 int *sorted_blocks; in zend_cfg_identify_loops() local
797 sorted_blocks = exit_times + cfg->blocks_count; in zend_cfg_identify_loops()
828 sorted_blocks[0] = 0; in zend_cfg_identify_loops()
836 for (child = blocks[sorted_blocks[i]].children; child >= 0; child = blocks[child].next_child) { in zend_cfg_identify_loops()
837 sorted_blocks[n++] = child; in zend_cfg_identify_loops()
844 i = sorted_blocks[--n]; in zend_cfg_identify_loops()
/php-src/ext/opcache/jit/ir/
H A Dir_cfg.c880 uint32_t *entry_times, *exit_times, *sorted_blocks, time = 1; in ir_find_loops() local
894 sorted_blocks = exit_times + ctx->cfg_blocks_count + 1; in ir_find_loops()
935 sorted_blocks[1] = 1; in ir_find_loops()
943 …for (child = blocks[sorted_blocks[i]].dom_child; child > 0; child = blocks[child].dom_next_child) { in ir_find_loops()
944 sorted_blocks[n++] = child; in ir_find_loops()
952 i = sorted_blocks[--n]; in ir_find_loops()
1024 i = sorted_blocks[n]; in ir_find_loops()
/php-src/ext/opcache/jit/
H A Dzend_jit.c1434 int *sorted_blocks = alloca(sizeof(int) * ssa->cfg.blocks_count); in zend_jit() local
1435 int n = zend_jit_compute_post_order(&ssa->cfg, 0, sorted_blocks); in zend_jit()
1438 b = sorted_blocks[--n]; in zend_jit()

Completed in 22 milliseconds