Lines Matching refs:work
815 zend_worklist work; in zend_cfg_identify_loops() local
822 ZEND_WORKLIST_ALLOCA(&work, cfg->blocks_count, list_use_heap); in zend_cfg_identify_loops()
830 zend_worklist_push(&work, 0); in zend_cfg_identify_loops()
832 while (zend_worklist_len(&work)) { in zend_cfg_identify_loops()
834 i = zend_worklist_peek(&work); in zend_cfg_identify_loops()
840 if (zend_worklist_push(&work, j)) { in zend_cfg_identify_loops()
849 } else if (zend_worklist_push(&work, succ)) { in zend_cfg_identify_loops()
854 zend_worklist_pop(&work); in zend_cfg_identify_loops()
872 zend_bitset_clear(work.visited, zend_bitset_len(cfg->blocks_count)); in zend_cfg_identify_loops()
887 zend_worklist_push(&work, pred); in zend_cfg_identify_loops()
898 while (zend_worklist_len(&work)) { in zend_cfg_identify_loops()
899 j = zend_worklist_pop(&work); in zend_cfg_identify_loops()
906 zend_worklist_push(&work, cfg->predecessors[blocks[j].predecessor_offset + k]); in zend_cfg_identify_loops()
914 ZEND_WORKLIST_FREE_ALLOCA(&work, list_use_heap); in zend_cfg_identify_loops()