summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* When opcodes like ADD were split into reg. and immed. versions (ADDi and ADDr),Vikram S. Adve2003-10-211-1/+2
| | | | | | this code wasn't fixed correctly so it missed copy operations that used ADDi. llvm-svn: 9318
* Why does g++ not even generate a warning when you miss a break statement?Vikram S. Adve2003-10-211-0/+1
| | | | llvm-svn: 9317
* Implement the new varargs instructions and intrinsics.Vikram S. Adve2003-10-211-24/+22
| | | | llvm-svn: 9316
* Only fails on the Sparc, only when run via the JIT.Misha Brukman2003-10-211-0/+16
| | | | | | And yet, it's a failure in the ``LowerSwitch'' pass. llvm-svn: 9315
* Added LLVM copyright to Makefiles.John Criswell2003-10-2033-0/+264
| | | | llvm-svn: 9314
* Added LLVM copyrights to Makefiles.John Criswell2003-10-209-0/+72
| | | | llvm-svn: 9313
* Added LLVM copyright notice to Makefiles.John Criswell2003-10-2032-0/+256
| | | | llvm-svn: 9312
* Add a new mapChris Lattner2003-10-201-1/+3
| | | | llvm-svn: 9311
* Convert this code from using annotations to using a local mapChris Lattner2003-10-203-45/+25
| | | | llvm-svn: 9310
* Goodbye, AddRegNumToValuesBrian Gaeke2003-10-202-10/+0
| | | | llvm-svn: 9309
* Removed extraneous comment line.John Criswell2003-10-205-5/+0
| | | | llvm-svn: 9308
* Remove using declarationChris Lattner2003-10-201-13/+11
| | | | llvm-svn: 9307
* This #include is no longer necessaryChris Lattner2003-10-201-1/+0
| | | | llvm-svn: 9306
* Added LLVM copyright header.John Criswell2003-10-2015-0/+105
| | | | llvm-svn: 9305
* Added LLVM copyright header (for lack of a better term).John Criswell2003-10-20126-0/+882
| | | | llvm-svn: 9304
* Oops. Typo.John Criswell2003-10-201-1/+1
| | | | llvm-svn: 9303
* Added LLVM header notice.John Criswell2003-10-2020-44/+152
| | | | llvm-svn: 9302
* Fixed the documentation to coincide with the code.Misha Brukman2003-10-201-4/+3
| | | | llvm-svn: 9301
* Added LLVM notice.John Criswell2003-10-2033-0/+231
| | | | llvm-svn: 9300
* Made error message more comprehensible.Misha Brukman2003-10-201-1/+2
| | | | llvm-svn: 9299
* Added LLVM project notice to the top of every C++ source file.John Criswell2003-10-20209-1/+1463
| | | | | | Header files will be on the way. llvm-svn: 9298
* "Function"[0] == 'F', not 'M'Chris Lattner2003-10-201-8/+8
| | | | llvm-svn: 9297
* Update release notesChris Lattner2003-10-201-21/+10
| | | | llvm-svn: 9296
* Minor leftover fixups from replaceMachineCodeForFunction () change.Brian Gaeke2003-10-202-2/+3
| | | | llvm-svn: 9295
* fix file headerChris Lattner2003-10-208-11/+2
| | | | llvm-svn: 9294
* fix file headersChris Lattner2003-10-2014-17/+2
| | | | llvm-svn: 9293
* Fix file headerChris Lattner2003-10-201-3/+1
| | | | llvm-svn: 9292
* Added copyright header to all C++ source files.John Criswell2003-10-2030-0/+240
| | | | llvm-svn: 9291
* Made the Requirements information its own major section and moved itJohn Criswell2003-10-201-140/+119
| | | | | | | | | | 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
* Make replaceMachineCodeForFunction() return void.Brian Gaeke2003-10-201-1/+1
| | | | llvm-svn: 9289
* Make replaceMachineCodeForFunction return void.Brian Gaeke2003-10-202-4/+2
| | | | llvm-svn: 9288
* Make replaceMachineCodeForFunction return void.Brian Gaeke2003-10-201-4/+6
| | | | | | Make it assert by default. llvm-svn: 9287
* Apparently the dependencies are wrong for this file, so it didn't rebuild itChris Lattner2003-10-201-1/+1
| | | | | | when changing Instruction.def. :( llvm-svn: 9286
* Reorder for minor efficiency gainChris Lattner2003-10-201-1/+1
| | | | llvm-svn: 9285
* Emit x86 instructions for: A = B op C, where A and B are 16-bit registers,Chris Lattner2003-10-202-0/+54
| | | | | | | | | | | | | | | | | | | | | | 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
* Hrm, a relic from the past. How cute :)Chris Lattner2003-10-201-1/+1
| | | | llvm-svn: 9283
* Further cleanups and simplificationsChris Lattner2003-10-201-32/+17
| | | | llvm-svn: 9282
* Eliminate code for pointer size and endianness emulation.Chris Lattner2003-10-202-160/+21
| | | | llvm-svn: 9281
* The Grammar Police was here.Misha Brukman2003-10-201-1/+1
| | | | llvm-svn: 9280
* * Fixed grammar in headerMisha Brukman2003-10-201-4/+5
| | | | | | * Added description of `mem2reg' llvm-svn: 9279
* * Rename X86::IMULr16 -> X86::IMULrr16Chris Lattner2003-10-204-14/+44
| | | | | | | * 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
* Don't bother forwarding function references which are external to the ↵Chris Lattner2003-10-191-2/+4
| | | | | | program entirely llvm-svn: 9274
* Ok, return an explicit path to the shared object, unbreaking code generatorChris Lattner2003-10-191-1/+1
| | | | | | debugging with the JIT llvm-svn: 9273
* Fix iterator invalidation problemChris Lattner2003-10-191-3/+2
| | | | llvm-svn: 9272
* Eliminate unused classChris Lattner2003-10-191-5/+0
| | | | llvm-svn: 9270
* Change the Opcode enum for PHI nodes from "Instruction::PHINode" to ↵Chris Lattner2003-10-1914-20/+20
| | | | | | "Instruction::PHI" to be more consistent with the other instructions. llvm-svn: 9269
* Change the Opcode enum for PHI nodes from "Instruction::PHINode" to ↵Chris Lattner2003-10-191-12/+0
| | | | | | | | "Instruction::PHI" to be more consistent with the other instructions. This allows removal of a special case from the instvisitor llvm-svn: 9268
* * Multiplications by 2^X are turned into shifts. This factors code out of theChris Lattner2003-10-191-95/+201
| | | | | | | | | | | 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
* Add some new instructions. WheeeChris Lattner2003-10-191-1/+21
| | | | llvm-svn: 9266
* Change it to match llvmgcc.html ... why do we have separate pages for these two?Brian Gaeke2003-10-191-2/+6
| | | | llvm-svn: 9265
OpenPOWER on IntegriCloud