rocm.bindings.llvm.c.bitreader#
2026-09-24
6 min read time
Advanced Micro Devices, Inc.
Functions#
|
|
|
(No short description, might be part of a group.) |
|
(No short description, might be part of a group.) |
|
This is deprecated. Use LLVMParseBitcodeInContext2. |
|
This is deprecated. Use LLVMParseBitcodeInContext2. |
|
Reads a module from the specified path, returning via the OutMP parameter |
|
Reads a module from the given memory buffer, returning via the OutMP |
|
(No short description, might be part of a group.) |
|
(No short description, might be part of a group.) |
Module Contents#
- rocm.bindings.llvm.c.bitreader.LLVMParseBitcode(MemBuf)#
(No short description, might be part of a group.)
- Args:
- Returns:
A
tupleof size 3 that contains (in that order):int: (undocumented)- OutModule (
LLVMOpaqueModule): (undocumented)
- OutModule (
C signature
LLVMBool LLVMParseBitcode(LLVMMemoryBufferRef MemBuf, LLVMModuleRef * OutModule, char ** OutMessage)
- rocm.bindings.llvm.c.bitreader.LLVMParseBitcode2(MemBuf)#
(No short description, might be part of a group.)
- Args:
- Returns:
A
tupleof size 2 that contains (in that order):int: (undocumented)- OutModule (
LLVMOpaqueModule): (undocumented)
- OutModule (
C signature
LLVMBool LLVMParseBitcode2(LLVMMemoryBufferRef MemBuf, LLVMModuleRef * OutModule)
- rocm.bindings.llvm.c.bitreader.LLVMParseBitcodeInContext(ContextRef, MemBuf)#
This is deprecated. Use LLVMParseBitcodeInContext2.
- Args:
- Returns:
A
tupleof size 3 that contains (in that order):int: (undocumented)- OutModule (
LLVMOpaqueModule): (undocumented)
- OutModule (
C signature
LLVMBool LLVMParseBitcodeInContext(LLVMContextRef ContextRef, LLVMMemoryBufferRef MemBuf, LLVMModuleRef * OutModule, char ** OutMessage)
- rocm.bindings.llvm.c.bitreader.LLVMParseBitcodeInContext2(ContextRef, MemBuf)#
This is deprecated. Use LLVMParseBitcodeInContext2.
- Args:
- Returns:
A
tupleof size 2 that contains (in that order):int: (undocumented)- OutModule (
LLVMOpaqueModule): (undocumented)
- OutModule (
C signature
LLVMBool LLVMParseBitcodeInContext2(LLVMContextRef ContextRef, LLVMMemoryBufferRef MemBuf, LLVMModuleRef * OutModule)
- rocm.bindings.llvm.c.bitreader.LLVMGetBitcodeModuleInContext(ContextRef, MemBuf)#
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.
- Args:
- Returns:
A
tupleof size 3 that contains (in that order):int: (undocumented)- OutM (
LLVMOpaqueModule): (undocumented)
- OutM (
C signature
LLVMBool LLVMGetBitcodeModuleInContext(LLVMContextRef ContextRef, LLVMMemoryBufferRef MemBuf, LLVMModuleRef * OutM, char ** OutMessage)
- rocm.bindings.llvm.c.bitreader.LLVMGetBitcodeModuleInContext2(ContextRef, MemBuf)#
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
MemBufif (and only if) the module was read successfully.- Args:
- Returns:
A
tupleof size 2 that contains (in that order):int: (undocumented)- OutM (
LLVMOpaqueModule): (undocumented)
- OutM (
C signature
LLVMBool LLVMGetBitcodeModuleInContext2(LLVMContextRef ContextRef, LLVMMemoryBufferRef MemBuf, LLVMModuleRef * OutM)
- rocm.bindings.llvm.c.bitreader.LLVMGetBitcodeModule(MemBuf)#
(No short description, might be part of a group.)
- Args:
- Returns:
A
tupleof size 3 that contains (in that order):int: (undocumented)- OutM (
LLVMOpaqueModule): (undocumented)
- OutM (
C signature
LLVMBool LLVMGetBitcodeModule(LLVMMemoryBufferRef MemBuf, LLVMModuleRef * OutM, char ** OutMessage)
- rocm.bindings.llvm.c.bitreader.LLVMGetBitcodeModule2(MemBuf)#
(No short description, might be part of a group.)
- Args:
- Returns:
A
tupleof size 2 that contains (in that order):int: (undocumented)- OutM (
LLVMOpaqueModule): (undocumented)
- OutM (
C signature
LLVMBool LLVMGetBitcodeModule2(LLVMMemoryBufferRef MemBuf, LLVMModuleRef * OutM)