reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/llvm-diff/DifferenceEngine.cpp
  545     Next[0] = Cur[0];
  546     Next[0].Cost += RightCost;
  547     Next[0].Path.push_back(DC_right);
  552         Next[Index] = Cur[Index-1];
  553         Next[Index].Cost += MatchCost;
  554         Next[Index].Path.push_back(DC_match);
  556       } else if (Next[Index-1].Cost <= Cur[Index].Cost) {
  557         Next[Index] = Next[Index-1];
  557         Next[Index] = Next[Index-1];
  558         Next[Index].Cost += LeftCost;
  559         Next[Index].Path.push_back(DC_left);
  561         Next[Index] = Cur[Index];
  562         Next[Index].Cost += RightCost;
  563         Next[Index].Path.push_back(DC_right);
  567     std::swap(Cur, Next);