setMetadata overloads
Synopses
Declared in <llvm/IR/Value.h>
Set a particular kind of metadata attachment by kind name.
void
setMetadata(
StringRef Kind,
MDNode* Node);
Set a particular kind of metadata attachment.
void
setMetadata(
unsigned int KindID,
MDNode* Node);
Parameters
Name |
Description |
Kind |
Metadata kind name. |
Node |
Metadata node to attach, or null to erase. |
KindID |
Metadata kind identifier. |
Created with MrDocs