15 #ifndef LLVM_IRREADER_IRREADER_H
16 #define LLVM_IRREADER_IRREADER_H
33 LLVMContext &Context);
38 std::unique_ptr<Module>
parseIR(MemoryBufferRef Buffer, SMDiagnostic &Err,
39 LLVMContext &Context);
44 std::unique_ptr<Module>
parseIRFile(StringRef Filename, SMDiagnostic &Err,
45 LLVMContext &Context);
std::unique_ptr< Module > getLazyIRFileModule(StringRef Filename, SMDiagnostic &Err, LLVMContext &Context)
If the given file holds a bitcode image, return a Module for it which does lazy deserialization of fu...
std::unique_ptr< Module > parseIRFile(StringRef Filename, SMDiagnostic &Err, LLVMContext &Context)
If the given file holds a bitcode image, return a Module for it.
std::unique_ptr< Module > parseIR(MemoryBufferRef Buffer, SMDiagnostic &Err, LLVMContext &Context)
If the given MemoryBuffer holds a bitcode image, return a Module for it.