ΒΆllvm::PointerType* getMallocType(
    const llvm::CallInst* CI,
    const llvm::TargetLibraryInfo* TLI)

Description

getMallocType - Returns the PointerType resulting from the malloc call. The PointerType depends on the number of bitcast uses of the malloc call: 0: PointerType is the malloc calls' return type. 1: PointerType is the bitcast's result type. >1: Unique PointerType cannot be determined, return NULL.

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

Parameters

const llvm::CallInst* CI
const llvm::TargetLibraryInfo* TLI