This patch is a big refactoring of llvm-diff. It doesn't add new features, but it re-organizes the old features, so I can insert the MetadataEngine to use the same infrastructure.

llvm-svn: 127627
GitOrigin-RevId: 4b6ae939cadbafd4433594433057f80336b1856f
8 files changed