LLVM 17.0.0git
Public Member Functions | List of all members
llvm::SimpleCaptureInfo Class Referencefinal

Context-free CaptureInfo provider, which computes and caches whether an object is captured in the function at all, but does not distinguish whether it was captured before or after the context instruction. More...

#include "llvm/Analysis/AliasAnalysis.h"

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

Public Member Functions

bool isNotCapturedBeforeOrAt (const Value *Object, const Instruction *I) override
 
- Public Member Functions inherited from llvm::CaptureInfo
virtual ~CaptureInfo ()=0
 
virtual bool isNotCapturedBeforeOrAt (const Value *Object, const Instruction *I)=0
 

Detailed Description

Context-free CaptureInfo provider, which computes and caches whether an object is captured in the function at all, but does not distinguish whether it was captured before or after the context instruction.

Definition at line 154 of file AliasAnalysis.h.

Member Function Documentation

◆ isNotCapturedBeforeOrAt()

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

Implements llvm::CaptureInfo.

Definition at line 195 of file BasicAliasAnalysis.cpp.

References llvm::isNonEscapingLocalObject(), and llvm::Object.


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