Chris Lattner
826afe939d
Add a new map
...
llvm-svn: 9311
2003-10-20 20:55:13 +00:00
Chris Lattner
dcd1466a80
Convert this code from using annotations to using a local map
...
llvm-svn: 9310
2003-10-20 20:52:23 +00:00
Brian Gaeke
e7621515c0
Goodbye, AddRegNumToValues
...
llvm-svn: 9309
2003-10-20 20:44:03 +00:00
John Criswell
567fe2f312
Removed extraneous comment line.
...
llvm-svn: 9308
2003-10-20 20:40:30 +00:00
Chris Lattner
93fa46476b
Remove using declaration
...
llvm-svn: 9307
2003-10-20 20:38:17 +00:00
Chris Lattner
80e6f5db8f
This #include is no longer necessary
...
llvm-svn: 9306
2003-10-20 20:29:44 +00:00
John Criswell
d3032037f1
Added LLVM copyright header.
...
llvm-svn: 9305
2003-10-20 20:20:30 +00:00
John Criswell
b644598b37
Added LLVM copyright header (for lack of a better term).
...
llvm-svn: 9304
2003-10-20 20:19:47 +00:00
John Criswell
6be819840b
Oops. Typo.
...
llvm-svn: 9303
2003-10-20 20:16:14 +00:00
John Criswell
4c8472d705
Added LLVM header notice.
...
llvm-svn: 9302
2003-10-20 20:11:43 +00:00
Misha Brukman
774b94a74b
Fixed the documentation to coincide with the code.
...
llvm-svn: 9301
2003-10-20 19:47:25 +00:00
John Criswell
dd04329da2
Added LLVM notice.
...
llvm-svn: 9300
2003-10-20 19:46:57 +00:00
Misha Brukman
098cafd62b
Made error message more comprehensible.
...
llvm-svn: 9299
2003-10-20 19:43:47 +00:00
John Criswell
482202a601
Added LLVM project notice to the top of every C++ source file.
...
Header files will be on the way.
llvm-svn: 9298
2003-10-20 19:43:21 +00:00
Chris Lattner
d77dd78c52
"Function"[0] == 'F', not 'M'
...
llvm-svn: 9297
2003-10-20 19:10:06 +00:00
Chris Lattner
a623e48b71
Update release notes
...
llvm-svn: 9296
2003-10-20 19:05:03 +00:00
Brian Gaeke
ca1789d3f5
Minor leftover fixups from replaceMachineCodeForFunction () change.
...
llvm-svn: 9295
2003-10-20 17:59:09 +00:00
Chris Lattner
8f71f04961
fix file header
...
llvm-svn: 9294
2003-10-20 17:58:43 +00:00
Chris Lattner
ebec8030d6
fix file headers
...
llvm-svn: 9293
2003-10-20 17:57:13 +00:00
Chris Lattner
22feb17ea4
Fix file header
...
llvm-svn: 9292
2003-10-20 17:52:11 +00:00
John Criswell
09344dcf97
Added copyright header to all C++ source files.
...
llvm-svn: 9291
2003-10-20 17:47:21 +00:00
John Criswell
ca342f5f83
Made the Requirements information its own major section and moved it
...
between the "Getting Started Quickly" and "Getting Started Slowly" sections.
:)
Removed some of the nit-picky requirements information (i.e. GNU tar and
GNU zip).
Attempted to compact the requirements information so that it is less scary.
llvm-svn: 9290
2003-10-20 16:39:52 +00:00
Brian Gaeke
4bc3958c7b
Make replaceMachineCodeForFunction() return void.
...
llvm-svn: 9289
2003-10-20 15:17:12 +00:00
Brian Gaeke
67a5a865ae
Make replaceMachineCodeForFunction return void.
...
llvm-svn: 9288
2003-10-20 15:15:17 +00:00
Brian Gaeke
a585d7e768
Make replaceMachineCodeForFunction return void.
...
Make it assert by default.
llvm-svn: 9287
2003-10-20 15:14:33 +00:00
Chris Lattner
f187b7691d
Apparently the dependencies are wrong for this file, so it didn't rebuild it
...
when changing Instruction.def. :(
llvm-svn: 9286
2003-10-20 14:12:52 +00:00
Chris Lattner
2d9c117e21
Reorder for minor efficiency gain
...
llvm-svn: 9285
2003-10-20 05:54:26 +00:00
Chris Lattner
6acb1bedb1
Emit x86 instructions for: A = B op C, where A and B are 16-bit registers,
...
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
2003-10-20 05:53:31 +00:00
Chris Lattner
f2a34aa278
Hrm, a relic from the past. How cute :)
...
llvm-svn: 9283
2003-10-20 05:45:49 +00:00
Chris Lattner
369246d855
Further cleanups and simplifications
...
llvm-svn: 9282
2003-10-20 04:48:06 +00:00
Chris Lattner
358e7c3edb
Eliminate code for pointer size and endianness emulation.
...
llvm-svn: 9281
2003-10-20 04:11:23 +00:00
Misha Brukman
42856eb1bd
The Grammar Police was here.
...
llvm-svn: 9280
2003-10-20 04:03:10 +00:00
Misha Brukman
c265fdc3bb
* Fixed grammar in header
...
* Added description of `mem2reg'
llvm-svn: 9279
2003-10-20 03:59:05 +00:00
Chris Lattner
97e1b55723
* Rename X86::IMULr16 -> X86::IMULrr16
...
* 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
2003-10-20 03:42:58 +00:00
Chris Lattner
4705141f28
Don't bother forwarding function references which are external to the program entirely
...
llvm-svn: 9274
2003-10-19 23:32:50 +00:00
Chris Lattner
2b97d6e7cd
Ok, return an explicit path to the shared object, unbreaking code generator
...
debugging with the JIT
llvm-svn: 9273
2003-10-19 21:54:13 +00:00
Chris Lattner
a4004f6678
Fix iterator invalidation problem
...
llvm-svn: 9272
2003-10-19 21:48:27 +00:00
Chris Lattner
24c67e8553
Eliminate unused class
...
llvm-svn: 9270
2003-10-19 21:39:41 +00:00
Chris Lattner
b94550e537
Change the Opcode enum for PHI nodes from "Instruction::PHINode" to "Instruction::PHI" to be more consistent with the other instructions.
...
llvm-svn: 9269
2003-10-19 21:34:28 +00:00
Chris Lattner
fc0bf07db4
Change the Opcode enum for PHI nodes from "Instruction::PHINode" to "Instruction::PHI" to be more consistent with the other instructions.
...
This allows removal of a special case from the instvisitor
llvm-svn: 9268
2003-10-19 21:34:11 +00:00
Chris Lattner
bf87734fa0
* Multiplications by 2^X are turned into shifts. This factors code out of the
...
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
2003-10-19 21:09:10 +00:00
Chris Lattner
55a8ef0cc8
Add some new instructions. Wheee
...
llvm-svn: 9266
2003-10-19 19:25:35 +00:00
Brian Gaeke
98e1f50d0c
Change it to match llvmgcc.html ... why do we have separate pages for these two?
...
llvm-svn: 9265
2003-10-19 18:23:05 +00:00
Brian Gaeke
7c49d984d2
Clarify the roles of gccld and gccas.
...
Mention that they should really read the gcc manual.
llvm-svn: 9264
2003-10-19 18:15:18 +00:00
Brian Gaeke
cfd030726c
Minor edits; also expand description of '-v' option.
...
llvm-svn: 9263
2003-10-19 18:09:24 +00:00
Brian Gaeke
e4cea8cd34
Tweak -plugin description to match bugpoint.html
...
llvm-svn: 9262
2003-10-19 18:08:57 +00:00
Brian Gaeke
70e81e2320
Mostly rewritten.
...
llvm-svn: 9261
2003-10-19 18:03:11 +00:00
Chris Lattner
d46f945b43
A minor fix
...
llvm-svn: 9260
2003-10-19 17:37:33 +00:00
Brian Gaeke
c852194dec
Take out extra paragraph tag.
...
llvm-svn: 9259
2003-10-19 17:37:12 +00:00
Brian Gaeke
8ef235e2fc
Make this (-run) set look like the other (-disable) set.
...
llvm-svn: 9258
2003-10-19 17:35:35 +00:00