LLVM
8.0.1
|
This class initializes machine functions by applying the state loaded from a MIR file. More...
#include "llvm/CodeGen/MIRParser/MIRParser.h"
Public Member Functions | |
MIRParser (std::unique_ptr< MIRParserImpl > Impl) | |
MIRParser (const MIRParser &)=delete | |
~MIRParser () | |
std::unique_ptr< Module > | parseIRModule () |
Parses the optional LLVM IR module in the MIR file. More... | |
bool | parseMachineFunctions (Module &M, MachineModuleInfo &MMI) |
Parses MachineFunctions in the MIR file and add them to the given MachineModuleInfo MMI . More... | |
This class initializes machine functions by applying the state loaded from a MIR file.
Definition at line 34 of file MIRParser.h.
MIRParser::MIRParser | ( | std::unique_ptr< MIRParserImpl > | Impl | ) |
Definition at line 889 of file MIRParser.cpp.
MIRParser::~MIRParser | ( | ) |
Definition at line 892 of file MIRParser.cpp.
std::unique_ptr< Module > MIRParser::parseIRModule | ( | ) |
Parses the optional LLVM IR module in the MIR file.
A new, empty module is created if the LLVM IR isn't present.
Definition at line 894 of file MIRParser.cpp.
bool MIRParser::parseMachineFunctions | ( | Module & | M, |
MachineModuleInfo & | MMI | ||
) |
Parses MachineFunctions in the MIR file and add them to the given MachineModuleInfo MMI
.
Definition at line 898 of file MIRParser.cpp.