17 #ifndef LLVM_CODEGEN_MIRPARSER_MIRPARSER_H 18 #define LLVM_CODEGEN_MIRPARSER_MIRPARSER_H 28 class MachineModuleInfo;
35 std::unique_ptr<MIRParserImpl> Impl;
38 MIRParser(std::unique_ptr<MIRParserImpl> Impl);
78 std::unique_ptr<MIRParser>
84 #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. ...
bool parseMachineFunctions(Module &M, MachineModuleInfo &MMI)
Parses MachineFunctions in the MIR file and add them to the given MachineModuleInfo MMI...
std::unique_ptr< MIRParser > createMIRParserFromFile(StringRef Filename, SMDiagnostic &Error, LLVMContext &Context, std::function< void(Function &)> ProcessIRFunction=nullptr)
This function is the main interface to the MIR serialization format parser.
This is an important class for using LLVM in a threaded context.
Module.h This file contains the declarations for the Module class.
std::unique_ptr< MIRParser > createMIRParser(std::unique_ptr< MemoryBuffer > Contents, LLVMContext &Context, std::function< void(Function &)> ProcessIRFunction=nullptr)
This function is another interface to the MIR serialization format parser.
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.
print Print MemDeps of function
StringRef - Represent a constant reference to a string, i.e.
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...