Create a memmove intrinsic.

Synopses

Declared in <llvm/IR/IRBuilder.h>

Create a memmove intrinsic.

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

Create a memmove intrinsic.

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

Return Value

The created memmove intrinsic call.

Parameters

Name

Description

Dst

Destination pointer.

DstAlign

Alignment of the destination pointer.

Src

Source vector or pointer.

SrcAlign

Alignment of the source pointer.

Size

Number of bytes, or invariant region size.

isVolatile

Whether the memory intrinsic is volatile.

AAInfo

Optional alias‐analysis metadata nodes.

Created with MrDocs