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