ΒΆbool isAllocLikeFn(
    const llvm::Value* V,
    const llvm::TargetLibraryInfo* TLI)

Description

Tests if a value is a call or invoke to a library function that allocates memory (either malloc, calloc, or strdup like).

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

Parameters

const llvm::Value* V
const llvm::TargetLibraryInfo* TLI