llvm::SimpleCaptureAnalysis

Context-free CaptureAnalysis provider.

Synopsis

Declared in <llvm/Analysis/AliasAnalysis.h>

class SimpleCaptureAnalysis final
    : public CaptureAnalysis

Description

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.

Base Classes

NameDescription
CaptureAnalysisVirtual base class for providers of capture analysis.

Member Functions

NameDescription
getCapturesBefore [virtual]Return how Object may be captured before instruction I.