ΒΆllvm::Constant* getInitialValueOfAllocation(
const llvm::Value* V,
const llvm::TargetLibraryInfo* TLI,
llvm::Type* Ty)
llvm::Constant* getInitialValueOfAllocation(
const llvm::Value* V,
const llvm::TargetLibraryInfo* TLI,
llvm::Type* Ty)
Description
If this is a call to an allocation function that initializes memory to a fixed value, return said value in the requested type. Otherwise, return nullptr.
Declared at: llvm/include/llvm/Analysis/MemoryBuiltins.h:119
Parameters
- const llvm::Value* V
- const llvm::TargetLibraryInfo* TLI
- llvm::Type* Ty