|
| bool | llvm::isAllocationFn (const Value *V, const TargetLibraryInfo *TLI, bool LookThroughBitCast=false) |
| | Tests if a value is a call or invoke to a library function that allocates or reallocates memory (either malloc, calloc, realloc, or strdup like). More...
|
| |
| bool | llvm::isNoAliasFn (const Value *V, const TargetLibraryInfo *TLI, bool LookThroughBitCast=false) |
| | Tests if a value is a call or invoke to a function that returns a NoAlias pointer (including malloc/calloc/realloc/strdup-like functions). More...
|
| |
| bool | llvm::isMallocLikeFn (const Value *V, const TargetLibraryInfo *TLI, bool LookThroughBitCast=false) |
| | Tests if a value is a call or invoke to a library function that allocates uninitialized memory (such as malloc). More...
|
| |
| bool | llvm::isCallocLikeFn (const Value *V, const TargetLibraryInfo *TLI, bool LookThroughBitCast=false) |
| | Tests if a value is a call or invoke to a library function that allocates zero-filled memory (such as calloc). More...
|
| |
| bool | llvm::isMallocOrCallocLikeFn (const Value *V, const TargetLibraryInfo *TLI, bool LookThroughBitCast=false) |
| | Tests if a value is a call or invoke to a library function that allocates memory similar to malloc or calloc. More...
|
| |
| bool | llvm::isAllocLikeFn (const Value *V, const TargetLibraryInfo *TLI, bool LookThroughBitCast=false) |
| | Tests if a value is a call or invoke to a library function that allocates memory (either malloc, calloc, or strdup like). More...
|
| |
| const CallInst * | llvm::extractMallocCall (const Value *I, const TargetLibraryInfo *TLI) |
| | extractMallocCall - Returns the corresponding CallInst if the instruction is a malloc call. More...
|
| |
| CallInst * | llvm::extractMallocCall (Value *I, const TargetLibraryInfo *TLI) |
| |
| PointerType * | llvm::getMallocType (const CallInst *CI, const TargetLibraryInfo *TLI) |
| | getMallocType - Returns the PointerType resulting from the malloc call. More...
|
| |
| Type * | llvm::getMallocAllocatedType (const CallInst *CI, const TargetLibraryInfo *TLI) |
| | getMallocAllocatedType - Returns the Type allocated by malloc call. More...
|
| |
| Value * | llvm::getMallocArraySize (CallInst *CI, const DataLayout &DL, const TargetLibraryInfo *TLI, bool LookThroughSExt=false) |
| | getMallocArraySize - Returns the array size of a malloc call. More...
|
| |
| const CallInst * | llvm::extractCallocCall (const Value *I, const TargetLibraryInfo *TLI) |
| | extractCallocCall - Returns the corresponding CallInst if the instruction is a calloc call. More...
|
| |
| CallInst * | llvm::extractCallocCall (Value *I, const TargetLibraryInfo *TLI) |
| |
| const CallInst * | llvm::isFreeCall (const Value *I, const TargetLibraryInfo *TLI) |
| | isFreeCall - Returns non-null if the value is a call to the builtin free() More...
|
| |
| CallInst * | llvm::isFreeCall (Value *I, const TargetLibraryInfo *TLI) |
| |
| bool | llvm::getObjectSize (const Value *Ptr, uint64_t &Size, const DataLayout &DL, const TargetLibraryInfo *TLI, ObjectSizeOpts Opts={}) |
| | Compute the size of the object pointed by Ptr. More...
|
| |
| ConstantInt * | llvm::lowerObjectSizeCall (IntrinsicInst *ObjectSize, const DataLayout &DL, const TargetLibraryInfo *TLI, bool MustSucceed) |
| | Try to turn a call to @llvm.objectsize into an integer value of the given Type. More...
|
| |