aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar
AgeCommit message (Expand)Author
2009-12-18Eliminte unnecessary uses of <cstdio>.Dan Gohman
2009-12-18Add Loop contains utility methods for testing whether a loopDan Gohman
2009-12-18Minor code simplification.Dan Gohman
2009-12-18Don't pass const pointers by reference.Dan Gohman
2009-12-18Reapply LoopStrengthReduce and IVUsers cleanups, excluding the partDan Gohman
2009-12-17Allow instcombine to combine "sext(a) >u const" to "a >u trunc(const)".Eli Friedman
2009-12-17Make the ptrtoint comparison simplification work if one side is a global.Eli Friedman
2009-12-17Slightly generalize transformation of memmove(a,a,n) so that it also appliesEli Friedman
2009-12-17Re-revert 91459. It's breaking the x86_64 darwin bootstrap.Bob Wilson
2009-12-17Revert 91280-91283, 91286-91289, 91291, 91293, 91295-91296. It apparently int...Evan Cheng
2009-12-16Reapply r91459, it was only unmasking the bug, and since TOT is still broken ...Daniel Dunbar
2009-12-16Revert "Reapply 91184 with fixes and an addition to the testcase to cover theDaniel Dunbar
2009-12-16reapply my strstr optimization. I have reproduced the x86-64 bootstrapChris Lattner
2009-12-16revert my strstr optimization, I'm told it breaks x86-64 bootstrap.Chris Lattner
2009-12-15Reapply 91184 with fixes and an addition to the testcase to cover the problemBob Wilson
2009-12-15optimize strstr, PR5783Chris Lattner
2009-12-15Delete an unused function.Dan Gohman
2009-12-15add some other xforms that should be done as part of PR5783Chris Lattner
2009-12-15Remove isPod() from DenseMapInfo, splitting it out to its ownChris Lattner
2009-12-14Fix a thinko; isNotAlreadyContainedIn had a built-in negative, so theDan Gohman
2009-12-14Remove unnecessary #includes.Dan Gohman
2009-12-14Instead of having a ScalarEvolution pointer member in BasedUser, just passDan Gohman
2009-12-14Don't bother cleaning up if there's nothing to clean up.Dan Gohman
2009-12-14Delete an unused variable.Dan Gohman
2009-12-14LSR itself doesn't need LoopInfo.Dan Gohman
2009-12-14LSR itself doesn't need DominatorTree.Dan Gohman
2009-12-14Remove the code in LSR that manually hoists expansions out of loops;Dan Gohman
2009-12-14Minor code cleanups.Dan Gohman
2009-12-14revert r91184, because it causes a crash on a .bc file I justChris Lattner
2009-12-11Revise scalar replacement to be more flexible about handle bitcasts and GEPs.Bob Wilson
2009-12-10Make sure the immediate dominator isn't NULL through iterationsEric Christopher
2009-12-10Fix PR5744, a case where we were getting the pointer size instead of theChris Lattner
2009-12-10allow this to build when the #if 0's are enabled. No functionality change.Chris Lattner
2009-12-09Dereference loopHeader after checking for null rather than before.Dan Gohman
2009-12-09fix hte last remaining known (by me) phi translation bug. When we reanalyzeChris Lattner
2009-12-09change GetStoreValueForLoad to use IRBuilder, which is cleaner andChris Lattner
2009-12-09Fix a comment.Bob Wilson
2009-12-09change AnalyzeLoadFromClobberingMemInst/AnalyzeLoadFromClobberingStoreChris Lattner
2009-12-09change AnalyzeLoadFromClobberingWrite and clients to pass in type Chris Lattner
2009-12-09change NonLocalDepEntry from being a typedef for an std::pair to be itsChris Lattner
2009-12-09add some aborts to #if 0's.Chris Lattner
2009-12-09Switch GVN and memdep to use PHITransAddr, which correctly handlesChris Lattner
2009-12-08Some superficial cleanups.Bob Wilson
2009-12-08Clean up dead operands left around after SROA replaces a mem intrinsic.Bob Wilson
2009-12-08Remove unnecessary #include "llvm/LLVMContext.h".Nick Lewycky
2009-12-06fix PR5698Chris Lattner
2009-12-06constant fold loads from memcpy's from global constants. This is importantChris Lattner
2009-12-06add support for forwarding mem intrinsic values to non-local loads.Chris Lattner
2009-12-06Handle forwarding local memsets to loads. For example, we optimize this:Chris Lattner
2009-12-05Generalize this optimization to work on equality comparisons between any twoNick Lewycky