Lines Matching full:reachable
14 // reachable from it, constitute code that the user expects the accelerator
15 // to execute. Thus, we identify the set of all functions reachable from
23 // **NOTE**: The above does not handle indirectly reachable functions i.e.
143 const SmallPtrSet<const Function *, N>& Reachable, Module &M) { in removeUnreachableFunctions() argument
146 return !Reachable.contains(F); in removeUnreachableFunctions()
153 return !F.isIntrinsic() && !Reachable.contains(&F); in removeUnreachableFunctions()
196 SmallPtrSet<const Function *, 32> Reachable; in run() local
201 Reachable.insert(CGN.first); in run()
213 if (Reachable.contains(N.second->getFunction())) in run()
220 Reachable.insert(N.second->getFunction()); in run()
226 if (std::empty(Reachable)) in run()
229 removeUnreachableFunctions(Reachable, M); in run()