LLVM 22.0.0git
|
Virtual base class for providers of capture analysis. More...
#include "llvm/Analysis/AliasAnalysis.h"
Public Member Functions | |
virtual | ~CaptureAnalysis ()=0 |
virtual CaptureComponents | getCapturesBefore (const Value *Object, const Instruction *I, bool OrAt)=0 |
Return how Object may be captured before instruction I, considering only provenance captures. |
Virtual base class for providers of capture analysis.
Definition at line 149 of file AliasAnalysis.h.
|
pure virtualdefault |
|
pure virtual |
Return how Object may be captured before instruction I, considering only provenance captures.
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::EarliestEscapeAnalysis, and llvm::SimpleCaptureAnalysis.
References I.
Referenced by llvm::BasicAAResult::getModRefInfo().