- Nov 06, 2003
-
-
Misha Brukman authored
* Alphabetize #includes llvm-svn: 9751
-
- Nov 05, 2003
-
-
Misha Brukman authored
get just the filename and not the full path, just use the filename directly. llvm-svn: 9730
-
- Nov 04, 2003
-
-
Alkis Evlogimenos authored
return the number of instructions added to/removed from the basic block passed as their first argument. Note: This is only needed because we use a std::vector instead of an ilist to keep MachineBasicBlock instructions. Inserting an instruction to a MachineBasicBlock invalidates all iterators to the basic block. The return value can be used to update an index to the machine basic block instruction vector and circumvent the iterator elimination problem but this is really not needed if we move to a better representation. llvm-svn: 9704
-
Chris Lattner authored
llvm-svn: 9694
-
- Nov 03, 2003
-
-
Chris Lattner authored
strings with the stuff that used to print to an ostream directly. We now NEVER build up big strings, only to print them once they are formed. llvm-svn: 9686
-
Chris Lattner authored
llvm-svn: 9684
-
Chris Lattner authored
* Emit bools as 1/0 instead of true/false, fixing compilation of eon and PR 83 & Jello/2003-11-03-GlobalBool.llx llvm-svn: 9683
-
- Oct 29, 2003
-
-
Brian Gaeke authored
work on Mac OS X. Also turn ${...} into $(...); we do not speak BSD Make. llvm-svn: 9589
-
- Oct 23, 2003
-
-
Chris Lattner authored
Implement mul/div/rem constant expressions llvm-svn: 9424
-
Misha Brukman authored
llvm-svn: 9418
-
Misha Brukman authored
* Convert tabs to spaces * Make code fit within 80 columns llvm-svn: 9416
-
- Oct 22, 2003
-
-
Misha Brukman authored
llvm-svn: 9370
-
Misha Brukman authored
* Order #includes according to LLVM coding standards llvm-svn: 9369
-
Misha Brukman authored
llvm-svn: 9368
-
Misha Brukman authored
llvm-svn: 9367
-
Misha Brukman authored
* It's no longer a BasicBlock pass: update comment on run() method * Fix placement of braces to be consistent * Delete extraneous whitespace llvm-svn: 9361
-
Misha Brukman authored
llvm-svn: 9360
-
- Oct 21, 2003
-
-
Chris Lattner authored
llvm-svn: 9334
-
Chris Lattner authored
llvm-svn: 9333
-
Chris Lattner authored
llvm-svn: 9332
-
Chris Lattner authored
llvm-svn: 9331
-
John Criswell authored
llvm-svn: 9324
-
John Criswell authored
llvm-svn: 9321
-
Chris Lattner authored
the module. This change converts it from being a basic block pass to being a simple pass. This allows elimination of the annotation and simplification of the logic for moving constants into global variables. llvm-svn: 9320
-
Vikram S. Adve authored
this code wasn't fixed correctly so it missed copy operations that used ADDi. llvm-svn: 9318
-
Vikram S. Adve authored
llvm-svn: 9317
-
Vikram S. Adve authored
llvm-svn: 9316
-
John Criswell authored
llvm-svn: 9312
-
- Oct 20, 2003
-
-
Brian Gaeke authored
llvm-svn: 9309
-
John Criswell authored
Header files will be on the way. llvm-svn: 9298
-
Brian Gaeke authored
llvm-svn: 9295
-
Brian Gaeke authored
llvm-svn: 9289
-
Brian Gaeke authored
llvm-svn: 9288
-
Chris Lattner authored
when changing Instruction.def. :( llvm-svn: 9286
-
Chris Lattner authored
C is a constant which can be sign-extended from 8 bits without value loss, and op is one of: add, sub, imul, and, or, xor. This allows the JIT to emit the one byte version of the constant instead of the two or 4 byte version. Because these instructions are very common, this can save a LOT of code space. For example, I sampled two benchmarks, 176.gcc and 254.gap. BM Old New Reduction 176.gcc 2673621 2548962 4.89% 254.gap 498261 475104 4.87% Note that while the percentage is not spectacular, this did eliminate 124.6 _KILOBYTES_ of codespace from gcc. Not bad. Note that this doesn't effect the llc version at all, because the assembler already does this optimization. llvm-svn: 9284
-
Chris Lattner authored
llvm-svn: 9282
-
Chris Lattner authored
llvm-svn: 9281
-
Misha Brukman authored
llvm-svn: 9280
-
Chris Lattner authored
* Implement R1 = R2 * C where R1 and R2 are 32 or 16 bits. This avoids an extra copy into a register, reducing register pressure. llvm-svn: 9278
-
- Oct 19, 2003
-
-
Chris Lattner authored
Change the Opcode enum for PHI nodes from "Instruction::PHINode" to "Instruction::PHI" to be more consistent with the other instructions. llvm-svn: 9269
-