LLVM  14.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]
Collaboration diagram for llvm::EarliestEscapeInfo:
Collaboration graph
[legend]

Public Member Functions

 EarliestEscapeInfo (DominatorTree &DT, const LoopInfo &LI)
 
bool isNotCapturedBeforeOrAt (const Value *Object, const Instruction *I) override
 
void removeInstruction (Instruction *I)
 
- Public Member Functions inherited from llvm::CaptureInfo
virtual ~CaptureInfo ()=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 403 of file AliasAnalysis.h.

Constructor & Destructor Documentation

◆ EarliestEscapeInfo()

llvm::EarliestEscapeInfo::EarliestEscapeInfo ( DominatorTree DT,
const LoopInfo LI 
)
inline

Definition at line 418 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 253 of file BasicAliasAnalysis.cpp.

References I.


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