Searched refs:entry_times (Results 1 – 2 of 2) sorted by relevance
/PHP-8.4/Zend/Optimizer/ |
H A D | zend_cfg.c | 779 int *entry_times, *exit_times; in zend_cfg_identify_loops() local 795 entry_times = do_alloca(3 * sizeof(int) * cfg->blocks_count, tree_use_heap); in zend_cfg_identify_loops() 796 exit_times = entry_times + cfg->blocks_count; in zend_cfg_identify_loops() 798 memset(entry_times, -1, 2 * sizeof(int) * cfg->blocks_count); in zend_cfg_identify_loops() 805 if (entry_times[i] == -1) { in zend_cfg_identify_loops() 806 entry_times[i] = time++; in zend_cfg_identify_loops() 872 if (entry_times[pred] > entry_times[i] && exit_times[pred] < exit_times[i]) { in zend_cfg_identify_loops() 897 free_alloca(entry_times, tree_use_heap); in zend_cfg_identify_loops()
|
/PHP-8.4/ext/opcache/jit/ir/ |
H A D | ir_cfg.c | 880 uint32_t *entry_times, *exit_times, *sorted_blocks, time = 1; in ir_find_loops() local 892 entry_times = ir_mem_malloc((ctx->cfg_blocks_count + 1) * 3 * sizeof(uint32_t)); in ir_find_loops() 893 exit_times = entry_times + ctx->cfg_blocks_count + 1; in ir_find_loops() 896 memset(entry_times, 0, (ctx->cfg_blocks_count + 1) * sizeof(uint32_t)); in ir_find_loops() 905 if (!entry_times[i]) { in ir_find_loops() 906 entry_times[i] = time++; in ir_find_loops() 977 if (entry_times[pred] > entry_times[i] && exit_times[pred] < exit_times[i]) { in ir_find_loops() 1055 ir_mem_free(entry_times); in ir_find_loops()
|
Completed in 16 milliseconds