ΒΆbool isOpNewLikeFn(
const llvm::Value* V,
const llvm::TargetLibraryInfo* TLI,
bool LookThroughBitCast = false)
bool isOpNewLikeFn(
const llvm::Value* V,
const llvm::TargetLibraryInfo* TLI,
bool LookThroughBitCast = false)
Description
Tests if a value is a call or invoke to a library function that allocates memory and throws if an allocation failed (e.g., new).
Declared at: llvm/include/llvm/Analysis/MemoryBuiltins.h:104
Parameters
- const llvm::Value* V
- const llvm::TargetLibraryInfo* TLI
- bool LookThroughBitCast = false