aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar
AgeCommit message (Expand)Author
2010-12-15Move Value::getUnderlyingObject to be a standaloneDan Gohman
2010-12-15Teach jump threading to "look through" a select when the branch direction of ...Frits van Bommel
2010-12-15Fix PR8790, another instance where unreachable code can cause instruction sim...Owen Anderson
2010-12-15Cleanup trailing whitespace.Owen Anderson
2010-12-13simplify code and reduce indentationChris Lattner
2010-12-09enhance memcpyopt to zap memcpy's that have the same src/dst.Chris Lattner
2010-12-09fix PR8753, eliminating a case where we'd infinitely make a Chris Lattner
2010-12-07Remove some dead code from the jump threading pass.Frits van Bommel
2010-12-07PR5207: Change APInt methods trunc(), sext(), zext(), sextOrTrunc() andJay Foad
2010-12-06Implement jump threading of 'indirectbr' by keeping track of whether we're lo...Frits van Bommel
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-12-05Refactor jump threading.Frits van Bommel
2010-12-05Remove trailing whitespace.Frits van Bommel
2010-12-01fix a bozo bug I introduced in r119930, causing a miscompile ofChris 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-30move GetPointerBaseWithConstantOffset out of GVN into ValueTracking.hChris Lattner
2010-11-30remove a fixed fixmeChris 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-30Avoid exponential growth of a table. It feels likeDale Johannesen
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-30Add a puts optimization that converts puts() to putchar('\n').Anders Carlsson
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
2010-11-30two changes to DSE that shouldn't affect anything:Chris Lattner
2010-11-29prune an llvmcontext include and simplify some code.Chris Lattner
2010-11-29fix PR8677, patch by Jakub Staszak!Chris Lattner
2010-11-27Second attempt at fixing the performance regressions introducedOwen Anderson
2010-11-24Treat a call of function pointer like a load of the pointer when consideringNick Lewycky
2010-11-23Replace calls to ConstantFoldInstruction with calls to SimplifyInstructionDuncan Sands
2010-11-23Constant folding here is pointless, because InstructionSimplifyDuncan Sands
2010-11-21fix commentChris Lattner
2010-11-21rework some DSE paths to use the newly-public "getPointerDependencyFrom"Chris Lattner
2010-11-21implement PR8576, deleting dead stores with intervening may-alias stores.Chris Lattner
2010-11-21Implement PR8644: forwarding a memcpy value to a byval,Chris Lattner
2010-11-20Simplify code. No change in functionality.Benjamin Kramer
2010-11-19Document the new GVN number table structure.Owen Anderson