Parse a metadata node reference from Src.
Declared in <llvm/CodeGen/MIRParser/MIParser.h>
bool
parseMDNode(
PerFunctionMIParsingState& PFS,
MDNode*& Node,
StringRef Src,
SMDiagnostic& Error);
true if an error occurred.
| Name | Description |
|---|---|
| PFS | - Per-function parsing state with machine metadata slots. |
| Node | - Set to the referenced metadata node on success. |
| Src | - Source text containing the metadata node reference. |
| Error | - Diagnostic filled in when parsing fails. |