LLVM 18.0.0git
|
Context-sensitive CaptureInfo provider, which computes and caches the earliest common dominator closure of all captures. More...
#include "llvm/Analysis/AliasAnalysis.h"
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) |
![]() | |
virtual | ~CaptureInfo ()=0 |
virtual bool | isNotCapturedBeforeOrAt (const Value *Object, const Instruction *I)=0 |
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.
|
inline |
Definition at line 190 of file AliasAnalysis.h.
|
overridevirtual |
Implements llvm::CaptureInfo.
Definition at line 200 of file BasicAliasAnalysis.cpp.
References llvm::FindEarliestCapture(), I, llvm::isIdentifiedFunctionLocal(), and llvm::isPotentiallyReachable().
void EarliestEscapeInfo::removeInstruction | ( | Instruction * | I | ) |
Definition at line 225 of file BasicAliasAnalysis.cpp.
References I.