14 #include "llvm/Support/Debug.h"
25 setCurrentDebugType(type);
30 setCurrentDebugTypes(types, n);
35 return isCurrentDebugType(type);
void mlirSetGlobalDebugTypes(const char **types, intptr_t n)
Sets multiple current debug types, similarly to `-debug-only=type1,type2" in the command-line tools.
void mlirEnableGlobalDebug(bool enable)
Sets the global debugging flag.
bool mlirIsGlobalDebugEnabled()
Retuns true if the global debugging flag is set, false otherwise.
void mlirSetGlobalDebugType(const char *type)
Sets the current debug type, similarly to -debug-only=type in the command-line tools.
bool mlirIsCurrentDebugType(const char *type)
Checks if type is set as the current debug type.
The OpAsmOpInterface, see OpAsmInterface.td for more details.