Lines Matching defs:Diff
441 // Depth-Diff[i]:
491 unsigned Diff[LoopIterations] = {LoopDepth[0].Depth - LoopDepth[0].OptDepth,
497 // case 1: Diff[1] == Diff[0]
505 // case 2: Diff[1] > Diff[0]
511 // the gain - the change in Depth-Diff compared to the change in
517 // threshold. Thus, the check (Diff[1] >= GainCycleThreshold) must apply.
521 if (Diff[1] < GainCycleThreshold)
525 if (Diff[1] == Diff[0])
526 WorthOptLoop = Diff[0] * 8 >= LoopDepth[0].Depth;
527 else if (Diff[1] > Diff[0])
529 (Diff[1] - Diff[0]) * 2 >= (LoopDepth[1].Depth - LoopDepth[0].Depth) &&
530 (Diff[1] * 8 >= LoopDepth[1].Depth);