- Oct 21, 2003
-
-
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
-
-
Chris Lattner authored
llvm-svn: 9310
-
Brian Gaeke authored
llvm-svn: 9309
-
Chris Lattner authored
llvm-svn: 9307
-
John Criswell authored
Header files will be on the way. llvm-svn: 9298
-
Chris Lattner authored
llvm-svn: 9297
-
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
llvm-svn: 9285
-
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: 9283
-
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
llvm-svn: 9270
-
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
-
Chris Lattner authored
getelementptr code path for use by other code paths (like malloc and alloca). * Optimize comparisons with zero * Generate neg, not, inc, and dec instructions, when possible. This gives some code size wins, which might translate into performance. We'll see tommorow in the nightly tester. llvm-svn: 9267
-
Chris Lattner authored
llvm-svn: 9266
-
Chris Lattner authored
This fixes PR#44. llvm-svn: 9252
-
Chris Lattner authored
llvm-svn: 9251
-
Chris Lattner authored
llvm-svn: 9250
-
Chris Lattner authored
This also fixes miscompilation of 176.gcc. llvm-svn: 9249
-
- Oct 18, 2003
-
-
Chris Lattner authored
all, making it pointless for use with the code generator debugger. With it, it works like a charm. llvm-svn: 9245
-
Chris Lattner authored
llvm-svn: 9236
-
Chris Lattner authored
llvm-svn: 9228
-
Chris Lattner authored
llvm-svn: 9227
-
Chris Lattner authored
llvm-svn: 9226
-
Chris Lattner authored
llvm-svn: 9225
-
Chris Lattner authored
llvm-svn: 9224
-
Chris Lattner authored
Update the sparc backend to at least compile correctly with the new varargs stuff even if it's not all implemented yet. llvm-svn: 9223
-
Chris Lattner authored
llvm-svn: 9222
-
Chris Lattner authored
more efficient encoding of varargs calls, and the new varargs intrinsics. llvm-svn: 9221
-
Chris Lattner authored
* More dense bytecode encoding for varargs calls (like printf) * Eliminated the extremely old bytecode format. rev #0 is now 1.0 llvm-svn: 9220
-