Lines Matching defs:WorkList
284 /// Get the next instructions of \p I, and push them to \p WorkList.
286 SmallPtrSetImpl<Instruction *> &WorkList) {
288 WorkList.insert(NextInst);
292 WorkList.insert(&Succ->front());
296 SmallPtrSet<Instruction *, 10> WorkList;
297 getNextInsts(StartInst, WorkList);
298 while (!WorkList.empty()) {
299 Instruction *CurInst = *WorkList.begin();
300 WorkList.erase(CurInst);
308 getNextInsts(*CurInst, WorkList);
463 SmallVector<const BasicBlock *, 8> WorkList;
465 WorkList.push_back(ThisBlock);
466 while (!WorkList.empty()) {
467 const BasicBlock *CurBlock = WorkList.back();
468 WorkList.pop_back();
476 WorkList.push_back(Pred);