llvm::Instruction::copyProfileAndDebugMetadata

Copy debug, profile, and memprof metadata from SrcInst to this instruction without copying alias-analysis or type-dependent metadata. TODO: Include additional metadata in the future if appropriate.

Synopsis

Declared in <llvm/IR/Instruction.h>

void
copyProfileAndDebugMetadata(Instruction const& SrcInst);