ΒΆbool isMallocOrCallocLikeFn(
const llvm::Value* V,
const llvm::TargetLibraryInfo* TLI)
bool isMallocOrCallocLikeFn(
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 similar to malloc or calloc.
Declared at: llvm/include/llvm/Analysis/MemoryBuiltins.h:61
Parameters
- const llvm::Value* V
- const llvm::TargetLibraryInfo* TLI