Home
last modified time | relevance | path

Searched refs:PyAffineConstantExpr (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Bindings/Python/
H A DIRAffine.cpp118 class PyAffineConstantExpr : public PyConcreteAffineExpr<PyAffineConstantExpr> { class
124 static PyAffineConstantExpr get(intptr_t value, in get()
128 return PyAffineConstantExpr(context->getRef(), affineExpr); in get()
132 c.def_static("get", &PyAffineConstantExpr::get, py::arg("value"), in bindDerived()
134 c.def_property_readonly("value", [](PyAffineConstantExpr &self) { in bindDerived()
522 PyAffineConstantExpr::get(other, *self.getContext().get()), in populateIRAffine()
528 PyAffineConstantExpr::get(-1, *self.getContext().get()); in populateIRAffine()
536 PyAffineConstantExpr::get(-other, *self.getContext().get())); in populateIRAffine()
620 .def_static("get_constant", &PyAffineConstantExpr::get, py::arg("value"), in populateIRAffine()
634 PyAffineConstantExpr::bind(m); in populateIRAffine()