LLVM 20.0.0git
|
Virtual base class for providers of capture analysis. More...
#include "llvm/Analysis/AliasAnalysis.h"
Public Member Functions | |
virtual | ~CaptureAnalysis ()=0 |
virtual bool | isNotCapturedBefore (const Value *Object, const Instruction *I, bool OrAt)=0 |
Check whether Object is not captured before instruction I. | |
Virtual base class for providers of capture analysis.
Definition at line 148 of file AliasAnalysis.h.
|
pure virtualdefault |
|
pure virtual |
Check whether Object is not captured before instruction I.
If OrAt is true, captures by instruction I itself are also considered.
If I is nullptr, then captures at any point will be considered.
Implemented in llvm::SimpleCaptureAnalysis, and llvm::EarliestEscapeAnalysis.
Referenced by llvm::BasicAAResult::getModRefInfo().