Lines Matching defs:Dist
785 int64_t Dist = EndV - StartV;
786 if (Dist == 0)
789 bool Exact = (Dist % IVBump) == 0;
794 if ((Dist < 0) ^ (IVBump < 0))
801 Dist = Dist > 0 ? Dist+1 : Dist-1;
803 // For the loop to iterate, CmpLess should imply Dist > 0. Similarly,
804 // CmpGreater should imply Dist < 0. These conditions could actually
807 if ((CmpLess && Dist < 0) || (CmpGreater && Dist > 0))
811 int64_t Dist1 = (IVBump > 0) ? (Dist + (IVBump - 1)) / IVBump
812 : (-Dist + (-IVBump - 1)) / (-IVBump);