Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bug 122: | Reid Spencer | 2004-07-18 | 1 | -30/+1 |
| | | | | | | - Excise dead CPR procesing. llvm-svn: 14944 | ||||
* | Make order of argument addition deterministic. In particular, the layout | Chris Lattner | 2004-06-21 | 1 | -10/+35 |
| | | | | | | | of ConstantInt objects in memory used to determine which order arguments were added in in some cases. llvm-svn: 14276 | ||||
* | Fairly substantial changes to update the alias analysis we are querying as | Chris Lattner | 2004-05-23 | 1 | -39/+92 |
| | | | | | | | we make the transformation. This allows us to use interprocedural alias analyses successfully. llvm-svn: 13691 | ||||
* | Implement ArgumentPromotion/aggregate-promote.ll | Chris Lattner | 2004-03-08 | 1 | -25/+145 |
| | | | | | | | | | | | | | | | | | | This allows pointers to aggregate objects, whose elements are only read, to be promoted and passed in by element instead of by reference. This can enable a LOT of subsequent optimizations in the caller function. It's worth pointing out that this stuff happens a LOT of C++ programs, because objects in templates are generally passed around by reference. When these templates are instantiated on small aggregate or scalar types, however, it is more efficient to pass them in by value than by reference. This transformation triggers most on C++ codes (e.g. 334 times on eon), but does happen on C codes as well. For example, on mesa it triggers 72 times, and on gcc it triggers 35 times. this is amazingly good considering that we are using 'basicaa' so far. llvm-svn: 12202 | ||||
* | Implement: ArgumentPromotion/chained.ll | Chris Lattner | 2004-03-07 | 1 | -0/+5 |
| | | | | llvm-svn: 12200 | ||||
* | Fix another minor bug, exposed by perlbmk | Chris Lattner | 2004-03-07 | 1 | -3/+11 |
| | | | | llvm-svn: 12198 | ||||
* | Fix a minor bug and turn debug output into, well, debug output. | Chris Lattner | 2004-03-07 | 1 | -2/+2 |
| | | | | llvm-svn: 12195 | ||||
* | New LLVM pass: argument promotion. This version only handles simple scalar | Chris Lattner | 2004-03-07 | 1 | -0/+328 |
variables. llvm-svn: 12193 |