|
MLIR
22.0.0git
|
#include "Bindings/Python/IRModule.h"
Inheritance diagram for mlir::python::PyIntegerSet:Public Member Functions | |
| PyIntegerSet (PyMlirContextRef contextRef, MlirIntegerSet integerSet) | |
| bool | operator== (const PyIntegerSet &other) const |
| operator MlirIntegerSet () const | |
| MlirIntegerSet | get () const |
| nanobind::object | getCapsule () |
| Gets a capsule wrapping the void* within the MlirIntegerSet. More... | |
Public Member Functions inherited from mlir::python::BaseContextObject | |
| BaseContextObject (PyMlirContextRef ref) | |
| PyMlirContextRef & | getContext () |
| Accesses the context reference. More... | |
Static Public Member Functions | |
| static PyIntegerSet | createFromCapsule (const nanobind::object &capsule) |
| Creates a PyIntegerSet from the MlirAffineMap wrapped by a capsule. More... | |
Definition at line 1245 of file IRModule.h.
|
inline |
Definition at line 1247 of file IRModule.h.
Referenced by createFromCapsule().
|
static |
Creates a PyIntegerSet from the MlirAffineMap wrapped by a capsule.
Note that PyIntegerSet instances may be uniqued, so the returned object may be a pre-existing object. Integer sets are owned by the context.
Definition at line 503 of file IRAffine.cpp.
References mlir::python::PyMlirContext::forContext(), mlirIntegerSetGetContext(), mlirIntegerSetIsNull(), mlirPythonCapsuleToIntegerSet(), and PyIntegerSet().
|
inline |
Definition at line 1251 of file IRModule.h.
| nb::object PyIntegerSet::getCapsule | ( | ) |
Gets a capsule wrapping the void* within the MlirIntegerSet.
Definition at line 499 of file IRAffine.cpp.
References mlirPythonIntegerSetToCapsule().
|
inline |
Definition at line 1250 of file IRModule.h.
| bool PyIntegerSet::operator== | ( | const PyIntegerSet & | other | ) | const |
Definition at line 495 of file IRAffine.cpp.
References mlirIntegerSetEqual().