LLVM 19.0.0git
Public Member Functions | List of all members
llvm::CaptureInfo Struct Referenceabstract

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

#include "llvm/Analysis/AliasAnalysis.h"

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

Public Member Functions

virtual ~CaptureInfo ()=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 information.

Definition at line 152 of file AliasAnalysis.h.

Constructor & Destructor Documentation

◆ ~CaptureInfo()

CaptureInfo::~CaptureInfo ( )
pure virtualdefault

Member Function Documentation

◆ isNotCapturedBefore()

virtual bool llvm::CaptureInfo::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::SimpleCaptureInfo, and llvm::EarliestEscapeInfo.

Referenced by llvm::BasicAAResult::getModRefInfo().


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