llvm::MemOp::Copy

Construct a MemOp describing a memcpy operation.

Synopsis

Declared in <llvm/CodeGen/TargetLowering.h>

static
MemOp
Copy(
    uint64_t Size,
    bool DstAlignCanChange,
    Align DstAlign,
    Align SrcAlign,
    bool IsVolatile,
    bool MemcpyStrSrc = false);

Return Value

A MemOp describing the memory operation.

Parameters

NameDescription
SizeMaximum jump-table size, or zero for unlimited.
DstAlignCanChangeWhether the destination alignment may be increased.
DstAlignAlignment of the destination memory.
SrcAlignAlignment of the source memory.
IsVolatileWhether the memory operation is volatile.
MemcpyStrSrcWhether the memcpy source is a string constant.