Parses MachineFunctions into MachineFunctionAnalysis results in MAM.
Declared in <llvm/CodeGen/MIRParser/MIRParser.h>
bool
parseMachineFunctions(
Module& M,
ModuleAnalysisManager& MAM);
Machine functions from the MIR file are added as the result of MachineFunctionAnalysis in ModulePassManager MAM. User should register at least MachineFunctionAnalysis, MachineModuleAnalysis, FunctionAnalysisManagerModuleProxy and PassInstrumentationAnalysis in MAM before parsing MIR.
true if an error occurred.
| Name | Description |
|---|---|
| M | - The LLVM IR module that owns the machine functions. |
| MAM | - Module analysis manager that holds MachineFunctionAnalysis. |