aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms
AgeCommit message (Expand)Author
2010-12-11Factor the (x & 2^n) ? 2^m : 0 instcombine into its own method and generalize itBenjamin Kramer
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-09Really check that the bits that will become zero are actually already zeroDan Gohman
2010-12-07reapply r121100 with a tweak to constant fold ConstExprs with TargetDataChris Lattner
2010-12-07Temporarily revert r121100 as it's causing clang to failEric Christopher
2010-12-07fix PR8710 - teach global opt that some constantexprs are too complex toChris Lattner
2010-12-06Implement jump threading of 'indirectbr' by keeping track of whether we're lo...Frits van Bommel
2010-12-06Fix PR8728, a miscompilation I recently introduced. When optimizingChris Lattner
2010-12-05Teach SimplifyCFG to turnFrits 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-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-30Fix a typo.Anders Carlsson
2010-11-30Rename this test to FPuts.ll since it actually tests fputs.Anders Carlsson
2010-11-30remove a use of llvm-disChris Lattner
2010-11-30merge one more awayChris Lattner
2010-11-30I already merged partial-overwrite.ll -> PartialStore.llChris Lattner
2010-11-30clean up DSE tests, removing some poorly reduced and useless old test,Chris Lattner
2010-11-30enhance basicaa to return "Mod" for a memcpy call when theChris 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-29Fix some broken CHECK lines.Benjamin Kramer
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-29Update this test to keep testing the -instcombine transform it's supposed to ...Frits van Bommel
2010-11-29Teach ConstantFoldInstruction() how to fold insertvalue and extractvalue.Frits van Bommel
2010-11-24Treat a call of function pointer like a load of the pointer when consideringNick Lewycky
2010-11-23The srem -> urem transform is not safe for any divisor that's not a power of ...Benjamin Kramer
2010-11-23InstCombine: Reduce "X shift (A srem B)" to "X shift (A urem B)" iff B is pos...Benjamin Kramer
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-21Add a rather pointless InstructionSimplify transform, inspired by recent cons...Duncan Sands
2010-11-21implement PR8576, deleting dead stores with intervening may-alias stores.Chris Lattner
2010-11-21file checkizeChris Lattner
2010-11-21optimize:Chris Lattner
2010-11-21Implement PR8644: forwarding a memcpy value to a byval,Chris Lattner
2010-11-19Add a test for CodeGenPrepare's ability to look through PHI nodes when perfor...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-18Add support for PHI-translating sext, zext, and trunc instructions,Dan Gohman
2010-11-18remove a pointless restriction from memcpyopt. It wasChris Lattner
2010-11-18filecheckize, this is still not optimal, see PR8643Chris 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