Emit a call to the mempcpy function.

Synopsis

Declared in <llvm/Transforms/Utils/BuildLibCalls.h>

Value*
emitMemPCpy(
    Value* Dst,
    Value* Src,
    Value* Len,
    IRBuilderBase& B,
    DataLayout const& DL,
    TargetLibraryInfo const* TLI);

Return Value

The mempcpy call, or null if unavailable.

Parameters

Name

Description

Dst

Destination memory pointer.

Src

Source memory pointer.

Len

Number of bytes to copy.

B

IR builder used to create the call.

DL

Data layout used for size typing.

TLI

Target library info describing available libcalls.

Created with MrDocs