18 #ifndef LLVM_CODEGEN_MIRPARSER_MIRPARSER_H 19 #define LLVM_CODEGEN_MIRPARSER_MIRPARSER_H 29 class MachineModuleInfo;
35 std::unique_ptr<MIRParserImpl> Impl;
38 MIRParser(std::unique_ptr<MIRParserImpl> Impl);
76 std::unique_ptr<MIRParser>
81 #endif // LLVM_CODEGEN_MIRPARSER_MIRPARSER_H
This class represents lattice values for constants.
This class initializes machine functions by applying the state loaded from a MIR file.
A Module instance is used to store all the information related to an LLVM module. ...
std::unique_ptr< MIRParser > createMIRParser(std::unique_ptr< MemoryBuffer > Contents, LLVMContext &Context)
This function is another interface to the MIR serialization format parser.
bool parseMachineFunctions(Module &M, MachineModuleInfo &MMI)
Parses MachineFunctions in the MIR file and add them to the given MachineModuleInfo MMI...
This is an important class for using LLVM in a threaded context.
Module.h This file contains the declarations for the Module class.
MIRParser(std::unique_ptr< MIRParserImpl > Impl)
Lightweight error class with error context and mandatory checking.
std::unique_ptr< Module > parseIRModule()
Parses the optional LLVM IR module in the MIR file.
StringRef - Represent a constant reference to a string, i.e.
std::unique_ptr< MIRParser > createMIRParserFromFile(StringRef Filename, SMDiagnostic &Error, LLVMContext &Context)
This function is the main interface to the MIR serialization format parser.
This class contains meta information specific to a module.
Instances of this class encapsulate one diagnostic report, allowing printing to a raw_ostream as a ca...