LLVM API Documentation
#include "llvm-c/BitReader.h"#include "llvm/Bitcode/ReaderWriter.h"#include "llvm/LLVMContext.h"#include "llvm/Support/MemoryBuffer.h"#include <string>#include <cstring>
Go to the source code of this file.
Functions | |
| int | LLVMParseBitcode (LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutModule, char **OutMessage) |
| int | LLVMParseBitcodeInContext (LLVMContextRef ContextRef, LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutModule, char **OutMessage) |
| int | LLVMGetBitcodeModuleProvider (LLVMMemoryBufferRef MemBuf, LLVMModuleProviderRef *OutMP, char **OutMessage) |
| int | LLVMGetBitcodeModuleProviderInContext (LLVMContextRef ContextRef, LLVMMemoryBufferRef MemBuf, LLVMModuleProviderRef *OutMP, char **OutMessage) |
| int LLVMGetBitcodeModuleProvider | ( | LLVMMemoryBufferRef | MemBuf, | |
| LLVMModuleProviderRef * | OutMP, | |||
| char ** | OutMessage | |||
| ) |
Definition at line 56 of file BitReader.cpp.
References llvm::getBitcodeModuleProvider(), and llvm::getGlobalContext().
| int LLVMGetBitcodeModuleProviderInContext | ( | LLVMContextRef | ContextRef, | |
| LLVMMemoryBufferRef | MemBuf, | |||
| LLVMModuleProviderRef * | OutMP, | |||
| char ** | OutMessage | |||
| ) |
| int LLVMParseBitcode | ( | LLVMMemoryBufferRef | MemBuf, | |
| LLVMModuleRef * | OutModule, | |||
| char ** | OutMessage | |||
| ) |
Definition at line 22 of file BitReader.cpp.
References llvm::getGlobalContext(), and llvm::ParseBitcodeFile().
| int LLVMParseBitcodeInContext | ( | LLVMContextRef | ContextRef, | |
| LLVMMemoryBufferRef | MemBuf, | |||
| LLVMModuleRef * | OutModule, | |||
| char ** | OutMessage | |||
| ) |