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 in <llvm/Analysis/MemoryBuiltins.h>
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.
Value*
lowerObjectSizeCall(
IntrinsicInst* ObjectSize,
DataLayout const& DL,
TargetLibraryInfo const* TLI,
bool MustSucceed);
» more...
Value*
lowerObjectSizeCall(
IntrinsicInst* ObjectSize,
DataLayout const& DL,
TargetLibraryInfo const* TLI,
AAResults* AA,
bool MustSucceed,
SmallVectorImpl<Instruction*>* InsertedInstructions = nullptr);
» more...