LLVM API Documentation
|
Functions | |
| LLVMBool | LLVMParseBitcode (LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutModule, char **OutMessage) |
| LLVMBool | LLVMParseBitcodeInContext (LLVMContextRef ContextRef, LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutModule, char **OutMessage) |
| LLVMBool | LLVMGetBitcodeModuleInContext (LLVMContextRef ContextRef, LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutM, char **OutMessage) |
| LLVMBool | LLVMGetBitcodeModule (LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutM, char **OutMessage) |
| LLVMBool | LLVMGetBitcodeModuleProviderInContext (LLVMContextRef ContextRef, LLVMMemoryBufferRef MemBuf, LLVMModuleProviderRef *OutMP, char **OutMessage) |
| LLVMBool | LLVMGetBitcodeModuleProvider (LLVMMemoryBufferRef MemBuf, LLVMModuleProviderRef *OutMP, char **OutMessage) |
| LLVMBool LLVMGetBitcodeModule | ( | LLVMMemoryBufferRef | MemBuf, |
| LLVMModuleRef * | OutM, | ||
| char ** | OutMessage | ||
| ) |
Definition at line 73 of file BitReader.cpp.
References LLVMGetBitcodeModuleInContext(), and LLVMGetGlobalContext().
| LLVMBool LLVMGetBitcodeModuleInContext | ( | LLVMContextRef | ContextRef, |
| LLVMMemoryBufferRef | MemBuf, | ||
| LLVMModuleRef * | OutM, | ||
| char ** | OutMessage | ||
| ) |
Reads a module from the specified path, returning via the OutMP parameter a module provider which performs lazy deserialization. Returns 0 on success. Optionally returns a human-readable error message via OutMessage.
Definition at line 49 of file BitReader.cpp.
References llvm::ErrorOr< T >::get(), llvm::ErrorOr< T >::getError(), llvm::getLazyBitcodeModule(), llvm::LibFunc::strdup, llvm::unwrap(), and llvm::wrap().
Referenced by LLVMGetBitcodeModule(), and LLVMGetBitcodeModuleProviderInContext().
| LLVMBool LLVMGetBitcodeModuleProvider | ( | LLVMMemoryBufferRef | MemBuf, |
| LLVMModuleProviderRef * | OutMP, | ||
| char ** | OutMessage | ||
| ) |
Deprecated: Use LLVMGetBitcodeModule instead.
Definition at line 90 of file BitReader.cpp.
References LLVMGetBitcodeModuleProviderInContext(), and LLVMGetGlobalContext().
| LLVMBool LLVMGetBitcodeModuleProviderInContext | ( | LLVMContextRef | ContextRef, |
| LLVMMemoryBufferRef | MemBuf, | ||
| LLVMModuleProviderRef * | OutMP, | ||
| char ** | OutMessage | ||
| ) |
Deprecated: Use LLVMGetBitcodeModuleInContext instead.
Definition at line 80 of file BitReader.cpp.
References LLVMGetBitcodeModuleInContext().
Referenced by LLVMGetBitcodeModuleProvider().
| LLVMBool LLVMParseBitcode | ( | LLVMMemoryBufferRef | MemBuf, |
| LLVMModuleRef * | OutModule, | ||
| char ** | OutMessage | ||
| ) |
Definition at line 23 of file BitReader.cpp.
References llvm::getGlobalContext(), LLVMParseBitcodeInContext(), and llvm::wrap().
| LLVMBool LLVMParseBitcodeInContext | ( | LLVMContextRef | ContextRef, |
| LLVMMemoryBufferRef | MemBuf, | ||
| LLVMModuleRef * | OutModule, | ||
| char ** | OutMessage | ||
| ) |
Definition at line 29 of file BitReader.cpp.
References llvm::ErrorOr< T >::get(), llvm::ErrorOr< T >::getError(), llvm::parseBitcodeFile(), llvm::LibFunc::strdup, llvm::unwrap(), and llvm::wrap().
Referenced by LLVMParseBitcode().