LLVM 19.0.0git
Namespaces | Functions
IRReader.h File Reference
#include "llvm/ADT/StringRef.h"
#include "llvm/Bitcode/BitcodeReader.h"
#include <memory>

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 

Functions

std::unique_ptr< Modulellvm::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 deserialization of function bodies.
 
std::unique_ptr< Modulellvm::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 function bodies.
 
std::unique_ptr< Modulellvm::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< Modulellvm::parseIRFile (StringRef Filename, SMDiagnostic &Err, LLVMContext &Context, ParserCallbacks Callbacks={})
 If the given file holds a bitcode image, return a Module for it.