[#llvm-copyMetadataForLoad] = xref:llvm.adoc[llvm]::copyMetadataForLoad :relfileprefix: ../ :mrdocs: Copy metadata from a source load onto its replacement. == Synopsis Declared in `<llvm/Transforms/Utils/Local.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void copyMetadataForLoad( xref:llvm/LoadInst.adoc[LoadInst]& Dest, xref:llvm/LoadInst.adoc[LoadInst] const& Source); ---- == Description Copy the metadata from the source instruction to the destination (the replacement for the source instruction). == Parameters [cols="1,4"] |=== | Name| Description | *Dest* | Destination load that receives the metadata. | *Source* | Source load whose metadata is copied. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#