Lines Matching refs:lrhs
549 if (auto lrhs = lBin.getRHS().dyn_cast<AffineConstantExpr>()) in simplifyAdd() local
550 return lBin.getLHS() + (lrhs.getValue() + rhsConst.getValue()); in simplifyAdd()
588 if (auto lrhs = lBin.getRHS().dyn_cast<AffineConstantExpr>()) { in simplifyAdd() local
589 return lBin.getLHS() + rhs + lrhs; in simplifyAdd()
602 auto lrhs = rBinOpExpr.getLHS(); in simplifyAdd() local
609 auto lrhsBinOpExpr = lrhs.dyn_cast<AffineBinaryOpExpr>(); in simplifyAdd()
626 AffineBinaryOpExpr lrBinOpExpr = lrhs.dyn_cast<AffineBinaryOpExpr>(); in simplifyAdd()
684 if (auto lrhs = lBin.getRHS().dyn_cast<AffineConstantExpr>()) in simplifyMul() local
685 return lBin.getLHS() * (lrhs.getValue() * rhsConst.getValue()); in simplifyMul()
691 if (auto lrhs = lBin.getRHS().dyn_cast<AffineConstantExpr>()) { in simplifyMul() local
692 return (lBin.getLHS() * rhs) * lrhs; in simplifyMul()
743 if (auto lrhs = lBin.getRHS().dyn_cast<AffineConstantExpr>()) { in simplifyFloorDiv() local
745 if (lrhs.getValue() % rhsConst.getValue() == 0) in simplifyFloorDiv()
746 return lBin.getLHS() * (lrhs.getValue() / rhsConst.getValue()); in simplifyFloorDiv()
798 if (auto lrhs = lBin.getRHS().dyn_cast<AffineConstantExpr>()) { in simplifyCeilDiv() local
800 if (lrhs.getValue() % rhsConst.getValue() == 0) in simplifyCeilDiv()
801 return lBin.getLHS() * (lrhs.getValue() / rhsConst.getValue()); in simplifyCeilDiv()