Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Handle some simple cases where we can see that values get annihilated. | Chris Lattner | 2005-05-08 | 1 | -7/+42 | |
| | | | | llvm-svn: 21771 | |||||
* | Rewrite the guts of the reassociate pass to be more efficient and logical. ↵ | Chris Lattner | 2005-05-07 | 1 | -103/+185 | |
| | | | | | | | | | Instead of trying to do local reassociation tweaks at each level, only process an expression tree once (at its root). This does not improve the reassociation pass in any real way. llvm-svn: 21768 | |||||
* | Convert shifts to muls to assist reassociation. This implements | Chris Lattner | 2005-05-07 | 1 | -2/+27 | |
| | | | | | | Reassociate/shifttest.ll llvm-svn: 21761 | |||||
* | Simplify the code and rearrange it. No major functionality changes here. | Chris Lattner | 2005-05-07 | 1 | -62/+82 | |
| | | | | llvm-svn: 21759 | |||||
* | Remove trailing whitespace | Misha Brukman | 2005-04-21 | 1 | -5/+5 | |
| | | | | llvm-svn: 21427 | |||||
* | This mega patch converts us from using Function::a{iterator|begin|end} to | Chris Lattner | 2005-03-15 | 1 | -1/+1 | |
| | | | | | | | | using Function::arg_{iterator|begin|end}. Likewise Module::g* -> Module::global_*. This patch is contributed by Gabor Greif, thanks! llvm-svn: 20597 | |||||
* | Changes For Bug 352 | Reid Spencer | 2004-09-01 | 1 | -3/+3 | |
| | | | | | | | | Move include/Config and include/Support into include/llvm/Config, include/llvm/ADT and include/llvm/Support. From here on out, all LLVM public header files must be under include/llvm/. llvm-svn: 16137 | |||||
* | Fix #includes of i*.h => Instructions.h as per PR403. | Misha Brukman | 2004-07-29 | 1 | -1/+1 | |
| | | | | llvm-svn: 15328 | |||||
* | Fixes working towards PR341 | Chris Lattner | 2004-07-15 | 1 | -4/+4 | |
| | | | | llvm-svn: 14839 | |||||
* | Make this pass use a more specific debug message than "Processing:". | Brian Gaeke | 2004-07-01 | 1 | -1/+1 | |
| | | | | llvm-svn: 14541 | |||||
* | Finegrainify namespacification | Chris Lattner | 2004-01-09 | 1 | -4/+2 | |
| | | | | llvm-svn: 10725 | |||||
* | Put all LLVM code into the llvm namespace, as per bug 109. | Brian Gaeke | 2003-11-11 | 1 | -0/+5 | |
| | | | | llvm-svn: 9903 | |||||
* | Declare FunctionPasses as such so that they can be used in FunctionPassManager. | Misha Brukman | 2003-11-07 | 1 | -1/+1 | |
| | | | | llvm-svn: 9768 | |||||
* | 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 | |||||
* | Change the Opcode enum for PHI nodes from "Instruction::PHINode" to ↵ | Chris Lattner | 2003-10-19 | 1 | -1/+1 | |
| | | | | | | "Instruction::PHI" to be more consistent with the other instructions. llvm-svn: 9269 | |||||
* | Decrease usage of use_size() | Chris Lattner | 2003-10-15 | 1 | -3/+3 | |
| | | | | llvm-svn: 9135 | |||||
* | Credits now go into the top-level CREDITS.TXT | Misha Brukman | 2003-09-22 | 1 | -3/+0 | |
| | | | | llvm-svn: 8662 | |||||
* | Spell `necessary' correctly. | Misha Brukman | 2003-08-18 | 1 | -1/+1 | |
| | | | | llvm-svn: 7944 | |||||
* | Assign arguments different ranks so they get grouped together | Chris Lattner | 2003-08-13 | 1 | -4/+10 | |
| | | | | llvm-svn: 7813 | |||||
* | Fix bug: Reassociate/2003-08-12-InfiniteLoop.ll | Chris Lattner | 2003-08-12 | 1 | -5/+6 | |
| | | | | llvm-svn: 7792 | |||||
* | Assign finer grained ranks, make sure to reassociate top-level after ↵ | Chris Lattner | 2003-08-12 | 1 | -7/+11 | |
| | | | | | | reassociating bottom level llvm-svn: 7787 | |||||
* | DEBUG got moved to Support/Debug.h | Chris Lattner | 2003-08-01 | 1 | -0/+1 | |
| | | | | llvm-svn: 7492 | |||||
* | Fix spelling | Chris Lattner | 2003-05-02 | 1 | -1/+1 | |
| | | | | llvm-svn: 5983 | |||||
* | Remove unnecesary &*'s | Chris Lattner | 2003-04-23 | 1 | -1/+1 | |
| | | | | llvm-svn: 5872 | |||||
* | Rename Instruction::hasSideEffects() -> mayWriteToMemory() | Chris Lattner | 2003-02-24 | 1 | -1/+1 | |
| | | | | llvm-svn: 5620 | |||||
* | Fix a huge performance problem in reassociate by introducing a | Chris Lattner | 2002-12-15 | 1 | -1/+7 | |
| | | | | | | rank map cache for instruction ranks llvm-svn: 5030 | |||||
* | Minor changes: | Chris Lattner | 2002-12-15 | 1 | -19/+13 | |
| | | | | | | | | * Reword comment to make more clear * Don't print out BB's after modification made * Don't delete and new an instruction when we need to move something, just move it. llvm-svn: 5029 | |||||
* | Fixes to the reassociate pass to make it respect dominance properties | Chris Lattner | 2002-10-31 | 1 | -57/+54 | |
| | | | | | | | Huge thanks go to Casey Carter for writing this fix, reassociate is now reoperational! llvm-svn: 4471 | |||||
* | - Rename AnalysisUsage::preservesAll to getPreservesAll & preservesCFG to | Chris Lattner | 2002-10-21 | 1 | -1/+1 | |
| | | | | | | setPreservesCFG to be less confusing. llvm-svn: 4255 | |||||
* | Updates to work with recent Statistic's changes: | Chris Lattner | 2002-10-01 | 1 | -6/+5 | |
| | | | | | | | | | | | | * Renamed StatisticReporter.h/cpp to Statistic.h/cpp * Broke constructor to take two const char * arguments instead of one, so that indendation can be taken care of automatically. * Sort the list by pass name when printing * Make sure to print all statistics as a group, instead of randomly when the statistics dtors are called. * Updated ProgrammersManual with new semantics. llvm-svn: 4002 | |||||
* | Simplify code (somtimes dramatically), by using the new "auto-insert" feature | Chris Lattner | 2002-09-10 | 1 | -10/+8 | |
| | | | | | | of instruction constructors. llvm-svn: 3656 | |||||
* | * Add support for different "PassType's" | Chris Lattner | 2002-07-26 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | * Add new RegisterOpt/RegisterAnalysis templates for registering passes that are to show up in opt or analyze * Register Analyses now * Change optimizations to use RegisterOpt instead of RegisterPass * Add support for different "PassType's" * Add new RegisterOpt/RegisterAnalysis templates for registering passes that are to show up in opt or analyze * Register Analyses now * Change optimizations to use RegisterOpt instead of RegisterPass * Remove getPassName implementations from various subclasses llvm-svn: 3113 | |||||
* | *** empty log message *** | Chris Lattner | 2002-07-25 | 1 | -1/+1 | |
| | | | | llvm-svn: 3075 | |||||
* | *** empty log message *** | Chris Lattner | 2002-07-23 | 1 | -4/+2 | |
| | | | | llvm-svn: 3016 | |||||
* | MEGAPATCH checkin. | Chris Lattner | 2002-06-25 | 1 | -23/+19 | |
| | | | | | | For details, See: docs/2002-06-25-MegaPatchInfo.txt llvm-svn: 2779 | |||||
* | Use the new DEBUG(x) macro to allow debugging code to be enabled on the ↵ | Chris Lattner | 2002-05-22 | 1 | -7/+5 | |
| | | | | | | commandline llvm-svn: 2713 | |||||
* | * Make debug output conditional on #define | Chris Lattner | 2002-05-16 | 1 | -13/+99 | |
| | | | | | | | | | * Add optimization to rank computation to not recursively search when unneccesary. * More agressively negate expressions to open reassociation opportunities. * Linearize (A+B)+(C+D) into ((A+B)+C)+D llvm-svn: 2637 | |||||
* | Add support for printing out statistics information when -stats is added to | Chris Lattner | 2002-05-10 | 1 | -0/+6 | |
| | | | | | | the command line llvm-svn: 2601 | |||||
* | Give the longer name to the instruction that will probably be eliminated later | Chris Lattner | 2002-05-09 | 1 | -1/+2 | |
| | | | | llvm-svn: 2581 | |||||
* | Initial checkin of expression reassociation pass | Chris Lattner | 2002-05-08 | 1 | -0/+198 | |
llvm-svn: 2559 |