Lines Matching refs:getRHS
85 auto lhs = binOp.getLHS(), rhs = binOp.getRHS(); in replaceDimsAndSymbols()
118 auto lhs = binOp.getLHS(), rhs = binOp.getRHS(); in replace()
152 expr.getRHS().isSymbolicOrConstant(); in isSymbolicOrConstant()
168 return op.getLHS().isPureAffine() && op.getRHS().isPureAffine(); in isPureAffine()
175 return op.getLHS().isPureAffine() && op.getRHS().isPureAffine() && in isPureAffine()
177 op.getRHS().template isa<AffineConstantExpr>()); in isPureAffine()
184 op.getRHS().template isa<AffineConstantExpr>(); in isPureAffine()
203 binExpr.getRHS().getLargestKnownDivisor(); in getLargestKnownDivisor()
213 binExpr.getRHS().getLargestKnownDivisor()); in getLargestKnownDivisor()
235 (u = binExpr.getRHS().getLargestKnownDivisor()) % factor == 0 || in isMultipleOf()
245 binExpr.getRHS().getLargestKnownDivisor()) % in isMultipleOf()
259 expr.getRHS().isFunctionOfDim(position); in isFunctionOfDim()
269 AffineExpr AffineBinaryOpExpr::getRHS() const { in getRHS() function in AffineBinaryOpExpr
304 isDivisibleBySymbol(binaryExpr.getRHS(), symbolPos, opKind); in isDivisibleBySymbol()
315 isDivisibleBySymbol(binaryExpr.getRHS(), symbolPos, in isDivisibleBySymbol()
322 isDivisibleBySymbol(binaryExpr.getRHS(), symbolPos, opKind); in isDivisibleBySymbol()
366 symbolicDivide(binaryExpr.getRHS(), symbolPos, opKind)); in symbolicDivide()
374 symbolicDivide(binaryExpr.getRHS(), symbolPos, expr.getKind())); in symbolicDivide()
381 symbolicDivide(binaryExpr.getRHS(), symbolPos, opKind); in symbolicDivide()
383 binaryExpr.getRHS(); in symbolicDivide()
392 binaryExpr.getRHS()); in symbolicDivide()
414 simplifySemiAffine(binaryExpr.getRHS())); in simplifySemiAffine()
426 AffineExpr sRHS = simplifySemiAffine(binaryExpr.getRHS()); in simplifySemiAffine()
428 simplifySemiAffine(binaryExpr.getRHS()).dyn_cast<AffineSymbolExpr>(); in simplifySemiAffine()
513 if (auto lrhs = lBin.getRHS().dyn_cast<AffineConstantExpr>()) in simplifyAdd()
525 (rLhsConstExpr = lBinOpExpr.getRHS().dyn_cast<AffineConstantExpr>())) { in simplifyAdd()
536 (rRhsConstExpr = rBinOpExpr.getRHS().dyn_cast<AffineConstantExpr>())) { in simplifyAdd()
553 if (auto lrhs = lBin.getRHS().dyn_cast<AffineConstantExpr>()) { in simplifyAdd()
567 auto rrhs = rBinOpExpr.getRHS(); in simplifyAdd()
575 auto rlrhs = lrBinOpExpr.getRHS(); in simplifyAdd()
628 if (auto lrhs = lBin.getRHS().dyn_cast<AffineConstantExpr>()) in simplifyMul()
635 if (auto lrhs = lBin.getRHS().dyn_cast<AffineConstantExpr>()) { in simplifyMul()
687 if (auto lrhs = lBin.getRHS().dyn_cast<AffineConstantExpr>()) { in simplifyFloorDiv()
698 int64_t lrhsDiv = lBin.getRHS().getLargestKnownDivisor(); in simplifyFloorDiv()
703 lBin.getRHS().floorDiv(rhsConst.getValue()); in simplifyFloorDiv()
742 if (auto lrhs = lBin.getRHS().dyn_cast<AffineConstantExpr>()) { in simplifyCeilDiv()
788 int64_t lrhsDiv = lBin.getRHS().getLargestKnownDivisor(); in simplifyMod()
791 return lBin.getRHS() % rhsConst.getValue(); in simplifyMod()
870 assert(expr.getRHS().isa<AffineConstantExpr>()); in visitMulExpr()
903 assert(expr.getRHS().isa<AffineConstantExpr>()); in visitModExpr()
991 assert(expr.getRHS().isa<AffineConstantExpr>()); in visitDivExpr()