Parse a machine basic block reference from Src.

Synopsis

Declared in <llvm/CodeGen/MIRParser/MIParser.h>

bool
parseMBBReference(
    PerFunctionMIParsingState& PFS,
    MachineBasicBlock*& MBB,
    StringRef Src,
    SMDiagnostic& Error);

Return Value

true if an error occurred.

Parameters

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.

Created with MrDocs