- 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
-
-
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
-
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
This also fixes miscompilation of 176.gcc. llvm-svn: 9249
-
- Oct 18, 2003
-
-
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
-
- Oct 17, 2003
-
-
Brian Gaeke authored
displacement. llvm-svn: 9210
-
Brian Gaeke authored
llvm-svn: 9204
-
Brian Gaeke authored
Make insertFarJumpAtAddr() return void, because nothing uses its return value. Remove some commented-out code. Implement replaceMachineCodeForFunction() for SPARC. llvm-svn: 9203
-
Brian Gaeke authored
llvm-svn: 9202
-
Brian Gaeke authored
llvm-svn: 9196
-
Alkis Evlogimenos authored
Rename SlotCalculator::getValSlot() to SlotCalculator::getSlot(), SlotCalculator::insertValue() to SlotCalculator::getOrCreateSlot(), SlotCalculator::insertVal() to SlotCalculator::insertValue(), and SlotCalculator::doInsertVal() to SlotCalculator::doInsertValue(). llvm-svn: 9190
-
Brian Gaeke authored
llvm-svn: 9187
-
- Oct 16, 2003
-
-
Chris Lattner authored
llvm-svn: 9171
-
- Oct 15, 2003
-
-
Chris Lattner authored
llvm-svn: 9135
-
- Oct 14, 2003
-
-
Chris Lattner authored
off the bottom of the stack. This fixes PR#41 llvm-svn: 9114
-
Chris Lattner authored
X86/linux. :( The problem is that a signal delivered while the function is executing could clobber the functions stack. This is a partial fix for PR41. llvm-svn: 9113
-
- Oct 13, 2003
-
-
Brian Gaeke authored
jello statistic for this (just divide #-bytes-of-code-emitted by 4). Rewrite head-of-file comment. llvm-svn: 9098
-
Chris Lattner authored
llvm-svn: 9071
-
- Oct 10, 2003
-
-
Brian Gaeke authored
llvm-svn: 9037
-
Brian Gaeke authored
llvm-svn: 9032
-
Misha Brukman authored
llvm-svn: 9027
-
- Oct 06, 2003
-
-
Brian Gaeke authored
llvm-svn: 8892
-