Lines Matching refs:WorkList
284 SmallPtrSetImpl<Instruction *> &WorkList) { in collectInstructionsInBetween() argument
286 WorkList.insert(NextInst); in collectInstructionsInBetween()
290 WorkList.insert(&Succ->front()); in collectInstructionsInBetween()
294 SmallPtrSet<Instruction *, 10> WorkList; in collectInstructionsInBetween() local
295 getNextInsts(StartInst, WorkList); in collectInstructionsInBetween()
296 while (!WorkList.empty()) { in collectInstructionsInBetween()
297 Instruction *CurInst = *WorkList.begin(); in collectInstructionsInBetween()
298 WorkList.erase(CurInst); in collectInstructionsInBetween()
306 getNextInsts(*CurInst, WorkList); in collectInstructionsInBetween()
448 SmallVector<const BasicBlock *, 8> WorkList; in nonStrictlyPostDominate() local
450 WorkList.push_back(ThisBlock); in nonStrictlyPostDominate()
451 while (!WorkList.empty()) { in nonStrictlyPostDominate()
452 const BasicBlock *CurBlock = WorkList.back(); in nonStrictlyPostDominate()
453 WorkList.pop_back(); in nonStrictlyPostDominate()
461 WorkList.push_back(Pred); in nonStrictlyPostDominate()