ΒΆbool PointerMayBeCaptured(
    const llvm::Value* V,
    bool ReturnCaptures,
    bool StoreCaptures,
    const SmallPtrSetImpl<const llvm::Value*>&
        EphValues,
    unsigned int MaxUsesToExplore = 0)

Description

Variant of the above function which accepts a set of Values that are ephemeral and cannot cause pointers to escape.

Declared at: llvm/include/llvm/Analysis/CaptureTracking.h:50

Parameters

const llvm::Value* V
bool ReturnCaptures
bool StoreCaptures
const SmallPtrSetImpl<const llvm::Value*>& EphValues
unsigned int MaxUsesToExplore = 0