| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Tidy up several unbeseeming casts from pointer to intptr_t. | Dan Gohman | 2008-09-04 | 1 | -1/+1 |
| | | | | | llvm-svn: 55779 | ||||
| * | Update comments and documentation to reflect that GCSE and ValueNumbering are | Matthijs Kooijman | 2008-06-05 | 1 | -0/+3 |
| | | | | | | | deprecated by the GVN and GVNPRE passes. llvm-svn: 51983 | ||||
| * | API change for {BinaryOperator|CmpInst|CastInst}::create*() --> Create. ↵ | Gabor Greif | 2008-05-16 | 1 | -6/+6 |
| | | | | | | | Legacy interfaces will be in place for some time. (Merge from use-diet branch.) llvm-svn: 51200 | ||||
| * | Fix a bunch of 80col violations that arose from the Create API change. Tweak ↵ | Gabor Greif | 2008-05-15 | 1 | -3/+4 |
| | | | | | | | makefile targets to find these better. llvm-svn: 51143 | ||||
| * | Clean up the use of static and anonymous namespaces. This turned up | Dan Gohman | 2008-05-13 | 1 | -0/+7 |
| | | | | | | | | several things that were neither in an anonymous namespace nor static but not intended to be global. llvm-svn: 51017 | ||||
| * | API changes for class Use size reduction, wave 1. | Gabor Greif | 2008-04-06 | 1 | -16/+16 |
| | | | | | | | | | Specifically, introduction of XXX::Create methods for Users that have a potentially variable number of Uses. llvm-svn: 49277 | ||||
| * | Make Transforms to be 4.3 warnings-clean | Anton Korobeynikov | 2008-02-20 | 1 | -5/+7 |
| | | | | | llvm-svn: 47371 | ||||
| * | Remove attribution from file headers, per discussion on llvmdev. | Chris Lattner | 2007-12-29 | 1 | -2/+2 |
| | | | | | llvm-svn: 45418 | ||||
| * | explicit keywords. | Dan Gohman | 2007-09-24 | 1 | -1/+1 |
| | | | | | llvm-svn: 42262 | ||||
| * | Merge DenseMapKeyInfo & DenseMapValueInfo into DenseMapInfo | Chris Lattner | 2007-09-17 | 1 | -1/+4 |
| | | | | | | | | Add a new DenseMapInfo::isEqual method to allow clients to redefine the equality predicate used when probing the hash table. llvm-svn: 42042 | ||||
| * | Update GEP constructors to use an iterator interface to fix | David Greene | 2007-09-04 | 1 | -2/+2 |
| | | | | | | | GLIBCXX_DEBUG issues. llvm-svn: 41697 | ||||
| * | Fix 80 col. violations. | Owen Anderson | 2007-08-02 | 1 | -8/+14 |
| | | | | | llvm-svn: 40751 | ||||
| * | Fix a bug where we were marking GEP expressions with the wrong opcode. | Owen Anderson | 2007-07-20 | 1 | -1/+1 |
| | | | | | llvm-svn: 40085 | ||||
| * | Make val_replace fail early, which reduces the time to optimize 403.gcc to ↵ | Owen Anderson | 2007-07-19 | 1 | -0/+2 |
| | | | | | | | 14.8s. llvm-svn: 40064 | ||||
| * | Use SmallVector and DenseMap in even more places. | Owen Anderson | 2007-07-19 | 1 | -27/+26 |
| | | | | | | | With this, the time to optimize 403.gcc is down to 15.1s. llvm-svn: 40042 | ||||
| * | Change ValueTable to use a DenseMap for mapping expressions to value numbers. | Owen Anderson | 2007-07-19 | 1 | -78/+122 |
| | | | | | | | This results in a slight speedup for 403.gcc. llvm-svn: 40040 | ||||
| * | Move some sets and maps to SmallPtrSet and DenseMap respectively. This | Owen Anderson | 2007-07-19 | 1 | -8/+7 |
| | | | | | | | reduces the time to optimize 403.gcc from 17.6s to 16.4s. llvm-svn: 40036 | ||||
| * | Make the pass registration static. | Owen Anderson | 2007-07-10 | 1 | -2/+2 |
| | | | | | llvm-svn: 38508 | ||||
| * | Move some key maps from std::map to DenseMap. This improves the time to ↵ | Owen Anderson | 2007-07-10 | 1 | -4/+8 |
| | | | | | | | | | optimize Anton's testcase from 17.5s to 15.7s. llvm-svn: 38480 | ||||
| * | Use a cheaper test, delaying calling find_leader() until we know that it's ↵ | Owen Anderson | 2007-07-10 | 1 | -3/+5 |
| | | | | | | | | | necessary. This improves the time to optimize Anton's testcase from 21.1s to 17.6s. llvm-svn: 38479 | ||||
| * | Add an assertion if find_leader fails. | Owen Anderson | 2007-07-09 | 1 | -0/+1 |
| | | | | | llvm-svn: 38477 | ||||
| * | Take advantage of the new fast SmallPtrSet assignment operator when ↵ | Owen Anderson | 2007-07-09 | 1 | -20/+6 |
| | | | | | | | | | propagating AVAIL_OUT sets. This reduces the time to optimize Anton's testcase from 31.2s to 21.s! llvm-svn: 38475 | ||||
| * | Fix a comment. | Owen Anderson | 2007-07-09 | 1 | -1/+1 |
| | | | | | llvm-svn: 38459 | ||||
| * | Improve a hotspot that was making build_sets() slower by calling lookup() too | Owen Anderson | 2007-07-09 | 1 | -27/+30 |
| | | | | | | | often. This improves Anton's testcase from 36s to 32s. llvm-svn: 38441 | ||||
| * | Start using a set representation that remembers the set of value numbers ↵ | Owen Anderson | 2007-07-09 | 1 | -141/+176 |
| | | | | | | | | | | represented in the set. For the moment, this results in a slight performance decrease, but it lays the groundwork for future improvements. llvm-svn: 38439 | ||||
| * | Fix an error where ANTIC_OUT was ending up with more than one expression of | Owen Anderson | 2007-07-07 | 1 | -1/+1 |
| | | | | | | | the same value number. This fixes an infinite loop on 444.namd. llvm-svn: 37967 | ||||
| * | Be more aggressive in the heuristic. This mostly exposes more opportunities | Owen Anderson | 2007-07-06 | 1 | -8/+16 |
| | | | | | | | for the GVN part of GVNPRE to apply. llvm-svn: 37951 | ||||
| * | Achieve what the incorrect test was trying to do by simply requiring that all | Owen Anderson | 2007-07-06 | 1 | -6/+1 |
| | | | | | | | critical edges be split before we begin. llvm-svn: 37949 | ||||
| * | Remove an incorrect check. | Owen Anderson | 2007-07-06 | 1 | -5/+0 |
| | | | | | llvm-svn: 37948 | ||||
| * | Fix a bunch of issues found in a testcase from 400.perlbench. | Owen Anderson | 2007-07-05 | 1 | -16/+19 |
| | | | | | llvm-svn: 37929 | ||||
| * | Fix another bug, this time in PREing select instructions. | Owen Anderson | 2007-07-04 | 1 | -2/+1 |
| | | | | | llvm-svn: 37878 | ||||
| * | Fix a typo that was killing GVNPRE of select instructions. | Owen Anderson | 2007-07-04 | 1 | -1/+1 |
| | | | | | llvm-svn: 37871 | ||||
| * | Fix an error in phi translation of GEPs that was causing failures. | Owen Anderson | 2007-07-04 | 1 | -1/+1 |
| | | | | | llvm-svn: 37868 | ||||
| * | Add support for performing GVNPRE on GEP instructions. | Owen Anderson | 2007-07-03 | 1 | -5/+162 |
| | | | | | llvm-svn: 37862 | ||||
| * | Add functionality to value number GEP instructions. This also provides the ↵ | Owen Anderson | 2007-07-03 | 1 | -2/+32 |
| | | | | | | | | | infrastructure that will be used for function calls. NOTE: This does not yet do any transformation of GEPs or function calls. llvm-svn: 37860 | ||||
| * | Make the unary operator case a bit faster, since casts are the only kind of ↵ | Owen Anderson | 2007-07-03 | 1 | -10/+4 |
| | | | | | | | unary operation. llvm-svn: 37857 | ||||
| * | Add support for performing GVNPRE on cast instructions, and add a testcase ↵ | Owen Anderson | 2007-07-03 | 1 | -18/+116 |
| | | | | | | | for this. llvm-svn: 37856 | ||||
| * | Add support for value numbering (but not actually optimizing) cast instructions. | Owen Anderson | 2007-06-29 | 1 | -1/+65 |
| | | | | | llvm-svn: 37789 | ||||
| * | Add a type field to expressions in preparation for performing GVNPRE on casts. | Owen Anderson | 2007-06-29 | 1 | -0/+12 |
| | | | | | llvm-svn: 37788 | ||||
| * | Add support for performing GVNPRE on select instructions. This fixes ↵ | Owen Anderson | 2007-06-28 | 1 | -13/+57 |
| | | | | | | | test/Transforms/GVNPRE/select.ll. llvm-svn: 37783 | ||||
| * | Make many sets a much more reasonable size. This decreases the time to optimize | Owen Anderson | 2007-06-28 | 1 | -65/+65 |
| | | | | | | | Anton's testcase from 35.5s to 34.7s. llvm-svn: 37769 | ||||
| * | Use cached information that has already been computed to make clean() ↵ | Owen Anderson | 2007-06-27 | 1 | -52/+31 |
| | | | | | | | simpler and faster. This is a small speedup on most cases. llvm-svn: 37761 | ||||
| * | Fold a lot of code into two cases: binary instructions and ternary instructions. | Owen Anderson | 2007-06-27 | 1 | -269/+62 |
| | | | | | | | This saves many lines of code duplication. No functionality change. llvm-svn: 37759 | ||||
| * | Add support for performing GVNPRE on the three vector-specific operations. | Owen Anderson | 2007-06-27 | 1 | -20/+436 |
| | | | | | llvm-svn: 37745 | ||||
| * | 1. Correct some comments and clean up some dead code. | Owen Anderson | 2007-06-26 | 1 | -21/+26 |
| | | | | | | | | 2. When calculating ANTIC_IN, only iterate the changed blocks. For most average inputs this is a small speedup, but for cases with unusual CFGs, this can be a significant win. llvm-svn: 37742 | ||||
| * | Use the built-in postorder iterators rather than computing a postorder walk ↵ | Owen Anderson | 2007-06-25 | 1 | -35/+3 |
| | | | | | | | by hand. llvm-svn: 37721 | ||||
| * | 1) Fix an issue with non-deterministic iteration order in phi_translate | Owen Anderson | 2007-06-25 | 1 | -111/+86 |
| | | | | | | | | | | | | 2) Remove some maximal-set computing code that is no longer used. 3) Use a post-order CFG traversal to compute ANTIC_IN instead of a postdom traversal. This causes the ANTIC_IN calculation to converge much faster. Thanks to Daniel Berlin for suggesting this. With this patch, the time to optimize 403.gcc decreased from 17.5s to 7.5s, and Anton's huge testcase decreased from 62 minutes to 38 seconds. llvm-svn: 37714 | ||||
| * | Fix a silly mistake that was causing failures. | Owen Anderson | 2007-06-24 | 1 | -2/+2 |
| | | | | | llvm-svn: 37712 | ||||
| * | Rework topo_sort so eliminate some behavior that scaled terribly. This ↵ | Owen Anderson | 2007-06-22 | 1 | -57/+40 |
| | | | | | | | | | reduces the time to optimize 403.gcc from 18.2s to 17.5s, and has an even larger effect on larger testcases. llvm-svn: 37708 | ||||
| * | Perform fewer set insertions while calculating ANTIC_IN. This reduces the ↵ | Owen Anderson | 2007-06-22 | 1 | -40/+31 |
| | | | | | | | amount of time to optimize 403.gcc from 21.9s to 18.2s. llvm-svn: 37707 | ||||

