Lines Matching refs:work
771 zend_worklist work; in zend_cfg_identify_loops() local
778 ZEND_WORKLIST_ALLOCA(&work, cfg->blocks_count, list_use_heap); in zend_cfg_identify_loops()
786 zend_worklist_push(&work, 0); in zend_cfg_identify_loops()
788 while (zend_worklist_len(&work)) { in zend_cfg_identify_loops()
790 i = zend_worklist_peek(&work); in zend_cfg_identify_loops()
796 if (zend_worklist_push(&work, j)) { in zend_cfg_identify_loops()
807 } else if (zend_worklist_push(&work, succ)) { in zend_cfg_identify_loops()
812 zend_worklist_pop(&work); in zend_cfg_identify_loops()
830 zend_bitset_clear(work.visited, zend_bitset_len(cfg->blocks_count)); in zend_cfg_identify_loops()
845 zend_worklist_push(&work, pred); in zend_cfg_identify_loops()
856 while (zend_worklist_len(&work)) { in zend_cfg_identify_loops()
857 j = zend_worklist_pop(&work); in zend_cfg_identify_loops()
864 zend_worklist_push(&work, cfg->predecessors[blocks[j].predecessor_offset + k]); in zend_cfg_identify_loops()
872 ZEND_WORKLIST_FREE_ALLOCA(&work, list_use_heap); in zend_cfg_identify_loops()