MLIR
20.0.0git
|
Go to the source code of this file.
Macros | |
#define | MLIR_C_DEBUG_H |
Functions | |
MLIR_CAPI_EXPORTED void | mlirEnableGlobalDebug (bool enable) |
Sets the global debugging flag. More... | |
MLIR_CAPI_EXPORTED bool | mlirIsGlobalDebugEnabled () |
Retuns true if the global debugging flag is set, false otherwise. More... | |
MLIR_CAPI_EXPORTED void | mlirSetGlobalDebugType (const char *type) |
Sets the current debug type, similarly to -debug-only=type in the command-line tools. More... | |
MLIR_CAPI_EXPORTED 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... | |
MLIR_CAPI_EXPORTED bool | mlirIsCurrentDebugType (const char *type) |
Checks if type is set as the current debug type. More... | |
MLIR_CAPI_EXPORTED void mlirEnableGlobalDebug | ( | bool | enable | ) |
Sets the global debugging flag.
Definition at line 16 of file Debug.cpp.
Referenced by PyGlobalDebugFlag::set().
MLIR_CAPI_EXPORTED bool mlirIsCurrentDebugType | ( | const char * | type | ) |
MLIR_CAPI_EXPORTED 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().
MLIR_CAPI_EXPORTED void mlirSetGlobalDebugType | ( | const char * | type | ) |
MLIR_CAPI_EXPORTED void mlirSetGlobalDebugTypes | ( | const char ** | types, |
intptr_t | n | ||
) |