ΒΆOptional<llvm::StringRef> getAllocationFamily(
    const llvm::Value* I,
    const llvm::TargetLibraryInfo* TLI)

Description

If a function is part of an allocation family (e.g. malloc/realloc/calloc/free), return the identifier for its family of functions.

Declared at: llvm/include/llvm/Analysis/MemoryBuiltins.h:126

Parameters

const llvm::Value* I
const llvm::TargetLibraryInfo* TLI