Lines Matching refs:Worklist
129 static bool isPotentiallyReachableInner(SmallVectorImpl<BasicBlock *> &Worklist, in isPotentiallyReachableInner() argument
143 BasicBlock *BB = Worklist.pop_back_val(); in isPotentiallyReachableInner()
163 Outer->getExitBlocks(Worklist); in isPotentiallyReachableInner()
165 Worklist.append(succ_begin(BB), succ_end(BB)); in isPotentiallyReachableInner()
167 } while (!Worklist.empty()); in isPotentiallyReachableInner()
179 SmallVector<BasicBlock*, 32> Worklist; in isPotentiallyReachable() local
180 Worklist.push_back(const_cast<BasicBlock*>(A)); in isPotentiallyReachable()
182 return isPotentiallyReachableInner(Worklist, const_cast<BasicBlock*>(B), in isPotentiallyReachable()
191 SmallVector<BasicBlock*, 32> Worklist; in isPotentiallyReachable() local
218 Worklist.append(succ_begin(BB), succ_end(BB)); in isPotentiallyReachable()
220 if (Worklist.empty()) { in isPotentiallyReachable()
225 Worklist.push_back(const_cast<BasicBlock*>(A->getParent())); in isPotentiallyReachable()
233 return isPotentiallyReachableInner(Worklist, in isPotentiallyReachable()