MLIR 22.0.0git
mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyDenseBoolArrayAttribute Struct Reference

Instantiate the python dense array classes. More...

#include "mlir/Bindings/Python/IRAttributes.h"

Inheritance diagram for mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyDenseBoolArrayAttribute:

Static Public Attributes

static constexpr IsAFunctionTy isaFunction = mlirAttributeIsADenseBoolArray
static constexpr auto getAttribute = mlirDenseBoolArrayGet
static constexpr auto getElement = mlirDenseBoolArrayGetElement
static constexpr const char * pyClassName = "DenseBoolArrayAttr"
static constexpr const char * pyIteratorName = "DenseBoolArrayIterator"
Static Public Attributes inherited from mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteAttribute< PyDenseBoolArrayAttribute >
static constexpr GetTypeIDFunctionTy getTypeIdFunction
static const MlirStringRef name

Additional Inherited Members

Public Types inherited from mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteAttribute< PyDenseBoolArrayAttribute >
using ClassTy
using IsAFunctionTy
using GetTypeIDFunctionTy
using Base
Public Member Functions inherited from mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyDenseArrayAttribute< bool, PyDenseBoolArrayAttribute >
bool getItem (intptr_t i)
 Get the element at the given index.
Public Member Functions inherited from mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteAttribute< PyDenseBoolArrayAttribute >
 PyConcreteAttribute ()=default
Public Member Functions inherited from mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyAttribute
 PyAttribute (PyMlirContextRef contextRef, MlirAttribute attr)
bool operator== (const PyAttribute &other) const
 operator MlirAttribute () const
MlirAttribute get () const
nanobind::object getCapsule ()
 Gets a capsule wrapping the void* within the MlirAttribute.
nanobind::typed< nanobind::object, PyAttributemaybeDownCast ()
Public Member Functions inherited from mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::BaseContextObject
 BaseContextObject (PyMlirContextRef ref)
PyMlirContextRefgetContext ()
 Accesses the context reference.
Static Public Member Functions inherited from mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyDenseArrayAttribute< bool, PyDenseBoolArrayAttribute >
static void bindDerived (typename PyConcreteAttribute< PyDenseBoolArrayAttribute >::ClassTy &c)
 Bind the attribute class.
Static Public Member Functions inherited from mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyConcreteAttribute< PyDenseBoolArrayAttribute >
static MlirAttribute castFrom (PyAttribute &orig)
static void bind (nanobind::module_ &m, PyType_Slot *slots=nullptr)
static void bindDerived (ClassTy &m)
 Implemented by derived classes to add methods to the Python subclass.
Static Public Member Functions inherited from mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyAttribute
static PyAttribute createFromCapsule (const nanobind::object &capsule)
 Creates a PyAttribute from the MlirAttribute wrapped by a capsule.

Detailed Description

Instantiate the python dense array classes.

Definition at line 224 of file IRAttributes.h.

Member Data Documentation

◆ getAttribute

auto mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyDenseBoolArrayAttribute::getAttribute = mlirDenseBoolArrayGet
staticconstexpr

Definition at line 227 of file IRAttributes.h.

◆ getElement

auto mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyDenseBoolArrayAttribute::getElement = mlirDenseBoolArrayGetElement
staticconstexpr

Definition at line 228 of file IRAttributes.h.

◆ isaFunction

IsAFunctionTy mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyDenseBoolArrayAttribute::isaFunction = mlirAttributeIsADenseBoolArray
staticconstexpr

◆ pyClassName

const char* mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyDenseBoolArrayAttribute::pyClassName = "DenseBoolArrayAttr"
staticconstexpr

Definition at line 229 of file IRAttributes.h.

◆ pyIteratorName

const char* mlir::python::MLIR_BINDINGS_PYTHON_DOMAIN::PyDenseBoolArrayAttribute::pyIteratorName = "DenseBoolArrayIterator"
staticconstexpr

Definition at line 230 of file IRAttributes.h.


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