|
LLVM
4.0.0
|
This class initializes machine functions by applying the state loaded from a MIR file. More...
#include <MIRParser.h>
Public Member Functions | |
| MIRParser (std::unique_ptr< MIRParserImpl > Impl) | |
| MIRParser (const MIRParser &)=delete | |
| ~MIRParser () override | |
| std::unique_ptr< Module > | parseLLVMModule () |
| Parse the optional LLVM IR module that's embedded in the MIR file. More... | |
| bool | initializeMachineFunction (MachineFunction &MF) override |
| Initialize the machine function to the state that's described in the MIR file. More... | |
Public Member Functions inherited from llvm::MachineFunctionInitializer | |
| virtual | ~MachineFunctionInitializer () |
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 837 of file MIRParser.cpp.
|
override |
Definition at line 840 of file MIRParser.cpp.
|
overridevirtual |
Initialize the machine function to the state that's described in the MIR file.
Return true if error occurred.
Implements llvm::MachineFunctionInitializer.
Definition at line 844 of file MIRParser.cpp.
| std::unique_ptr< Module > MIRParser::parseLLVMModule | ( | ) |
Parse the optional LLVM IR module that's embedded in the MIR file.
A new, empty module is created if the LLVM IR isn't present. Returns null if a parsing error occurred.
Definition at line 842 of file MIRParser.cpp.
1.8.6