summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Clarify the roles of gccld and gccas.Brian Gaeke2003-10-191-4/+8
| | | | | | Mention that they should really read the gcc manual. llvm-svn: 9264
* Minor edits; also expand description of '-v' option.Brian Gaeke2003-10-191-3/+5
| | | | llvm-svn: 9263
* Tweak -plugin description to match bugpoint.htmlBrian Gaeke2003-10-191-1/+1
| | | | llvm-svn: 9262
* Mostly rewritten.Brian Gaeke2003-10-191-17/+60
| | | | llvm-svn: 9261
* A minor fixChris Lattner2003-10-191-1/+1
| | | | llvm-svn: 9260
* Take out extra paragraph tag.Brian Gaeke2003-10-191-1/+1
| | | | llvm-svn: 9259
* Make this (-run) set look like the other (-disable) set.Brian Gaeke2003-10-191-1/+1
| | | | llvm-svn: 9258
* Always say "the test program", part 2.Brian Gaeke2003-10-191-30/+36
| | | | | | | | | Refer to the various "modules" of bugpoint as "debuggers", not "debugging modes" or "modules". I think this is more evocative of how they typically act, and it's shorter. Add a note about how a linker bug can crash bugpoint early. llvm-svn: 9257
* Two minor fixesChris Lattner2003-10-191-2/+2
| | | | llvm-svn: 9256
* Minor edits to Description section.Brian Gaeke2003-10-191-25/+36
| | | | | | | | | | | Add Design Philosophy as a separate subsection. Clarify its last sentence. Give Automatic Mode Selection a uniquely-named anchor. Always call the program the "test program", instead of the "initial program", the "LLVM program", the "test case", the "resultant module", etc. Try to explain the assumptions a little more, instead of just describing the process. llvm-svn: 9255
* Spell-check.Brian Gaeke2003-10-191-39/+47
| | | | | | | | Many minor edits. Rewrite some of the options section for grammatical parallelism, clarity, and brevity. llvm-svn: 9254
* DeHTMLify the email so that it only gets sent out if something changes.Chris Lattner2003-10-191-7/+10
| | | | | | Add printouts about failed building and testing. llvm-svn: 9253
* .string adds an implicit zero at the end. This is not what we wanted.Chris Lattner2003-10-191-1/+1
| | | | | | This fixes PR#44. llvm-svn: 9252
* Add debugtype, make output marginally more niceChris Lattner2003-10-191-3/+4
| | | | llvm-svn: 9251
* Fix PR #47Chris Lattner2003-10-191-3/+3
| | | | llvm-svn: 9250
* Fix bug: Jello/2003-10-18-PHINode-ConstantExpr-CondCode-Failure.llxChris Lattner2003-10-191-9/+21
| | | | | | This also fixes miscompilation of 176.gcc. llvm-svn: 9249
* New testcase, distilled from 176.gcc codegen failureChris Lattner2003-10-181-0/+29
| | | | llvm-svn: 9248
* Update compile informationChris Lattner2003-10-181-1/+1
| | | | llvm-svn: 9247
* Add usage blurbChris Lattner2003-10-181-1/+4
| | | | llvm-svn: 9246
* Without this option, the -run-llc mode does not work with shared objects atChris Lattner2003-10-181-0/+1
| | | | | | | all, making it pointless for use with the code generator debugger. With it, it works like a charm. llvm-svn: 9245
* Add bugpoint advice sectionChris Lattner2003-10-181-1/+30
| | | | llvm-svn: 9244
* Print -fno-strict-aliasing as wellChris Lattner2003-10-181-1/+1
| | | | llvm-svn: 9243
* Don't leave a trail of bugpoint-execution-output-* breadcrumbs all over the ↵Chris Lattner2003-10-181-0/+4
| | | | | | place llvm-svn: 9242
OpenPOWER on IntegriCloud