LLVM 20.0.0git
Public Member Functions | List of all members
llvm::CaptureAnalysis Struct Referenceabstract

Virtual base class for providers of capture analysis. More...

#include "llvm/Analysis/AliasAnalysis.h"

Inheritance diagram for llvm::CaptureAnalysis:
Inheritance graph
[legend]

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.
 

Detailed Description

Virtual base class for providers of capture analysis.

Definition at line 148 of file AliasAnalysis.h.

Constructor & Destructor Documentation

◆ ~CaptureAnalysis()

CaptureAnalysis::~CaptureAnalysis ( )
pure virtualdefault

Member Function Documentation

◆ isNotCapturedBefore()

virtual bool llvm::CaptureAnalysis::isNotCapturedBefore ( const Value Object,
const Instruction I,
bool  OrAt 
)
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().


The documentation for this struct was generated from the following files: