Lines Matching defs:lhsConst
660 auto lhsConst = dyn_cast<AffineConstantExpr>(lhs);
663 if (lhsConst && rhsConst) {
665 if (llvm::AddOverflow(lhsConst.getValue(), rhsConst.getValue(), sum)) {
797 auto lhsConst = dyn_cast<AffineConstantExpr>(lhs);
800 if (lhsConst && rhsConst) {
802 if (llvm::MulOverflow(lhsConst.getValue(), rhsConst.getValue(), product)) {
872 auto lhsConst = dyn_cast<AffineConstantExpr>(lhs);
878 if (lhsConst) {
879 if (divideSignedWouldOverflow(lhsConst.getValue(), rhsConst.getValue()))
882 divideFloorSigned(lhsConst.getValue(), rhsConst.getValue()),
931 auto lhsConst = dyn_cast<AffineConstantExpr>(lhs);
937 if (lhsConst) {
938 if (divideSignedWouldOverflow(lhsConst.getValue(), rhsConst.getValue()))
941 divideCeilSigned(lhsConst.getValue(), rhsConst.getValue()),
978 auto lhsConst = dyn_cast<AffineConstantExpr>(lhs);
985 if (lhsConst) {
987 return getAffineConstantExpr(mod(lhsConst.getValue(), rhsConst.getValue()),