rocm.bindings.llvm.c.comdat#
2026-09-24
5 min read time
Advanced Micro Devices, Inc.
Classes#
(No short description) |
Functions#
|
|
|
Return the Comdat in the module with the specified name. |
Get the Comdat assigned to the given global object. |
|
|
Assign the Comdat to the given global object. |
Get the conflict resolution selection kind for the Comdat. |
|
|
Set the conflict resolution selection kind for the Comdat. |
Module Contents#
- class rocm.bindings.llvm.c.comdat.LLVMComdatSelectionKind#
Bases:
enum.IntEnum(No short description)
- rocm.bindings.llvm.c.comdat.LLVMGetOrInsertComdat(M, Name)#
Return the Comdat in the module with the specified name.
It is created if it didn’t already exist.
- See:
llvm::Module::getOrInsertComdat()
- Args:
- Returns:
None: (undocumented)
C signature
LLVMComdatRef LLVMGetOrInsertComdat(LLVMModuleRef M, const char * Name)
- rocm.bindings.llvm.c.comdat.LLVMGetComdat(V)#
Get the Comdat assigned to the given global object.
- See:
llvm::GlobalObject::getComdat()
- Args:
- Returns:
None: (undocumented)
C signature
LLVMComdatRef LLVMGetComdat(LLVMValueRef V)
- rocm.bindings.llvm.c.comdat.LLVMSetComdat(V, C)#
Assign the Comdat to the given global object.
- See:
llvm::GlobalObject::setComdat()
- Args:
C signature
void LLVMSetComdat(LLVMValueRef V, LLVMComdatRef C)
- rocm.bindings.llvm.c.comdat.LLVMGetComdatSelectionKind(C)#
Get the conflict resolution selection kind for the Comdat.
- See:
llvm::Comdat::getSelectionKind()
- Args:
- Returns:
LLVMComdatSelectionKind: (undocumented)
C signature
LLVMComdatSelectionKind LLVMGetComdatSelectionKind(LLVMComdatRef C)
- rocm.bindings.llvm.c.comdat.LLVMSetComdatSelectionKind(C, Kind)#
Set the conflict resolution selection kind for the Comdat.
- See:
llvm::Comdat::setSelectionKind()
- Args:
- C (
Pointer/object): (undocumented)
- Kind (
LLVMComdatSelectionKind): (undocumented)
- C (
C signature
void LLVMSetComdatSelectionKind(LLVMComdatRef C, LLVMComdatSelectionKind Kind)