LLVM 18.0.0git
|
Context-free CaptureInfo provider, which computes and caches whether an object is captured in the function at all, but does not distinguish whether it was captured before or after the context instruction. More...
#include "llvm/Analysis/AliasAnalysis.h"
Public Member Functions | |
bool | isNotCapturedBefore (const Value *Object, const Instruction *I, bool OrAt) override |
Check whether Object is not captured before instruction I. | |
![]() | |
virtual | ~CaptureInfo ()=0 |
virtual bool | isNotCapturedBefore (const Value *Object, const Instruction *I, bool OrAt)=0 |
Check whether Object is not captured before instruction I. | |
Context-free CaptureInfo provider, which computes and caches whether an object is captured in the function at all, but does not distinguish whether it was captured before or after the context instruction.
Definition at line 165 of file AliasAnalysis.h.
|
overridevirtual |
Check whether Object is not captured before instruction I.
If OrAt is true, captures by instruction I itself are also considered.
Implements llvm::CaptureInfo.
Definition at line 197 of file BasicAliasAnalysis.cpp.
References llvm::isNonEscapingLocalObject().