Project Alice
Loading...
Searching...
No Matches
Collaboration diagram for Bit Reader:

Functions

LLVMBool LLVMParseBitcode (LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutModule, char **OutMessage)
 
LLVMBool LLVMParseBitcode2 (LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutModule)
 
LLVMBool LLVMParseBitcodeInContext (LLVMContextRef ContextRef, LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutModule, char **OutMessage)
 
LLVMBool LLVMParseBitcodeInContext2 (LLVMContextRef ContextRef, LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutModule)
 
LLVMBool LLVMGetBitcodeModuleInContext (LLVMContextRef ContextRef, LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutM, char **OutMessage)
 
LLVMBool LLVMGetBitcodeModuleInContext2 (LLVMContextRef ContextRef, LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutM)
 
LLVMBool LLVMGetBitcodeModule (LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutM, char **OutMessage)
 
LLVMBool LLVMGetBitcodeModule2 (LLVMMemoryBufferRef MemBuf, LLVMModuleRef *OutM)
 

Detailed Description

Function Documentation

◆ LLVMGetBitcodeModule()

LLVMBool LLVMGetBitcodeModule ( LLVMMemoryBufferRef  MemBuf,
LLVMModuleRef OutM,
char **  OutMessage 
)

◆ LLVMGetBitcodeModule2()

LLVMBool LLVMGetBitcodeModule2 ( LLVMMemoryBufferRef  MemBuf,
LLVMModuleRef OutM 
)

◆ LLVMGetBitcodeModuleInContext()

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.

◆ LLVMGetBitcodeModuleInContext2()

LLVMBool LLVMGetBitcodeModuleInContext2 ( LLVMContextRef  ContextRef,
LLVMMemoryBufferRef  MemBuf,
LLVMModuleRef OutM 
)

Reads a module from the given memory buffer, returning via the OutMP parameter a module provider which performs lazy deserialization.

Returns 0 on success.

Takes ownership of MemBuf if (and only if) the module was read successfully.

◆ LLVMParseBitcode()

LLVMBool LLVMParseBitcode ( LLVMMemoryBufferRef  MemBuf,
LLVMModuleRef OutModule,
char **  OutMessage 
)

◆ LLVMParseBitcode2()

LLVMBool LLVMParseBitcode2 ( LLVMMemoryBufferRef  MemBuf,
LLVMModuleRef OutModule 
)

◆ LLVMParseBitcodeInContext()

LLVMBool LLVMParseBitcodeInContext ( LLVMContextRef  ContextRef,
LLVMMemoryBufferRef  MemBuf,
LLVMModuleRef OutModule,
char **  OutMessage 
)

◆ LLVMParseBitcodeInContext2()

LLVMBool LLVMParseBitcodeInContext2 ( LLVMContextRef  ContextRef,
LLVMMemoryBufferRef  MemBuf,
LLVMModuleRef OutModule 
)