- Jul 25, 2003
-
-
Brian Gaeke authored
<string>, or llvm/Value.h. Move up the inclusion of llvm/Support/Mangler.h. llvm-svn: 7321
-
Brian Gaeke authored
Move up the inclusion of llvm/Support/Mangler.h. llvm-svn: 7320
-
Brian Gaeke authored
llvm-svn: 7319
-
Chris Lattner authored
llvm-svn: 7318
-
Chris Lattner authored
llvm-svn: 7317
-
Chris Lattner authored
llvm-svn: 7316
-
Chris Lattner authored
llvm-svn: 7315
-
Chris Lattner authored
llvm-svn: 7314
-
Chris Lattner authored
llvm-svn: 7313
-
Chris Lattner authored
llvm-svn: 7312
-
Chris Lattner authored
<cassert>, making this header unneeded. llvm-svn: 7311
-
Chris Lattner authored
llvm-svn: 7310
-
Chris Lattner authored
llvm-svn: 7309
-
Chris Lattner authored
llvm-svn: 7308
-
Chris Lattner authored
llvm-svn: 7307
-
Chris Lattner authored
llvm-svn: 7306
-
Chris Lattner authored
llvm-svn: 7305
-
Chris Lattner authored
llvm-svn: 7304
-
Vikram S. Adve authored
stl_bvector.h are correctly included into *anything* that includes hash_map or hash_set. ext/hash_map includes stl_vector.h directly and leaves out the specializations, causing truly nasty bugs due to inconsistent versions of vector<> being used for vector<bool> in different files. llvm-svn: 7303
-
- 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
-
Brian Gaeke authored
Mangler.cpp: Constify parameter to makeNameProper, and use const_iterator. Make Count an unsigned int, and use utostr(). Don't name parameters things that start with underscore. Mangler.h: All of the above, and also: Add Emacs mode-line. Include <set>. llvm-svn: 7301
-
Brian Gaeke authored
into this new support class. llvm-svn: 7300
-
Brian Gaeke authored
SlotCalculator in CWriter. (Unfortunately, all this means a lot of X86/Printer's methods have to be de-constified again. Oh well.) llvm-svn: 7299
-
Chris Lattner authored
llvm-svn: 7298
-
Chris Lattner authored
llvm-svn: 7297
-
Chris Lattner authored
llvm-svn: 7296
-
Chris Lattner authored
llvm-svn: 7295
-
Chris Lattner authored
llvm-svn: 7294
-
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
-
Chris Lattner authored
Now it shoudl be a bit more efficient llvm-svn: 7292
-
Brian Gaeke authored
llvm-svn: 7291
-
Chris Lattner authored
of codes. For example, short kernel (short t1) { t1 >>= 8; t1 <<= 8; return t1; } became: short %kernel(short %t1.1) { %tmp.3 = shr short %t1.1, ubyte 8 ; <short> [#uses=1] %tmp.5 = cast short %tmp.3 to int ; <int> [#uses=1] %tmp.7 = shl int %tmp.5, ubyte 8 ; <int> [#uses=1] %tmp.8 = cast int %tmp.7 to short ; <short> [#uses=1] ret short %tmp.8 } before, now it becomes: short %kernel(short %t1.1) { %tmp.3 = shr short %t1.1, ubyte 8 ; <short> [#uses=1] %tmp.8 = shl short %tmp.3, ubyte 8 ; <short> [#uses=1] ret short %tmp.8 } which will become: short %kernel(short %t1.1) { %tmp.3 = and short %t1.1, 0xFF00 ret short %tmp.3 } This implements cast-set.ll:test4 and test5 llvm-svn: 7290
-
Chris Lattner authored
llvm-svn: 7289
-
Brian Gaeke authored
doFinalization too except that would have made them shadow, not override, the parent class :-P. Allow *any* constant cast expression between pointers and longs, or vice-versa, or any widening (not just same-size) conversion that isLosslesslyConvertibleTo approves. This fixes oopack. llvm-svn: 7288
-
Chris Lattner authored
llvm-svn: 7287
-
Chris Lattner authored
llvm-svn: 7286
-
Chris Lattner authored
This fixes a long time annoyance which caused prototypes for bzero, bcopy, bcmp, fputs, and fputs_unlocked to never get deleted. Grr. llvm-svn: 7285
-
Chris Lattner authored
llvm-svn: 7284
-
- Jul 23, 2003
-
-
Chris Lattner authored
llvm-svn: 7283
-
Chris Lattner authored
- InstCombine: (X & C1) ^ C2 --> (X & C1) | C2 iff (C1&C2) == 0 - InstCombine: (X | C1) ^ C2 --> (X | C1) & ~C2 iff (C1&C2) == C2 llvm-svn: 7282
-