ΒΆvoid createMemCpyLoopUnknownSize(
llvm::Instruction* InsertBefore,
llvm::Value* SrcAddr,
llvm::Value* DstAddr,
llvm::Value* CopyLen,
unsigned int SrcAlign,
unsigned int DestAlign,
bool SrcIsVolatile,
bool DstIsVolatile,
const llvm::TargetTransformInfo& TTI)
void createMemCpyLoopUnknownSize(
llvm::Instruction* InsertBefore,
llvm::Value* SrcAddr,
llvm::Value* DstAddr,
llvm::Value* CopyLen,
unsigned int SrcAlign,
unsigned int DestAlign,
bool SrcIsVolatile,
bool DstIsVolatile,
const llvm::TargetTransformInfo& TTI)
Description
Emit a loop implementing the semantics of llvm.memcpy where the size is not a compile-time constant. Loop will be insterted at \p InsertBefore.
Declared at: llvm/include/llvm/Transforms/Utils/LowerMemIntrinsics.h:29
Parameters
- llvm::Instruction* InsertBefore
- llvm::Value* SrcAddr
- llvm::Value* DstAddr
- llvm::Value* CopyLen
- unsigned int SrcAlign
- unsigned int DestAlign
- bool SrcIsVolatile
- bool DstIsVolatile
- const llvm::TargetTransformInfo& TTI