Lines Matching refs:Dist
656 int64_t Dist = EndV - StartV;
657 if (Dist == 0)
660 bool Exact = (Dist % IVBump) == 0;
665 if ((Dist < 0) ^ (IVBump < 0))
672 Dist = Dist > 0 ? Dist+1 : Dist-1;
674 // assert (CmpLess => Dist > 0);
675 assert ((!CmpLess || Dist > 0) && "Loop should never iterate!");
676 // assert (CmpGreater => Dist < 0);
677 assert ((!CmpGreater || Dist < 0) && "Loop should never iterate!");
680 int64_t Dist1 = (IVBump > 0) ? (Dist + (IVBump-1)) / IVBump
681 : (-Dist + (-IVBump-1)) / (-IVBump);