Lines Matching refs:PyAffineMulExpr
231 class PyAffineMulExpr class
232 : public PyConcreteAffineExpr<PyAffineMulExpr, PyAffineBinaryExpr> {
238 static PyAffineMulExpr get(PyAffineExpr lhs, const PyAffineExpr &rhs) { in get()
240 return PyAffineMulExpr(lhs.getContext(), expr); in get()
243 static PyAffineMulExpr getRHSConstant(PyAffineExpr lhs, intptr_t rhs) { in getRHSConstant()
246 return PyAffineMulExpr(lhs.getContext(), expr); in getRHSConstant()
249 static PyAffineMulExpr getLHSConstant(intptr_t lhs, PyAffineExpr rhs) { in getLHSConstant()
252 return PyAffineMulExpr(rhs.getContext(), expr); in getLHSConstant()
256 c.def_static("get", &PyAffineMulExpr::get); in bindDerived()
514 .def("__mul__", &PyAffineMulExpr::get) in populateIRAffine()
515 .def("__mul__", &PyAffineMulExpr::getRHSConstant) in populateIRAffine()
516 .def("__rmul__", &PyAffineMulExpr::getRHSConstant) in populateIRAffine()
530 PyAffineMulExpr::get(negOne, other)); in populateIRAffine()
541 other, PyAffineMulExpr::getLHSConstant(-1, self)); in populateIRAffine()
585 "get_mul", &PyAffineMulExpr::get, in populateIRAffine()
587 .def_static("get_mul", &PyAffineMulExpr::getLHSConstant, in populateIRAffine()
590 .def_static("get_mul", &PyAffineMulExpr::getRHSConstant, in populateIRAffine()
639 PyAffineMulExpr::bind(m); in populateIRAffine()