ΒΆvoid createMemCpyLoopUnknownSize(
    llvm::Instruction* InsertBefore,
    llvm::Value* SrcAddr,
    llvm::Value* DstAddr,
    llvm::Value* CopyLen,
    llvm::Align SrcAlign,
    llvm::Align DestAlign,
    bool SrcIsVolatile,
    bool DstIsVolatile,
    bool CanOverlap,
    const llvm::TargetTransformInfo& TTI,
    Optional<unsigned int> AtomicSize = None)

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:34

Parameters

llvm::Instruction* InsertBefore
llvm::Value* SrcAddr
llvm::Value* DstAddr
llvm::Value* CopyLen
llvm::Align SrcAlign
llvm::Align DestAlign
bool SrcIsVolatile
bool DstIsVolatile
bool CanOverlap
const llvm::TargetTransformInfo& TTI
Optional<unsigned int> AtomicSize = None