MLIR
20.0.0git
|
#include "Bindings/Python/IRModule.h"
Public Member Functions | |
PyIntegerSet (PyMlirContextRef contextRef, MlirIntegerSet integerSet) | |
bool | operator== (const PyIntegerSet &other) const |
operator MlirIntegerSet () const | |
MlirIntegerSet | get () const |
pybind11::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 (pybind11::object capsule) |
Creates a PyIntegerSet from the MlirAffineMap wrapped by a capsule. More... | |
Definition at line 1211 of file IRModule.h.
|
inline |
Definition at line 1213 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 509 of file IRAffine.cpp.
References mlir::python::PyMlirContext::forContext(), mlirIntegerSetGetContext(), mlirIntegerSetIsNull(), mlirPythonCapsuleToIntegerSet(), and PyIntegerSet().
|
inline |
Definition at line 1217 of file IRModule.h.
py::object PyIntegerSet::getCapsule | ( | ) |
Gets a capsule wrapping the void* within the MlirIntegerSet.
Definition at line 504 of file IRAffine.cpp.
References mlirPythonIntegerSetToCapsule().
|
inline |
Definition at line 1216 of file IRModule.h.
bool PyIntegerSet::operator== | ( | const PyIntegerSet & | other | ) | const |
Definition at line 500 of file IRAffine.cpp.
References mlirIntegerSetEqual().