aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-diff/llvm-diff.cpp
AgeCommit message (Collapse)AuthorFilesLines
2011-03-14This patch is a big refactoring of llvm-diff. It doesn't add new features, ↵Renato Golin1-217/+1
but it re-organizes the old features, so I can insert the MetadataEngine to use the same infrastructure. llvm-svn: 127627
2010-09-13Use ParseIRFile to auto-detect LLVM Assembly automatically.Dan Gohman1-26/+7
llvm-svn: 113765
2010-09-05cleanups: mark stuff static, only tagdecls should be in anon namespaces.Chris Lattner1-20/+22
llvm-svn: 113120
2010-08-24Check in a couple of changes that I apparently never committed:John McCall1-3/+1
- teach DifferenceEngine to unify successors of calls and invokes in certain circumstances - basic blocks actually don't have their own numbering; did that change? - add llvm-diff to the Makefile and CMake build systems llvm-svn: 111909
2010-07-29Transcribe IRC to svn. Also don't print basic block names twice if they match.John McCall1-9/+19
llvm-svn: 109787
2010-07-29Make the header self-contained and follow #include guidelines.John McCall1-20/+29
llvm-svn: 109774
2010-07-29Switch to using the LLVM CommandLine library so that our helpJohn McCall1-39/+31
message is properly contaminated with nonsense about timing passes that doesn't apply at all to this utility. :) llvm-svn: 109769
2010-07-29Cache the result of errs() and implement formatted logging.John McCall1-29/+50
llvm-svn: 109740
2010-07-29Add the llvm-diff tool, which performs a relatively naive structuralJohn McCall1-0/+301
diff of a function. There's a lot of cruft in the current version, and it's pretty far from perfect, but it's usable. Currently only capable of comparing functions. Currently ignores metadata. Currently ignores most attributes of functions and instructions. Patches welcome. llvm-svn: 109739