14#ifndef LLVM_IRREADER_IRREADER_H
15#define LLVM_IRREADER_IRREADER_H
35std::unique_ptr<Module>
getLazyIRModule(std::unique_ptr<MemoryBuffer> Buffer,
36 SMDiagnostic &Err, LLVMContext &Context,
37 bool ShouldLazyLoadMetadata =
false);
44std::unique_ptr<Module>
46 bool ShouldLazyLoadMetadata =
false);
52std::unique_ptr<Module>
parseIR(MemoryBufferRef Buffer, SMDiagnostic &Err,
54 ParserCallbacks Callbacks = {});
60std::unique_ptr<Module>
parseIRFile(StringRef Filename, SMDiagnostic &Err,
62 ParserCallbacks Callbacks = {});
Machine Check Debug Module
This is an optimization pass for GlobalISel generic memory operations.
std::unique_ptr< Module > parseIRFile(StringRef Filename, SMDiagnostic &Err, LLVMContext &Context, ParserCallbacks Callbacks={})
If the given file holds a bitcode image, return a Module for it.
std::unique_ptr< Module > parseIR(MemoryBufferRef Buffer, SMDiagnostic &Err, LLVMContext &Context, ParserCallbacks Callbacks={})
If the given MemoryBuffer holds a bitcode image, return a Module for it.
std::unique_ptr< Module > getLazyIRFileModule(StringRef Filename, SMDiagnostic &Err, LLVMContext &Context, bool ShouldLazyLoadMetadata=false)
If the given file holds a bitcode image, return a Module for it which does lazy deserialization of fu...
std::unique_ptr< Module > getLazyIRModule(std::unique_ptr< MemoryBuffer > Buffer, SMDiagnostic &Err, LLVMContext &Context, bool ShouldLazyLoadMetadata=false)
If the given MemoryBuffer holds a bitcode image, return a Module for it which does lazy deserializati...