Append all metadata attached to this value into MDs.
Synopsis
Declared in <llvm/IR/Value.h>
void
getAllMetadata(SmallVectorImpl<std::pair<unsigned int, MDNode*>>& MDs) const;
Description
Attachments are sorted by KindID. The first element of each pair returned is the KindID, the second element is the metadata value. Attachments with the same ID appear in insertion order.
Parameters
Name |
Description |
MDs |
Destination vector that receives kind/metadata pairs. |
Created with MrDocs