aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar/DeadStoreElimination.cpp
AgeCommit message (Expand)Author
2012-02-28Reverted r152620 - DSE: Shorten memset when a later store overwrites the star...Pete Cooper
2012-02-28DSE: Shorten memset when a later store overwrites the start of itPete Cooper
2012-02-07Convert assert(0) to llvm_unreachableCraig Topper
2011-12-08Fix infinite loop in DSE when deleting a free in a reachable loop that's alsoNick Lewycky
2011-12-03Fixed deadstoreelimination bug where negative indices were incorrectly causin...Pete Cooper
2011-11-16Merge isObjectPointerWithTrustworthySize with getPointerSize. Use it whenNick Lewycky
2011-11-10Fixed bug in DeadStoreElimination commit r144239Pete Cooper
2011-11-09DeadStoreElimination can now trim the size of a store if the end of the store...Pete Cooper
2011-11-05Do simple cross-block DSE when we encounter a free statement. Fixes PR11240.Nick Lewycky
2011-11-04Speculatively revert "DeadStoreElimination can now trim the size of a store ifDaniel Dunbar
2011-11-03DeadStoreElimination can now trim the size of a store if the end of it is dead.Pete Cooper
2011-10-22A non-escaping malloc in the entry block is not unlike an alloca. Do dead-storeNick Lewycky
2011-10-13Enhance the memdep interface so that users can tell the difference between a ...Eli Friedman
2011-09-13Add comment to clarify the behavior of a helper in DSE.Eli Friedman
2011-09-06Try again at r138809 (make DSE more aggressive in removing dead stores at the...Owen Anderson
2011-08-30Speculatively revert r138809 in an attempt to fix DragonEgg.Owen Anderson
2011-08-30When walking backwards to eliminate final stores to allocas at the end of a f...Owen Anderson
2011-08-17Atomic load/store handling for the passes using memdep (GVN, DSE, memcpyopt).Eli Friedman
2011-07-27Misc mid-level changes for new 'fence' instruction.Eli Friedman
2011-07-18land David Blaikie's patch to de-constify Type, with a few tweaks.Chris Lattner
2011-06-15Add "unknown" results for memdep, which mean "I don't know whether a dependen...Eli Friedman
2011-04-15Fix a ton of comment typos found by codespell. Patch byChris Lattner
2011-03-30* The DSE code that tested for overlapping needed to take into account the factBill Wendling
2011-03-29DSE: Remove an early exit optimization that depended on the ordering of a Sma...Benjamin Kramer
2011-03-26Simplification noticed by Frits.Bill Wendling
2011-03-26Rework the logic that determines if a store completely overlaps an ealier store.Bill Wendling
2011-03-26PR9561: A store with a negative offset (via GEP) could erroniously say that itBill Wendling
2011-01-24Give GetUnderlyingObject a TargetData, to keep it in syncDan Gohman
2011-01-18Remove code for updating dominance frontiers and some outdated references toCameron Zwarich
2010-12-15Move Value::getUnderlyingObject to be a standaloneDan Gohman
2010-12-06Use a stronger predicate here, pointed out by DuncanChris Lattner
2010-12-06add some DEBUG statements.Chris Lattner
2010-12-06Fix PR8728, a miscompilation I recently introduced. When optimizingChris Lattner
2010-11-30Enhance DSE to handle the variable index case in PR8657.Chris Lattner
2010-11-30teach DSE to use GetPointerBaseWithConstantOffset to analyzeChris Lattner
2010-11-30Make DeleteDeadInstruction be a static function, move some code around.Chris Lattner
2010-11-30switch RemoveAccessedObjects to use AliasAnalysis::Location to simplifyChris Lattner
2010-11-30two improvements to RemoveAccessedObjects:Chris Lattner
2010-11-30remove the "undead" terminology, which is nonstandard and never Chris Lattner
2010-11-30move call handling in handleEndBlock up a bit, and simplify it.Chris Lattner
2010-11-30various cleanups and code simplificationChris Lattner
2010-11-30make getPointerSize a static function. Add ivars to DSE forChris Lattner
2010-11-30reduce indentation, clean up TD use a bit.Chris Lattner
2010-11-30enhance isRemovable to refuse to delete volatile mem transfersChris Lattner
2010-11-30Rewrite the main DSE loop to be written in terms of reasoningChris Lattner
2010-11-30rename a function and reduce some indentation, no functionality change.Chris Lattner
2010-11-30rename doesClobberMemory -> hasMemoryWrite to be more specific, andChris Lattner
2010-11-30clean up handling of 'free', detangling it from everything else.Chris Lattner
2010-11-30Teach basicaa that memset's modref set is at worst "mod" and neverChris Lattner
2010-11-30my previous patch would cause us to start deleting some volatileChris Lattner