llvm-6502/tools/bugpoint
Misha Brukman c1e39ee659 Implemented cleanups as suggested by Chris:
* Use Module::getNamedFunction() to delete "main" instead of using a loop
* Compare function pointers instead of function names to determine equivalence
* Simplified creation of a 2-element vector containing zeroes
* Manually performed LICM on code
* Added an abort() in case a function we're considering occurs in something that
  is not an instruction
* Use DEBUG() around code sections instead of just in a statement in a loop,
  because GCC's DCE may not be good enough to completely remove it in a release
  build
* Print out a command that can be directly copied-and-pasted to re-execute
* Instead of just checking if a symbol begins with a dot and fixing it
  accordingly, use Mangler and fix all the problems (invalid chars in C symbol
  names) entirely
* The new `main' function has external linkage


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7371 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-28 21:07:39 +00:00
..
BugDriver.cpp Made a bunch of cleanups, as per Chris' recommendations: 2003-07-24 21:59:10 +00:00
BugDriver.h Added comment to function isExecutingJIT() 2003-07-28 20:59:16 +00:00
bugpoint.cpp Major addition to bugpoint: ability to debug code generators (LLC and LLI). 2003-07-24 18:17:43 +00:00
CodeGeneratorBug.cpp Implemented cleanups as suggested by Chris: 2003-07-28 21:07:39 +00:00
CrashDebugger.cpp Try to run cleanups even if nothing was modified in the preview passes 2003-06-25 04:13:52 +00:00
ExecutionDriver.cpp BugDriver.h: 2003-07-28 19:16:14 +00:00
ExtractFunction.cpp Run dead arg elimination, and tell it that it's ok to hack up non-internal functions 2003-06-25 04:13:36 +00:00
ListReducer.h Rename Kept -> Suffix 2003-04-25 03:16:33 +00:00
Makefile Use $(PLATFORMLIBDL) to selectively bring in -ldl only on those platforms where 2003-06-17 20:09:18 +00:00
Miscompilation.cpp Major addition to bugpoint: ability to debug code generators (LLC and LLI). 2003-07-24 18:17:43 +00:00
OptimizerDriver.cpp Fixed misspelling. 2003-07-21 21:58:16 +00:00
SystemUtils.cpp The word separate' only has one e'. 2003-07-14 17:20:40 +00:00
SystemUtils.h New files for miscompilation detection 2002-12-23 23:50:16 +00:00
TestPasses.cpp Remove unnecessary &* 2003-04-23 16:38:00 +00:00