MLIR 22.0.0git
PyGlobalDebugFlag Struct Reference

Wrapper for the global LLVM debugging flag. More...

Static Public Member Functions

static void set (nb::object &o, bool enable)
static bool get (const nb::object &)
static void bind (nb::module_ &m)

Detailed Description

Wrapper for the global LLVM debugging flag.

Definition at line 116 of file IRCore.cpp.

Member Function Documentation

◆ bind()

void PyGlobalDebugFlag::bind ( nb::module_ & m)
inlinestatic

Definition at line 127 of file IRCore.cpp.

References get(), mlirSetGlobalDebugType(), mlirSetGlobalDebugTypes(), and set().

◆ get()

bool PyGlobalDebugFlag::get ( const nb::object & )
inlinestatic

Definition at line 122 of file IRCore.cpp.

References mlirIsGlobalDebugEnabled().

Referenced by bind().

◆ set()

void PyGlobalDebugFlag::set ( nb::object & o,
bool enable )
inlinestatic

Definition at line 117 of file IRCore.cpp.

References mlirEnableGlobalDebug().

Referenced by bind().


The documentation for this struct was generated from the following file: