LLVM API Documentation

Namespaces | Functions
ReaderWriter.h File Reference
#include "llvm/Support/ErrorOr.h"
#include <string>
Include dependency graph for ReaderWriter.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  llvm
 

List of target independent CodeGen pass IDs.


Functions

ErrorOr< Module * > llvm::getLazyBitcodeModule (MemoryBuffer *Buffer, LLVMContext &Context)
Modulellvm::getStreamedBitcodeModule (const std::string &name, DataStreamer *streamer, LLVMContext &Context, std::string *ErrMsg=nullptr)
std::string llvm::getBitcodeTargetTriple (MemoryBuffer *Buffer, LLVMContext &Context)
ErrorOr< Module * > llvm::parseBitcodeFile (MemoryBuffer *Buffer, LLVMContext &Context)
void llvm::WriteBitcodeToFile (const Module *M, raw_ostream &Out)
bool llvm::isBitcodeWrapper (const unsigned char *BufPtr, const unsigned char *BufEnd)
bool llvm::isRawBitcode (const unsigned char *BufPtr, const unsigned char *BufEnd)
bool llvm::isBitcode (const unsigned char *BufPtr, const unsigned char *BufEnd)
bool llvm::SkipBitcodeWrapperHeader (const unsigned char *&BufPtr, const unsigned char *&BufEnd, bool VerifyBufferSize)