- Aug 08, 2003
-
-
Misha Brukman authored
llvm-svn: 7700
-
- Aug 07, 2003
-
-
Misha Brukman authored
llvm-svn: 7696
-
Chris Lattner authored
bugs and needs to be reworked anyway. llvm-svn: 7692
-
Misha Brukman authored
* Grouped header files to fit with the LLVM standard * Fit code into 80 columns llvm-svn: 7690
-
Misha Brukman authored
llvm-svn: 7689
-
Misha Brukman authored
llvm-svn: 7688
-
Misha Brukman authored
llvm-svn: 7687
-
- Aug 05, 2003
-
-
Chris Lattner authored
narrowing, no matter what. llvm-svn: 7596
-
Misha Brukman authored
llvm-svn: 7594
-
- Aug 04, 2003
-
-
Misha Brukman authored
llvm-svn: 7570
-
John Criswell authored
blocks. This fixes the bugpoint regressions. llvm-svn: 7569
-
Chris Lattner authored
llvm-svn: 7555
-
Chris Lattner authored
llvm-svn: 7554
-
Chris Lattner authored
llvm-svn: 7549
-
- Aug 02, 2003
-
-
Chris Lattner authored
llvm-svn: 7491
-
- Aug 01, 2003
-
-
Chris Lattner authored
llvm-svn: 7484
-
Chris Lattner authored
llvm-svn: 7483
-
Chris Lattner authored
llvm-svn: 7478
-
Chris Lattner authored
llvm-svn: 7477
-
- Jul 30, 2003
-
-
Misha Brukman authored
llvm-svn: 7438
-
Misha Brukman authored
* Temporarily externing InputArgv to print it out for the benefit of LLI command needed to reproduce the result. * Print out the list of functions currently being tested * ListReducer now returns a bool if there was a failure, so test for it ListReducer.h: * Handle the case where there is no problem by returning true if failure is found. Also correctly handles the case when there is only 1 pass/function. Miscompilation.cpp: * ListReducer now returns a bool if there was a failure, so test for it llvm-svn: 7434
-
Misha Brukman authored
* Added DEBUG() statements to print out parameters passed to executing programs * Actually ADD parameters to a program running via the JIT (using vector<char*>) llvm-svn: 7433
-
Misha Brukman authored
llvm-svn: 7427
-
Misha Brukman authored
parameters, such as command-line arguments that the executing program gets via bugpoint. llvm-svn: 7423
-
Chris Lattner authored
This is unused so far. llvm-svn: 7422
-
Misha Brukman authored
bytecode file. This means that LLC on X86 will compile to Sparc assembly given a 64-bit input bytecode file... llvm-svn: 7419
-
- Jul 29, 2003
-
-
Misha Brukman authored
* Moved DisambiguateGlobalSymbols() out of the ReduceMisCodegenFunctions class * Added an assert to have a cleaner exit if `main' is not found in the module llvm-svn: 7380
-
- Jul 28, 2003
-
-
Misha Brukman authored
* 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 llvm-svn: 7371
-
Misha Brukman authored
llvm-svn: 7370
-
Misha Brukman authored
* Added method to query if BugDriver is executing the JIT currently. This provides the ability in adding code that is conditionally executed in codegen debugging phase. CodeGeneratorBug.cpp: * Delete test functions from the Safe module * Code conditionally added when debugging the JIT: use the lazy resolver function added to Emitter.cpp to get function pointer by name. When compiled into an .so, this is the only way to get a pointer to an external function * Added a symbol disambiguator which will keep symbols uniquely named across modules * Delete generated files by default * The function `main' *must* stay in the .bc file for the JIT, but that prevents debugging it alone. This patch makes the old `main' become `old_main' and adds a new function named `main' which just calls the original with the same parameters, thereby keeping functionality the same. ExecutionDriver.cpp: * Returned to getting unique filenames * Simplified code choosing between using and not using shared library option llvm-svn: 7364
-
Misha Brukman authored
llvm-svn: 7360
-
- Jul 24, 2003
-
-
Misha Brukman authored
* Removed unused global and member variables * Fixed comments (CodeGeneratorBug.cpp) * Check for possibly failing GCC::create() and CBE::create() * Remove generated files after diffing the output (e.g., shared object) * Instead of using std::for_each, use explicit loops as std::for_each may duplicate the functor, and ours carries state * Changed member var from cl::opt<std::string> to just std::string * Fixed doxygen comments * Fixed string comparisons to use [ str.empty() ] instead of [ str == "" ] * Cache instances of CBE and GCC in BugDriver across compilations and executions while testing tools. llvm-svn: 7302
-
Misha Brukman authored
The C backend is assumed correct and is used to generate shared objects to be loaded by the other two code generators. LLC debugging should be functional now, LLI needs a few more additions to work, the major one is renaming of external functions to call the JIT lazy function resolver. Bugpoint now has a command-line switch -mode with options 'compile' and 'codegen' to debug appropriate portions of tools. ExecutionDriver.cpp: Added implementations of AbstractInterpreter for LLC and GCC, broke out common code within other tools, and added ability to generate C code with CBE individually, without executing the program, and the GCC tool can generate executables shared objects or executables. If no reference output is specified to Bugpoint, it will be generated with CBE, because it is already assumed to be correct for the purposes of debugging using this method. As a result, many functions now accept as an optional parameter a shared object to be loaded in, if specified. llvm-svn: 7293
-
- Jul 21, 2003
-
-
Misha Brukman authored
llvm-svn: 7223
-
Chris Lattner authored
llvm-svn: 7210
-
- Jul 19, 2003
-
-
Misha Brukman authored
x86 or Sparc, LLC will automatically default to that platform, no guessing required. On another platform, it will default to `noarch' and will have to guess which architecture to compile to. llvm-svn: 7207
-
- Jul 18, 2003
-
-
Anand Shukla authored
llvm-svn: 7202
-
- Jul 14, 2003
-
-
Misha Brukman authored
llvm-svn: 7173
-
- Jul 10, 2003
-
-
Misha Brukman authored
llvm-svn: 7139
-
- Jul 08, 2003
-
-
Misha Brukman authored
llvm-svn: 7122
-