ΒΆllvm::Value* lowerObjectSizeCall(
llvm::IntrinsicInst* ObjectSize,
const llvm::DataLayout& DL,
const llvm::TargetLibraryInfo* TLI,
bool MustSucceed)
llvm::Value* lowerObjectSizeCall(
llvm::IntrinsicInst* ObjectSize,
const llvm::DataLayout& DL,
const llvm::TargetLibraryInfo* TLI,
bool MustSucceed)
Description
Try to turn a call to @ llvm.objectsize into an integer value of the given Type. Returns null on failure. If MustSucceed is true, this function will not return null, and may return conservative values governed by the second argument of the call to objectsize.
Declared at: llvm/include/llvm/Analysis/MemoryBuiltins.h:216
Parameters
- llvm::IntrinsicInst* ObjectSize
- const llvm::DataLayout& DL
- const llvm::TargetLibraryInfo* TLI
- bool MustSucceed