|
LLVM
8.0.1
|
|
| LLVMBool LLVMGetBitcodeModule | ( | LLVMMemoryBufferRef | MemBuf, |
| LLVMModuleRef * | OutM, | ||
| char ** | OutMessage | ||
| ) |
Definition at line 125 of file BitReader.cpp.
References LLVMGetBitcodeModuleInContext(), and LLVMGetGlobalContext().
| LLVMBool LLVMGetBitcodeModule2 | ( | LLVMMemoryBufferRef | MemBuf, |
| LLVMModuleRef * | OutM | ||
| ) |
Definition at line 131 of file BitReader.cpp.
References LLVMGetBitcodeModuleInContext2(), 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. This is deprecated. Use LLVMGetBitcodeModuleInContext2.
Definition at line 79 of file BitReader.cpp.
References llvm::getOwningLazyBitcodeModule(), and llvm::unwrap().
Referenced by LLVMGetBitcodeModule().
| LLVMBool LLVMGetBitcodeModuleInContext2 | ( | LLVMContextRef | ContextRef, |
| LLVMMemoryBufferRef | MemBuf, | ||
| LLVMModuleRef * | OutM | ||
| ) |
Reads a module from the specified path, returning via the OutMP parameter a module provider which performs lazy deserialization.
Returns 0 on success.
Definition at line 106 of file BitReader.cpp.
References llvm::expectedToErrorOrAndEmitErrors(), llvm::ErrorOr< T >::get(), llvm::ErrorOr< T >::getError(), llvm::getOwningLazyBitcodeModule(), llvm::unwrap(), and llvm::wrap().
Referenced by LLVMGetBitcodeModule2().
| LLVMBool LLVMParseBitcode | ( | LLVMMemoryBufferRef | MemBuf, |
| LLVMModuleRef * | OutModule, | ||
| char ** | OutMessage | ||
| ) |
Definition at line 25 of file BitReader.cpp.
References LLVMGetGlobalContext(), and LLVMParseBitcodeInContext().
| LLVMBool LLVMParseBitcode2 | ( | LLVMMemoryBufferRef | MemBuf, |
| LLVMModuleRef * | OutModule | ||
| ) |
Definition at line 31 of file BitReader.cpp.
References LLVMGetGlobalContext(), and LLVMParseBitcodeInContext2().
| LLVMBool LLVMParseBitcodeInContext | ( | LLVMContextRef | ContextRef, |
| LLVMMemoryBufferRef | MemBuf, | ||
| LLVMModuleRef * | OutModule, | ||
| char ** | OutMessage | ||
| ) |
Definition at line 36 of file BitReader.cpp.
References llvm::parseBitcodeFile(), and llvm::unwrap().
Referenced by LLVMParseBitcode().
| LLVMBool LLVMParseBitcodeInContext2 | ( | LLVMContextRef | ContextRef, |
| LLVMMemoryBufferRef | MemBuf, | ||
| LLVMModuleRef * | OutModule | ||
| ) |
Definition at line 59 of file BitReader.cpp.
References llvm::expectedToErrorOrAndEmitErrors(), llvm::ErrorOr< T >::get(), llvm::ErrorOr< T >::getError(), llvm::parseBitcodeFile(), llvm::unwrap(), and llvm::wrap().
Referenced by LLVMParseBitcode2().
1.8.13