summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/SCCVN.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SCCVN, we hardly knew ye!Owen Anderson2010-04-131-716/+0
| | | | llvm-svn: 101117
* Use do+while instead of while for loops which obviously have aDan Gohman2010-01-051-2/+1
| | | | | | non-zero trip count. Use SmallVector's pop_back_val(). llvm-svn: 92734
* Eliminte unnecessary uses of <cstdio>.Dan Gohman2009-12-181-1/+0
| | | | llvm-svn: 91666
* Remove isPod() from DenseMapInfo, splitting it out to its ownChris Lattner2009-12-151-1/+3
| | | | | | | | isPodLike type trait. This is a generally useful type trait for more than just DenseMap, and we really care about whether something acts like a pod, not whether it really is a pod. llvm-svn: 91421
* Remove unnecessary #include "llvm/LLVMContext.h".Nick Lewycky2009-12-081-1/+0
| | | | llvm-svn: 90836
* Re-enable this code, since redundant PHIs are now being better nuked.Owen Anderson2009-11-121-4/+0
| | | | llvm-svn: 87042
* Fix DenseMap iterator constness.Jeffrey Yasskin2009-11-101-1/+1
| | | | | | | | | | | | | | | | | | | This patch forbids implicit conversion of DenseMap::const_iterator to DenseMap::iterator which was possible because DenseMapIterator inherited (publicly) from DenseMapConstIterator. Conversion the other way around is now allowed as one may expect. The template DenseMapConstIterator is removed and the template parameter IsConst which specifies whether the iterator is constant is added to DenseMapIterator. Actually IsConst parameter is not necessary since the constness can be determined from KeyT but this is not relevant to the fix and can be addressed later. Patch by Victor Zverovich! llvm-svn: 86636
* No newline at end of file.Edward O'Callaghan2009-10-281-1/+1
| | | | llvm-svn: 85390
* Add a straight-forward implementation of SCCVN for aggressively eliminating ↵Owen Anderson2009-10-261-0/+721
scalar redundancies. llvm-svn: 85179
OpenPOWER on IntegriCloud