llvm::IRBuilderBase::CreateMemCpy

CreateMemCpy overloads

Synopses

Declared in <llvm/IR/IRBuilder.h>

Create and insert a memcpy between the specified pointers.

CallInst*
CreateMemCpy(
    Value* Dst,
    MaybeAlign DstAlign,
    Value* Src,
    MaybeAlign SrcAlign,
    uint64_t Size,
    bool isVolatile = false,
    AAMDNodes const& AAInfo = AAMDNodes());
» more...

Create a mem cpy.

CallInst*
CreateMemCpy(
    Value* Dst,
    MaybeAlign DstAlign,
    Value* Src,
    MaybeAlign SrcAlign,
    Value* Size,
    bool isVolatile = false,
    AAMDNodes const& AAInfo = AAMDNodes());
» more...

Return Value

The created memcpy intrinsic call.

Parameters

NameDescription
DstDestination pointer.
DstAlignAlignment of the destination pointer.
SrcSource vector or pointer.
SrcAlignAlignment of the source pointer.
SizeNumber of bytes, or invariant region size.
isVolatileWhether the memory intrinsic is volatile.
AAInfoOptional alias-analysis metadata nodes.