Lines Matching refs:work
781 zend_worklist work; in zend_cfg_identify_loops() local
792 ZEND_WORKLIST_ALLOCA(&work, cfg->blocks_count, list_use_heap); in zend_cfg_identify_loops()
801 zend_worklist_push(&work, 0); in zend_cfg_identify_loops()
803 while (zend_worklist_len(&work)) { in zend_cfg_identify_loops()
805 i = zend_worklist_peek(&work); in zend_cfg_identify_loops()
811 if (zend_worklist_push(&work, j)) { in zend_cfg_identify_loops()
820 } else if (zend_worklist_push(&work, succ)) { in zend_cfg_identify_loops()
825 zend_worklist_pop(&work); in zend_cfg_identify_loops()
866 if (!zend_worklist_len(&work)) { in zend_cfg_identify_loops()
867 zend_bitset_clear(work.visited, zend_bitset_len(cfg->blocks_count)); in zend_cfg_identify_loops()
869 zend_worklist_push(&work, pred); in zend_cfg_identify_loops()
880 while (zend_worklist_len(&work)) { in zend_cfg_identify_loops()
881 j = zend_worklist_pop(&work); in zend_cfg_identify_loops()
892 zend_worklist_push(&work, cfg->predecessors[blocks[j].predecessor_offset + k]); in zend_cfg_identify_loops()
899 ZEND_WORKLIST_FREE_ALLOCA(&work, list_use_heap); in zend_cfg_identify_loops()