Lines Matching defs:Dist
741 int64_t Dist = EndV - StartV;
742 if (Dist == 0)
745 bool Exact = (Dist % IVBump) == 0;
750 if ((Dist < 0) ^ (IVBump < 0))
757 Dist = Dist > 0 ? Dist+1 : Dist-1;
759 // For the loop to iterate, CmpLess should imply Dist > 0. Similarly,
760 // CmpGreater should imply Dist < 0. These conditions could actually
763 if ((CmpLess && Dist < 0) || (CmpGreater && Dist > 0))
767 int64_t Dist1 = (IVBump > 0) ? (Dist + (IVBump - 1)) / IVBump
768 : (-Dist + (-IVBump - 1)) / (-IVBump);