ΒΆvoid createMemCpyLoopKnownSize(
    llvm::Instruction* InsertBefore,
    llvm::Value* SrcAddr,
    llvm::Value* DstAddr,
    llvm::ConstantInt* CopyLen,
    unsigned int SrcAlign,
    unsigned int DestAlign,
    bool SrcIsVolatile,
    bool DstIsVolatile,
    const llvm::TargetTransformInfo& TTI)

Description

Emit a loop implementing the semantics of an llvm.memcpy whose size is a compile time constant. Loop is inserted at \p InsertBefore.

Declared at: llvm/include/llvm/Transforms/Utils/LowerMemIntrinsics.h:37

Parameters

llvm::Instruction* InsertBefore
llvm::Value* SrcAddr
llvm::Value* DstAddr
llvm::ConstantInt* CopyLen
unsigned int SrcAlign
unsigned int DestAlign
bool SrcIsVolatile
bool DstIsVolatile
const llvm::TargetTransformInfo& TTI