Lines Matching refs:PyAffineModExpr
260 class PyAffineModExpr class
261 : public PyConcreteAffineExpr<PyAffineModExpr, PyAffineBinaryExpr> {
267 static PyAffineModExpr get(PyAffineExpr lhs, const PyAffineExpr &rhs) { in get()
269 return PyAffineModExpr(lhs.getContext(), expr); in get()
272 static PyAffineModExpr getRHSConstant(PyAffineExpr lhs, intptr_t rhs) { in getRHSConstant()
275 return PyAffineModExpr(lhs.getContext(), expr); in getRHSConstant()
278 static PyAffineModExpr getLHSConstant(intptr_t lhs, PyAffineExpr rhs) { in getLHSConstant()
281 return PyAffineModExpr(rhs.getContext(), expr); in getLHSConstant()
285 c.def_static("get", &PyAffineModExpr::get); in bindDerived()
517 .def("__mod__", &PyAffineModExpr::get) in populateIRAffine()
518 .def("__mod__", &PyAffineModExpr::getRHSConstant) in populateIRAffine()
521 return PyAffineModExpr::get( in populateIRAffine()
593 .def_static("get_mod", &PyAffineModExpr::get, in populateIRAffine()
596 .def_static("get_mod", &PyAffineModExpr::getLHSConstant, in populateIRAffine()
599 .def_static("get_mod", &PyAffineModExpr::getRHSConstant, in populateIRAffine()
640 PyAffineModExpr::bind(m); in populateIRAffine()