Try to turn a call to @llvm.objectsize into an integer value.
Synopses
Declared in <llvm/Analysis/MemoryBuiltins.h>
Try to turn a call to @llvm.objectsize into an integer value.
Value*
lowerObjectSizeCall(
IntrinsicInst* ObjectSize,
DataLayout const& DL,
TargetLibraryInfo const* TLI,
bool MustSucceed);
Try to turn a call to @llvm.objectsize into an integer value.
Value*
lowerObjectSizeCall(
IntrinsicInst* ObjectSize,
DataLayout const& DL,
TargetLibraryInfo const* TLI,
AAResults* AA,
bool MustSucceed,
SmallVectorImpl<Instruction*>* InsertedInstructions = nullptr);
Return Value
An integer Value for the object size, or nullptr on failure.
Parameters
Name |
Description |
ObjectSize |
Intrinsic call to lower. |
DL |
Data layout used for type and pointer sizing. |
TLI |
Target library info used to identify allocation functions. |
MustSucceed |
When true, always produce a value, possibly conservative. |
AA |
Optional alias analysis results for more precise evaluation. |
InsertedInstructions |
Optional list that receives any new instructions. |
Created with MrDocs