14#ifndef LLVM_IRREADER_IRREADER_H
15#define LLVM_IRREADER_IRREADER_H
37std::unique_ptr<Module>
getLazyIRModule(std::unique_ptr<MemoryBuffer> Buffer,
38 SMDiagnostic &Err, LLVMContext &Context,
39 bool ShouldLazyLoadMetadata =
false);
46std::unique_ptr<Module>
48 bool ShouldLazyLoadMetadata =
false);
54std::unique_ptr<Module>
parseIR(MemoryBufferRef Buffer, SMDiagnostic &Err,
56 ParserCallbacks Callbacks = {});
62std::unique_ptr<Module>
parseIRFile(StringRef Filename, SMDiagnostic &Err,
64 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...