Lines Matching refs:ReturnCaptures
80 const SmallPtrSetImpl<const Value *> &EphValues, bool ReturnCaptures) in SimpleCaptureTracker()
81 : EphValues(EphValues), ReturnCaptures(ReturnCaptures) {} in SimpleCaptureTracker()
86 if (isa<ReturnInst>(U->getUser()) && !ReturnCaptures) in captured()
98 bool ReturnCaptures; member
109 CapturesBefore(bool ReturnCaptures, const Instruction *I, in CapturesBefore()
111 : BeforeHere(I), DT(DT), ReturnCaptures(ReturnCaptures), in CapturesBefore()
131 if (isa<ReturnInst>(I) && !ReturnCaptures) in captured()
147 bool ReturnCaptures; member
165 EarliestCaptures(bool ReturnCaptures, Function &F, const DominatorTree &DT, in EarliestCaptures()
167 : EphValues(EphValues), DT(DT), ReturnCaptures(ReturnCaptures), F(F) {} in EarliestCaptures()
176 if (isa<ReturnInst>(I) && !ReturnCaptures) in captured()
214 bool ReturnCaptures; member
229 bool llvm::PointerMayBeCaptured(const Value *V, bool ReturnCaptures, in PointerMayBeCaptured() argument
232 return PointerMayBeCaptured(V, ReturnCaptures, StoreCaptures, Empty, in PointerMayBeCaptured()
238 bool llvm::PointerMayBeCaptured(const Value *V, bool ReturnCaptures, in PointerMayBeCaptured() argument
251 SimpleCaptureTracker SCT(EphValues, ReturnCaptures); in PointerMayBeCaptured()
269 bool llvm::PointerMayBeCapturedBefore(const Value *V, bool ReturnCaptures, in PointerMayBeCapturedBefore() argument
278 return PointerMayBeCaptured(V, ReturnCaptures, StoreCaptures, in PointerMayBeCapturedBefore()
284 CapturesBefore CB(ReturnCaptures, I, DT, IncludeI, LI); in PointerMayBeCapturedBefore()
294 llvm::FindEarliestCapture(const Value *V, Function &F, bool ReturnCaptures, in FindEarliestCapture() argument
302 EarliestCaptures CB(ReturnCaptures, F, DT, EphValues); in FindEarliestCapture()