Home | History | Annotate | Download | only in optimizing

Lines Matching defs:overflow

57       // No overflow.
236 // `overflow` or `underflow` will return whether the resulting bound may
237 // overflow or underflow an int.
238 ValueBound Add(int32_t c, /* out */ bool* overflow, /* out */ bool* underflow) const {
239 *overflow = *underflow = false;
247 *overflow = true;
252 // (array.length + non-positive-constant) won't overflow an int.
257 *overflow = true;
337 bool overflow, underflow;
338 ValueBound lower = lower_.Add(constant, &overflow, &underflow);
344 ValueBound upper = upper_.Add(constant, &overflow, &underflow);
345 if (overflow) {
346 // Upper bound overflow will wrap around to negative values
364 * Special care needs to be taken to account for overflow/underflow
375 // used as a regular value range, due to possible overflow/underflow.
404 // possible overflow/underflow, that may not be possible.
438 // that's <= upper, (last_num_in_sequence + increment_) doesn't trigger overflow,
448 // Cast to int64_t for the substraction part to avoid int32_t overflow.
454 // No overflow. The sequence will be stopped by the upper bound test as expected.
458 // There might be overflow. Give up narrowing.
640 // Handle common cases which also don't have overflow/underflow concerns.
668 bool overflow;
673 right_range->GetBound().Add(left_compensation, &overflow, &underflow));
674 if (!overflow && !underflow) {
681 left_range->GetBound().Add(right_compensation, &overflow, &underflow),
683 if (!overflow && !underflow) {
744 bool overflow, underflow;
748 ValueBound new_upper = upper.Add(compensation, &overflow, &underflow);
749 if (overflow || underflow) {
760 ValueBound new_lower = lower.Add(compensation, &overflow, &underflow);
761 if (overflow || underflow) {
772 ValueBound new_lower = lower.Add(compensation, &overflow, &underflow);
773 if (overflow || underflow) {
783 ValueBound new_upper = upper.Add(compensation, &overflow, &underflow);
784 if (overflow || underflow) {
1063 // array.length + (c0 - c1) won't overflow/underflow.