Lines Matching refs:Worklist
131 SmallVectorImpl<BasicBlock *> &Worklist, BasicBlock *StopBB, in isPotentiallyReachableFromMany() argument
143 BasicBlock *BB = Worklist.pop_back_val(); in isPotentiallyReachableFromMany()
163 Outer->getExitBlocks(Worklist); in isPotentiallyReachableFromMany()
165 Worklist.append(succ_begin(BB), succ_end(BB)); in isPotentiallyReachableFromMany()
167 } while (!Worklist.empty()); in isPotentiallyReachableFromMany()
179 SmallVector<BasicBlock*, 32> Worklist; in isPotentiallyReachable() local
180 Worklist.push_back(const_cast<BasicBlock*>(A)); in isPotentiallyReachable()
182 return isPotentiallyReachableFromMany(Worklist, const_cast<BasicBlock *>(B), in isPotentiallyReachable()
191 SmallVector<BasicBlock*, 32> Worklist; in isPotentiallyReachable() local
219 Worklist.append(succ_begin(BB), succ_end(BB)); in isPotentiallyReachable()
221 if (Worklist.empty()) { in isPotentiallyReachable()
226 Worklist.push_back(const_cast<BasicBlock*>(A->getParent())); in isPotentiallyReachable()
235 Worklist, const_cast<BasicBlock *>(B->getParent()), DT, LI); in isPotentiallyReachable()