|
MLIR
22.0.0git
|
#include "mlir-c/Debug.h"#include "mlir-c/Support.h"#include "mlir/CAPI/Support.h"#include "llvm/Support/Debug.h"Go to the source code of this file.
Functions | |
| void | mlirEnableGlobalDebug (bool enable) |
| Sets the global debugging flag. More... | |
| bool | mlirIsGlobalDebugEnabled () |
Retuns true if the global debugging flag is set, false otherwise. More... | |
| void | mlirSetGlobalDebugType (const char *type) |
Sets the current debug type, similarly to -debug-only=type in the command-line tools. More... | |
| void | mlirSetGlobalDebugTypes (const char **types, intptr_t n) |
| Sets multiple current debug types, similarly to `-debug-only=type1,type2" in the command-line tools. More... | |
| bool | mlirIsCurrentDebugType (const char *type) |
Checks if type is set as the current debug type. More... | |
| void mlirEnableGlobalDebug | ( | bool | enable | ) |
Sets the global debugging flag.
Definition at line 16 of file Debug.cpp.
Referenced by PyGlobalDebugFlag::set().
| bool mlirIsCurrentDebugType | ( | const char * | type | ) |
| bool mlirIsGlobalDebugEnabled | ( | ) |
Retuns true if the global debugging flag is set, false otherwise.
Definition at line 18 of file Debug.cpp.
Referenced by PyGlobalDebugFlag::get().
| void mlirSetGlobalDebugType | ( | const char * | type | ) |
Sets the current debug type, similarly to -debug-only=type in the command-line tools.
Note that global debug should be enabled for any output to be produced.
Definition at line 20 of file Debug.cpp.
Referenced by PyGlobalDebugFlag::bind().
| void mlirSetGlobalDebugTypes | ( | const char ** | types, |
| intptr_t | n | ||
| ) |
Sets multiple current debug types, similarly to `-debug-only=type1,type2" in the command-line tools.
Note that global debug should be enabled for any output to be produced.
Definition at line 28 of file Debug.cpp.
Referenced by PyGlobalDebugFlag::bind().