Lines Matching defs:WorkList
187 SmallPtrSet<BasicBlock*, 8> WorkList;
196 WorkList.insert(*II);
200 MadeChange |= !WorkList.empty();
201 while (!WorkList.empty()) {
202 BasicBlock *BB = *WorkList.begin();
203 WorkList.erase(BB);
211 WorkList.insert(*II);
1468 SmallVector<Value*, 8> worklist;
1470 worklist.push_back(Addr);
1472 // Use a worklist to iteratively look through PHI nodes, and ensure that
1480 while (!worklist.empty()) {
1481 Value *V = worklist.back();
1482 worklist.pop_back();
1493 worklist.push_back(P->getIncomingValue(i));