Get the metadata of given kind attached to this Instruction.
Synopses
Declared in <llvm/IR/Instruction.h>
Get the metadata of given kind attached to this Instruction.
MDNode*
getMetadata(StringRef Kind) const;
Get the metadata of given kind attached to this Instruction.
MDNode*
getMetadata(unsigned int KindID) const;
Return Value
The metadata node, or null if not present.
Parameters
Name |
Description |
Kind |
The metadata kind name to look up. |
KindID |
The metadata kind ID to look up. |
Created with MrDocs