ΒΆvoid createMemCpyLoopKnownSize(
    llvm::Instruction* InsertBefore,
    llvm::Value* SrcAddr,
    llvm::Value* DstAddr,
    llvm::ConstantInt* CopyLen,
    llvm::Align SrcAlign,
    llvm::Align DestAlign,
    bool SrcIsVolatile,
    bool DstIsVolatile,
    bool CanOverlap,
    const llvm::TargetTransformInfo& TTI,
    Optional<uint32_t> AtomicCpySize = None)

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

Parameters

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