Copy debug, profile, and memprof metadata from SrcInst.
Declared in <llvm/IR/Instruction.h>
void
copyProfileAndDebugMetadata(Instruction const& SrcInst);
Does not copy alias-analysis or type-dependent metadata. TODO: Include additional metadata in the future if appropriate.
| Name | Description |
|---|---|
| SrcInst | The instruction to copy metadata from. |