- Jul 28, 2003
-
-
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
-
- Jul 02, 2003
-
-
Misha Brukman authored
* Setting ENABLE_X86_JIT or ENABLE_SPARC_JIT on the `make' command-line will force the inclusion of that JIT on a different architecture * If neither JIT is enabled (e.g., compiling on a different architecture), the -march option will not be available to LLI. * As a side effect of the $ARCH variable, the Sparc LLI can now link just a bit faster by not including the x86 library. llvm-svn: 7070
-
- Jun 30, 2003
-
-
John Criswell authored
system. llvm-svn: 7014
-
- Jun 26, 2003
-
-
Chris Lattner authored
ALL of the global ctor/dtor stuff if it is not used! llvm-svn: 6916
-
Chris Lattner authored
Move the instcombine pass before globaldce, so that if globals are made dead by instcombine, that they can be deleted. llvm-svn: 6910
-
- Jun 25, 2003
-
-
Chris Lattner authored
llvm-svn: 6897
-
Chris Lattner authored
llvm-svn: 6896
-
- Jun 22, 2003
-
-
Chris Lattner authored
Other minor reorganizations llvm-svn: 6849
-
- Jun 20, 2003
-
-
Chris Lattner authored
llvm-svn: 6799
-
- Jun 19, 2003
-
-
Chris Lattner authored
instcombine does this llvm-svn: 6787
-
- Jun 18, 2003
-
-
Brian Gaeke authored
llvm-svn: 6780
-
Brian Gaeke authored
Move LowerAllocations, PrintFunction, and SymbolStripping passes, and the corresponding -disable-strip and -d options, over here to the SPARC target-specific bits of llc. Rename -d to -dump-asm. tools/llc/Makefile: Reindent. Add x86 library so that llc compiles again. tools/llc/llc.cpp: Remove support for running arbitrary optimization passes. Use opt instead. Remove LowerAllocations, PrintFunction, and SymbolStripping passes, as noted above. Allow user to select a backend (x86 or SPARC); default to guessing from the endianness/pointer size of the input bytecode file. Fix typos. Delete empty .s file and exit with error status if target does not support static compilation. llvm-svn: 6776
-
Chris Lattner authored
llvm-svn: 6772
-
Chris Lattner authored
llvm-svn: 6770
-
- Jun 17, 2003
-
-
Brian Gaeke authored
it is needed. llvm-svn: 6753
-
Chris Lattner authored
llvm-svn: 6748
-
Chris Lattner authored
llvm-svn: 6747
-
Chris Lattner authored
llvm-svn: 6746
-
Chris Lattner authored
link in the X86 JIT either, but this makes testing easier. For some reason, the sparc JIT was breaking the X86 JIT when it was linked in. :( llvm-svn: 6745
-
Chris Lattner authored
llvm-svn: 6743
-
Chris Lattner authored
llvm-svn: 6742
-
Chris Lattner authored
optimized INTO an alloca llvm-svn: 6727
-
Chris Lattner authored
llvm-svn: 6726
-
- Jun 16, 2003
-
-
Brian Gaeke authored
so that we can easily change its use to be conditional on the result of an autoconf test later. llvm-svn: 6723
-
- Jun 13, 2003
-
-
Chris Lattner authored
llvm-svn: 6688
-
- Jun 12, 2003
-
-
Chris Lattner authored
llvm-svn: 6686
-
- Jun 05, 2003
-
-
Chris Lattner authored
llvm-svn: 6631
-
- Jun 02, 2003
-
-
Chris Lattner authored
llvm-svn: 6533
-
Chris Lattner authored
llvm-svn: 6532
-
- May 31, 2003
-
-
Chris Lattner authored
llvm-svn: 6485
-
- May 30, 2003
-
-
Chris Lattner authored
llvm-svn: 6442
-