Lines Matching refs:smax
191 case scSMaxExpr: OpStr = " smax "; break;
2383 assert(!Ops.empty() && "Cannot get empty smax!");
2403 APIntOps::smax(LHSC->getValue()->getValue(),
2416 // If we have an smax with a constant maximum-int, it will always be
2446 // X smax Y smax Y --> X smax Y
2447 // X smax Y --> X, if X is always greater than Y
2459 assert(!Ops.empty() && "Reduced smax down to nothing!");
2461 // Okay, it looks like we really DO need an smax expr. Check to see if we
2583 // ~smax(~x, ~y) == smin(x, y).
3346 X = X.smax(getUnsignedRange(SMax->getOperand(i)));
3487 X = X.smax(getSignedRange(SMax->getOperand(i)));
3573 APInt Max = APIntOps::smax(StartRange.getSignedMax(),
3866 // This could be a smax or umax that was lowered earlier.
3878 // a >s b ? a+x : b+x -> smax(a, b)+x
5086 default: // TODO: smax, umax.
6537 IsSigned ? APIntOps::smax(getSignedRange(RHS).getSignedMin(), Limit)