Lines Matching refs:worklist
77 // The reaching def's is a simple 1-pass worklist approach. I tried a clever
417 static void do_liveness( PhaseRegAlloc *regalloc, PhaseCFG *cfg, Block_List *worklist, int max_reg_ints, Arena *A, Dict *safehash ) {
428 // Push preds onto worklist
430 worklist->push(cfg->_bbs[root->in(i)->_idx]);
434 // blocks on the worklist. Normally this outer loop never trips more
438 while( worklist->size() ) { // Standard worklist algorithm
439 Block *b = worklist->rpop();
539 // Push preds onto worklist
541 worklist->push(cfg->_bbs[b->pred(l)->_idx]);
565 worklist->push(cfg->_blocks[i]);
580 Block_List worklist; // Worklist of pending blocks
587 do_liveness( _regalloc, _cfg, &worklist, max_reg_ints, A, safehash );
595 // Do the first block 'by hand' to prime the worklist
603 // Do the first block 'by hand' to prime the worklist
607 worklist.push(entry->_succs[i]);
609 // Now worklist contains blocks which have some, but perhaps not all,
611 while( worklist.size() ) {
620 Block *b = worklist.pop();
624 // he can get on the worklist more than once.
684 // Now push children onto worklist
686 worklist.push(b->_succs[i]);