aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms
AgeCommit message (Expand)Author
2010-12-13merge two very similar functions into one that has a bool argument.Chris Lattner
2010-12-13don't bother handling non-canonical icmp'sChris Lattner
2010-12-13inline a function, making the result much simpler.Chris Lattner
2010-12-13Fix my previous patch to handle a degenerate case that the llvm-gccChris Lattner
2010-12-13convert some methods to be static functionsChris Lattner
2010-12-13zap two more std::sorts.Chris Lattner
2010-12-13fix a fairly serious oversight with switch formation fromChris Lattner
2010-12-13simplify code and reduce indentationChris Lattner
2010-12-13convert an std::sort to array_pod_sort.Chris Lattner
2010-12-13move the "br (X == 0 | X == 1), T, F" -> switch optimization to a newChris Lattner
2010-12-13reduce indentation and generally simplify code, no functionality change.Chris Lattner
2010-12-13use getFirstNonPHIOrDbg to simplify this code.Chris Lattner
2010-12-11Generalize the and-icmp-select instcombine further by allowing selects of the...Benjamin Kramer
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-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-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-06replace a linear scan with a symtab lookup, reduce indentation.Chris Lattner
2010-12-06Use a stronger predicate here, pointed out by DuncanChris Lattner
2010-12-06add some DEBUG statements.Chris Lattner
2010-12-06Fix PR8735, a really terrible problem in the inliner's "alloca merging"Chris Lattner
2010-12-06improve commentChris Lattner
2010-12-06improve -debug output and comments a little.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-05Teach SimplifyCFG to turnFrits van Bommel
2010-12-01PR5207: Rename overloaded APInt methods set(), clear(), flip() toJay Foad
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