ΒΆconst llvm::CallInst* extractMallocCall(
const llvm::Value* I,
function_ref<const llvm::TargetLibraryInfo&(
llvm::Function&)> GetTLI)
const llvm::CallInst* extractMallocCall(
const llvm::Value* I,
function_ref<const llvm::TargetLibraryInfo&(
llvm::Function&)> GetTLI)
Description
extractMallocCall - Returns the corresponding CallInst if the instruction is a malloc call. Since CallInst::CreateMalloc() only creates calls, we ignore InvokeInst here.
Declared at: llvm/include/llvm/Analysis/MemoryBuiltins.h:120
Parameters
- const llvm::Value* I
- function_ref<const llvm::TargetLibraryInfo&( llvm::Function&)> GetTLI