Parse the machine instructions.
Synopsis
Declared in <llvm/CodeGen/MIRParser/MIParser.h>
bool
parseMachineInstructions(
PerFunctionMIParsingState& PFS,
StringRef Src,
SMDiagnostic& Error);
Description
This function runs the second parsing pass on the machine function's body. It skips the machine basic block definitions and parses only the machine instructions and basic block attributes like liveins and successors.
The second parsing pass assumes that the first parsing pass already ran on the given source string.
Return Value
true if an error occurred.
Parameters
Name |
Description |
PFS |
‐ Per‐function parsing state with blocks already defined. |
Src |
‐ Machine function body source to parse. |
Error |
‐ Diagnostic filled in when parsing fails. |
Created with MrDocs