Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Adjust to the new BasicBlock ctor, which requires a function parameter | Chris Lattner | 2004-02-04 | 1 | -1/+1 |
| | | | | llvm-svn: 11114 | ||||
* | Refactor code just a little bit, allowing us to implement ↵ | Chris Lattner | 2003-12-14 | 1 | -51/+68 |
| | | | | | | TailCallElim/return_constant.ll llvm-svn: 10467 | ||||
* | Implement: TailCallElim/accum_recursion_constant_arg.ll | Chris Lattner | 2003-12-08 | 1 | -6/+60 |
| | | | | | | Also make sure to clean up any PHI nodes that are inserted which are pointless. llvm-svn: 10333 | ||||
* | Implement: test/Regression/Transforms/TailCallElim/accum_recursion.ll | Chris Lattner | 2003-12-08 | 1 | -12/+122 |
| | | | | | | | | We now insert accumulator variables as necessary to eliminate tail recursion more aggressively. This is still fairly limited, but allows us to transform fib/factorial, and other functions into nice happy loops. :) llvm-svn: 10332 | ||||
* | Cleanup and restructure the code to make it easier to read and maintain. | Chris Lattner | 2003-12-08 | 1 | -53/+126 |
| | | | | | | | | | | | | | | The only functionality change is that we now implement: Regression/Transforms/TailCallElim/intervening-inst.ll Which is really kinda pointless, because it means that trivially dead code does not interfere with -tce, but trivially dead code probably wouldn't be around anytime when this pass is run anyway. The point of including this change it to support other more aggressive transformations when we have the analysis capabilities to do so. llvm-svn: 10312 | ||||
* | Minor cleanups and simplifications | Chris Lattner | 2003-11-21 | 1 | -1/+1 |
| | | | | llvm-svn: 10127 | ||||
* | Start using the nicer terminator auto-insertion API | Chris Lattner | 2003-11-20 | 1 | -5/+5 |
| | | | | llvm-svn: 10111 | ||||
* | Put all LLVM code into the llvm namespace, as per bug 109. | Brian Gaeke | 2003-11-11 | 1 | -0/+4 |
| | | | | llvm-svn: 9903 | ||||
* | Added LLVM project notice to the top of every C++ source file. | John Criswell | 2003-10-20 | 1 | -0/+7 |
| | | | | | | Header files will be on the way. llvm-svn: 9298 | ||||
* | Rename Function::getEntryNode -> getEntryBlock | Chris Lattner | 2003-09-20 | 1 | -1/+1 |
| | | | | llvm-svn: 8625 | ||||
* | Fix a really obvious huge gaping bug, add a comment | Chris Lattner | 2003-09-20 | 1 | -1/+2 |
| | | | | llvm-svn: 8620 | ||||
* | Expose the TCE pass | Chris Lattner | 2003-09-20 | 1 | -0/+3 |
| | | | | llvm-svn: 8619 | ||||
* | New transformation: tail recursion elimination | Chris Lattner | 2003-09-20 | 1 | -0/+96 |
llvm-svn: 8618 |