rocm.bindings.llvm.c.analysis#
2026-09-24
5 min read time
Advanced Micro Devices, Inc.
Classes#
(No short description) |
Functions#
|
|
|
Verifies that a module is valid, taking the specified action if not. |
|
Verifies that a single function is valid, taking the specified action. |
Open up a ghostview window that displays the CFG of the current function. |
|
Open up a ghostview window that displays the CFG of the current function. |
Module Contents#
- class rocm.bindings.llvm.c.analysis.LLVMVerifierFailureAction#
Bases:
enum.IntEnum(No short description)
- rocm.bindings.llvm.c.analysis.LLVMVerifyModule(M, Action)#
Verifies that a module is valid, taking the specified action if not.
Optionally returns a human-readable description of any invalid constructs. OutMessage must be disposed with LLVMDisposeMessage.
- Args:
- M (
Pointer/object): (undocumented)
- Action (
LLVMVerifierFailureAction): (undocumented)
- M (
- Returns:
A
tupleof size 2 that contains (in that order):
C signature
LLVMBool LLVMVerifyModule(LLVMModuleRef M, LLVMVerifierFailureAction Action, char ** OutMessage)
- rocm.bindings.llvm.c.analysis.LLVMVerifyFunction(Fn, Action)#
Verifies that a single function is valid, taking the specified action.
Useful for debugging.
- Args:
- Fn (
Pointer/object): (undocumented)
- Action (
LLVMVerifierFailureAction): (undocumented)
- Fn (
- Returns:
int: (undocumented)
C signature
LLVMBool LLVMVerifyFunction(LLVMValueRef Fn, LLVMVerifierFailureAction Action)
- rocm.bindings.llvm.c.analysis.LLVMViewFunctionCFG(Fn)#
Open up a ghostview window that displays the CFG of the current function.
Useful for debugging.
C signature
void LLVMViewFunctionCFG(LLVMValueRef Fn)