LLVM 18.0.0git
Public Member Functions | List of all members
llvm::EarliestEscapeInfo Class Referencefinal

Context-sensitive CaptureInfo provider, which computes and caches the earliest common dominator closure of all captures. More...

#include "llvm/Analysis/AliasAnalysis.h"

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

Public Member Functions

 EarliestEscapeInfo (DominatorTree &DT, const LoopInfo &LI, const SmallPtrSetImpl< const Value * > &EphValues)
 
bool isNotCapturedBeforeOrAt (const Value *Object, const Instruction *I) override
 
void removeInstruction (Instruction *I)
 
- Public Member Functions inherited from llvm::CaptureInfo
virtual ~CaptureInfo ()=0
 
virtual bool isNotCapturedBeforeOrAt (const Value *Object, const Instruction *I)=0
 

Detailed Description

Context-sensitive CaptureInfo provider, which computes and caches the earliest common dominator closure of all captures.

It provides a good approximation to a precise "captures before" analysis.

Definition at line 173 of file AliasAnalysis.h.

Constructor & Destructor Documentation

◆ EarliestEscapeInfo()

llvm::EarliestEscapeInfo::EarliestEscapeInfo ( DominatorTree DT,
const LoopInfo LI,
const SmallPtrSetImpl< const Value * > &  EphValues 
)
inline

Definition at line 190 of file AliasAnalysis.h.

Member Function Documentation

◆ isNotCapturedBeforeOrAt()

bool EarliestEscapeInfo::isNotCapturedBeforeOrAt ( const Value Object,
const Instruction I 
)
overridevirtual

◆ removeInstruction()

void EarliestEscapeInfo::removeInstruction ( Instruction I)

Definition at line 225 of file BasicAliasAnalysis.cpp.

References I.


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