aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms
AgeCommit message (Expand)Author
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-30remove the pointless check of MemoryUseIntrinsic fromChris 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-29Transform (extractvalue (load P), ...) to (load (gep P, 0, ...)) if the load ...Frits van Bommel
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-23Rename SimplifyDistributed to the more meaningfull name SimplifyByFactorizing.Duncan Sands
2010-11-23The srem -> urem transform is not safe for any divisor that's not a power of ...Benjamin Kramer
2010-11-23Replace calls to ConstantFoldInstruction with calls to SimplifyInstructionDuncan Sands
2010-11-23Constant folding here is pointless, because InstructionSimplifyDuncan Sands
2010-11-23InstCombine: Reduce "X shift (A srem B)" to "X shift (A urem B)" iff B is pos...Benjamin Kramer
2010-11-23Propagate LeftDistributes and RightDistributes into their only uses.Duncan Sands
2010-11-23Fix typo pointed out by Frits van Bommel and Marius Wachtler.Duncan Sands
2010-11-23Exploit distributive laws (eg: And distributes over Or, Mul over Add, etc) in aDuncan Sands
2010-11-23duncan's spider sense was right, I completely reversed the conditionChris Lattner
2010-11-22InstCombine: Implement X - A*-B -> X + A*B.Benjamin Kramer
2010-11-22If a GEP index simply advances by multiples of a type of zero size,Duncan Sands
2010-11-22Move the "gep undef" -> "undef" transform from instcombine toDuncan Sands
2010-11-22Don't keep track of inserted phis in PromoteMemoryToRegister: the informationDuncan 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-21optimize: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
2010-11-19When folding addressing modes in CodeGenPrepare, attempt to look through PHI ...Owen Anderson
2010-11-18Factor code for testing whether replacing one value with anotherDuncan Sands
2010-11-18Completely rework the datastructure GVN uses to represent the value number to...Owen Anderson
2010-11-18slightly simplify code and substantially improve comment. Instead of Chris Lattner
2010-11-18remove a pointless restriction from memcpyopt. It wasChris Lattner
2010-11-18remove another pointless noalias check: M is a memcpy, so theChris Lattner
2010-11-18use AA::isNoAlias instead of open coding it. Remove an extraneous noalias ch...Chris Lattner
2010-11-18finish a thought.Chris Lattner
2010-11-18rearrange some code, splitting memcpy/memcpy optimizationChris Lattner
2010-11-18allow eliminating an alloca that is just copied from an constant globalChris Lattner
2010-11-18enhance the "alloca is just a memcpy from constant global"Chris Lattner
2010-11-18fix a small oversight in the "eliminate memcpy from constant global"Chris Lattner
2010-11-17Move SCEV::dominates and properlyDominates to ScalarEvolution.Dan Gohman
2010-11-17Move SCEV::isLoopInvariant and hasComputableLoopEvolution to be memberDan Gohman
2010-11-17Reference ScalarEvolution by name rather than directly in LICM,Dan Gohman
2010-11-17InstCombine: Add a missing irem identity (X % X -> 0).Benjamin Kramer
2010-11-17Move some those Xor simplifications which don't require creating newDuncan Sands