ΒΆbool CanUse(const llvm::Instruction* Inst,
            const llvm::Value* Ptr,
            llvm::objcarc::ProvenanceAnalysis& PA,
            llvm::objcarc::ARCInstKind Class)

Description

Test whether the given instruction can "use" the given pointer's object in a way that requires the reference count to be positive.

Declared at: llvm/lib/Transforms/ObjCARC/DependencyAnalysis.h:66

Parameters

const llvm::Instruction* Inst
const llvm::Value* Ptr
llvm::objcarc::ProvenanceAnalysis& PA
llvm::objcarc::ARCInstKind Class