Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix test: Linker/2003-10-27-LinkOncePromote.ll | Chris Lattner | 2003-10-27 | 1 | -27/+29 |
| | | | | | | Fix PR58 llvm-svn: 9530 | ||||
* | Get the list of PHI node values before the basic block is split. Also, add | Chris Lattner | 2003-10-27 | 1 | -9/+16 |
| | | | | | | | | PHI node entries for unwind instructions just like for call instructions which became invokes! This fixes PR57, tested by Inline/2003-10-26-InlineInvokeExceptionDestPhi.ll llvm-svn: 9526 | ||||
* | We might as well strip off any CPRs before propagation | Chris Lattner | 2003-10-23 | 1 | -1/+4 |
| | | | | llvm-svn: 9437 | ||||
* | * We were forgetting to pass varargs arguments through a call | Chris Lattner | 2003-10-23 | 1 | -0/+18 |
| | | | | | | * Add a work around for bug PR56, gross but necessary for now. llvm-svn: 9428 | ||||
* | Check in initial version of ipcp | Chris Lattner | 2003-10-23 | 1 | -0/+110 |
| | | | | llvm-svn: 9423 | ||||
* | Make this pass substantially stronger by having it delete dead return values | Chris Lattner | 2003-10-23 | 1 | -127/+354 |
| | | | | | | | | | as well as arguments. Now it can delete arguments and return values which are only passed into other arguments or are returned, if they are dead. This causes it to delete several hundred extra args/retvals from the C++ hello world program, shrinking it by about 2K. llvm-svn: 9398 | ||||
* | This important patch fixes two warnings in the linker which can occur from ↵ | Chris Lattner | 2003-10-22 | 1 | -4/+33 |
| | | | | | | | | linking valid pieces of code llvm-svn: 9390 | ||||
* | Update the 'used' flag correctly | Chris Lattner | 2003-10-22 | 1 | -6/+7 |
| | | | | llvm-svn: 9366 | ||||
* | Loop over the module, not the symbol table. This makes the code handle | Chris Lattner | 2003-10-22 | 1 | -21/+18 |
| | | | | | | unused external functions again llvm-svn: 9365 | ||||
* | Implement FunctionResolve/2003-10-21-GlobalResolveHack.ll | Chris Lattner | 2003-10-22 | 1 | -2/+34 |
| | | | | llvm-svn: 9363 | ||||
* | Fix bug: FunctionResolve/2003-10-21-GlobalTypeDifference.ll | Chris Lattner | 2003-10-21 | 1 | -55/+19 |
| | | | | llvm-svn: 9359 | ||||
* | Fix bug: Linker/2003-10-21-ConflictingTypesTolerance.ll | Chris Lattner | 2003-10-21 | 1 | -13/+10 |
| | | | | llvm-svn: 9357 | ||||
* | Fix message to make more sense and confuse Chris less | Chris Lattner | 2003-10-21 | 1 | -2/+7 |
| | | | | llvm-svn: 9354 | ||||
* | Added LLVM copyright header. | John Criswell | 2003-10-21 | 4 | -0/+28 |
| | | | | llvm-svn: 9321 | ||||
* | Added LLVM copyright notice to Makefiles. | John Criswell | 2003-10-20 | 7 | -0/+56 |
| | | | | llvm-svn: 9312 | ||||
* | Added LLVM project notice to the top of every C++ source file. | John Criswell | 2003-10-20 | 64 | -0/+448 |
| | | | | | | Header files will be on the way. llvm-svn: 9298 | ||||
* | Reorder for minor efficiency gain | Chris Lattner | 2003-10-20 | 1 | -1/+1 |
| | | | | llvm-svn: 9285 | ||||
* | Change the Opcode enum for PHI nodes from "Instruction::PHINode" to ↵ | Chris Lattner | 2003-10-19 | 4 | -7/+7 |
| | | | | | | "Instruction::PHI" to be more consistent with the other instructions. llvm-svn: 9269 | ||||
* | Fix PR#50 | Chris Lattner | 2003-10-18 | 1 | -6/+6 |
| | | | | llvm-svn: 9227 | ||||
* | ADd support for the new varargs instructions | Chris Lattner | 2003-10-18 | 1 | -1/+2 |
| | | | | llvm-svn: 9225 | ||||
* | Do not crash on empty structures | Chris Lattner | 2003-10-17 | 1 | -0/+5 |
| | | | | llvm-svn: 9195 | ||||
* | Add support for 'weak' linkage. | Chris Lattner | 2003-10-16 | 1 | -5/+32 |
| | | | | llvm-svn: 9171 | ||||
* | This code does not require random access use_lists | Chris Lattner | 2003-10-16 | 1 | -7/+2 |
| | | | | llvm-svn: 9156 | ||||
* | Eliminate using declaration | Chris Lattner | 2003-10-16 | 1 | -29/+35 |
| | | | | | | Rewrite code to work with use_lists what are either random access or bidirectional llvm-svn: 9155 | ||||
* | Decrease usage of use_size() | Chris Lattner | 2003-10-15 | 5 | -18/+18 |
| | | | | llvm-svn: 9135 | ||||
* | Cleanup | Chris Lattner | 2003-10-15 | 1 | -5/+2 |
| | | | | llvm-svn: 9133 | ||||
* | Do not move variable sized allocations to the top of the caller, which might | Chris Lattner | 2003-10-14 | 1 | -7/+5 |
| | | | | | | | | break dominance relationships, and is otherwise bad. This fixes bug: Inline/2003-10-13-AllocaDominanceProblem.ll. This also fixes miscompilation of 3 176.gcc source files (reload1.c, global.c, flow.c) llvm-svn: 9109 | ||||
* | Whoops, we inserted into the wrong set. What's up with the dead set anyway? | Chris Lattner | 2003-10-13 | 1 | -4/+2 |
| | | | | llvm-svn: 9094 | ||||
* | Use external df iterators to avoid revisiting blocks in functions with | Chris Lattner | 2003-10-13 | 1 | -1/+3 |
| | | | | | | multiple setjmp calls. llvm-svn: 9093 | ||||
* | Wrap code at 80 columns | Chris Lattner | 2003-10-13 | 1 | -6/+10 |
| | | | | llvm-svn: 9073 | ||||
* | Regularize header file comments | Chris Lattner | 2003-10-13 | 13 | -35/+37 |
| | | | | llvm-svn: 9071 | ||||
* | Regularize header file comment, eliminate using's | Chris Lattner | 2003-10-13 | 1 | -22/+20 |
| | | | | llvm-svn: 9069 | ||||
* | Minor cleanups | Chris Lattner | 2003-10-13 | 1 | -5/+3 |
| | | | | llvm-svn: 9067 | ||||
* | Checkin an improvement contributed by Bill: | Chris Lattner | 2003-10-13 | 1 | -6/+30 |
| | | | | | | | | | | | Only transform call sites in a setjmp'ing function which are reachable from the setjmp. If the call dominates the setjmp (for example), the called function cannot longjmp to the setjmp. This dramatically reduces the number of invoke instructions created in some large testcases. llvm-svn: 9066 | ||||
* | Add support to the loop canonicalization pass to make it transform loops to | Chris Lattner | 2003-10-13 | 1 | -21/+163 |
| | | | | | | | | have a SINGLE backedge. This is useful to, for example, the -indvars pass. This implements testcase LoopSimplify/single-backedge.ll and closes PR#34 llvm-svn: 9065 | ||||
* | Rename loop preheaders pass to loop simplify | Chris Lattner | 2003-10-12 | 4 | -5/+7 |
| | | | | llvm-svn: 9061 | ||||
* | File is renamed to LoopSimplify.cpp | Chris Lattner | 2003-10-12 | 1 | -1/+1 |
| | | | | llvm-svn: 9059 | ||||
* | First step in renaming the preheaders pass to loopsimplify | Chris Lattner | 2003-10-12 | 1 | -16/+21 |
| | | | | llvm-svn: 9058 | ||||
* | The preheader insertion pass only depends on the CFG. Mark it as such, which | Chris Lattner | 2003-10-12 | 1 | -1/+2 |
| | | | | | | allows GCCAS to only run it once. llvm-svn: 9056 | ||||
* | Include <cstdio> instead of <stdio.h>. | Brian Gaeke | 2003-10-10 | 1 | -1/+1 |
| | | | | llvm-svn: 9032 | ||||
* | Don't include Config/stdio.h or <stdio.h>. | Brian Gaeke | 2003-10-10 | 1 | -1/+0 |
| | | | | llvm-svn: 9031 | ||||
* | Fix spelling. | Misha Brukman | 2003-10-10 | 23 | -48/+48 |
| | | | | llvm-svn: 9027 | ||||
* | Fixing the spelling of this filename. | Misha Brukman | 2003-10-10 | 1 | -669/+0 |
| | | | | llvm-svn: 9009 | ||||
* | Update comment | Chris Lattner | 2003-10-08 | 1 | -2/+2 |
| | | | | llvm-svn: 8965 | ||||
* | Use a set to keep track of which edges have been noticed as executable already | Chris Lattner | 2003-10-08 | 1 | -15/+27 |
| | | | | | | | to avoid reprocessing PHI nodes needlessly. This speeds up the big bad PHI testcase 43%: from 104.9826 to 73.5157s llvm-svn: 8964 | ||||
* | Minor fixes here and there | Chris Lattner | 2003-10-08 | 1 | -22/+21 |
| | | | | llvm-svn: 8963 | ||||
* | Avoid building data structures we don't really need. This improves the runtime | Chris Lattner | 2003-10-08 | 1 | -10/+39 |
| | | | | | | | | of a test that Bill Wendling sent me from 228.5s to 105s. Obviously there is more improvement to be had, but this is a nice speedup which should be "felt" by many programs. llvm-svn: 8962 | ||||
* | whoops, don't accidentally lose variable names | Chris Lattner | 2003-10-07 | 1 | -1/+1 |
| | | | | llvm-svn: 8955 | ||||
* | Fix bug: InstCombine/cast.ll:test11 / PR#7 | Chris Lattner | 2003-10-07 | 1 | -1/+23 |
| | | | | llvm-svn: 8954 | ||||
* | Refactor code a bit | Chris Lattner | 2003-10-07 | 1 | -4/+12 |
| | | | | llvm-svn: 8952 |