llvm::EarliestEscapeAnalysis::getCapturesBefore

Return how Object may be captured before instruction I.

Synopsis

Declared in <llvm/Analysis/AliasAnalysis.h>

virtual
CaptureComponents
getCapturesBefore(
    Value const* Object,
    Instruction const* I,
    bool OrAt,
    bool ReturnCaptures) override;

Return Value

Capture components describing how Object may be captured.

Parameters

NameDescription
ObjectPointer value whose captures are queried.
IInstruction before which captures are considered, or null.
OrAtWhen true, also consider captures by I itself.
ReturnCapturesWhether return captures should be included.