Copy debug, profile, and memprof metadata from SrcInst.

Synopsis

Declared in <llvm/IR/Instruction.h>

void
copyProfileAndDebugMetadata(Instruction const& SrcInst);

Description

Does not copy alias‐analysis or type‐dependent metadata. TODO: Include additional metadata in the future if appropriate.

Parameters

Name

Description

SrcInst

The instruction to copy metadata from.

Created with MrDocs