aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms
Commit message (Expand)AuthorAgeFilesLines
* add some DEBUG's.Chris Lattner2010-12-131-3/+8
* Fix sort predicate. qsort(3)'s predicate semantics differ from std::sort's. F...Benjamin Kramer2010-12-131-1/+1
* reinstate my patch: the miscompile was caused by an inverted branch in theChris Lattner2010-12-131-3/+6
* Completely disable the optimization I added in r121680 untilChris Lattner2010-12-131-3/+6
* Make simplifycfg reprocess newly formed "br (cond1 | cond2)" conditionsChris Lattner2010-12-131-5/+12
* make this logic a bit simpler.Chris Lattner2010-12-131-21/+20
* split all the guts of SimplifyCFGOpt::run out into one functionChris Lattner2010-12-131-374/+441
* fix a bug in r121680 that upset the various buildbots.Chris Lattner2010-12-131-0/+7
* refactor the speculative execution logic to be factored into the cond branch ...Chris Lattner2010-12-131-26/+22
* simplify a bunch of code.Chris Lattner2010-12-131-15/+4
* move HoistThenElseCodeToIf up to a more logical and efficient-to-handle place.Chris Lattner2010-12-131-7/+11
* move 'MergeBlocksIntoPredecessor' call earlier. UseChris Lattner2010-12-131-20/+9
* factor new code out to a SimplifyBranchOnICmpChain helper function.Chris Lattner2010-12-131-77/+91
* enhance the "change or icmp's into switch" xform to handle one value in an Chris Lattner2010-12-131-3/+45
* merge two very similar functions into one that has a bool argument.Chris Lattner2010-12-131-47/+26
* don't bother handling non-canonical icmp'sChris Lattner2010-12-131-11/+9
* inline a function, making the result much simpler.Chris Lattner2010-12-131-27/+11
* Fix my previous patch to handle a degenerate case that the llvm-gccChris Lattner2010-12-131-0/+16
* convert some methods to be static functionsChris Lattner2010-12-131-25/+23
* zap two more std::sorts.Chris Lattner2010-12-131-2/+2
* fix a fairly serious oversight with switch formation fromChris Lattner2010-12-131-1/+97
* simplify code and reduce indentationChris Lattner2010-12-131-32/+30
* convert an std::sort to array_pod_sort.Chris Lattner2010-12-131-2/+8
* move the "br (X == 0 | X == 1), T, F" -> switch optimization to a newChris Lattner2010-12-131-57/+56
* reduce indentation and generally simplify code, no functionality change.Chris Lattner2010-12-131-333/+309
* use getFirstNonPHIOrDbg to simplify this code.Chris Lattner2010-12-131-9/+5
* Generalize the and-icmp-select instcombine further by allowing selects of the...Benjamin Kramer2010-12-111-4/+22
* Factor the (x & 2^n) ? 2^m : 0 instcombine into its own method and generalize itBenjamin Kramer2010-12-111-26/+54
* enhance memcpyopt to zap memcpy's that have the same src/dst.Chris Lattner2010-12-091-4/+13
* fix PR8753, eliminating a case where we'd infinitely make a Chris Lattner2010-12-091-0/+8
* Really check that the bits that will become zero are actually already zeroDan Gohman2010-12-091-2/+1
* Remove some dead code from the jump threading pass.Frits van Bommel2010-12-071-141/+0
* PR5207: Change APInt methods trunc(), sext(), zext(), sextOrTrunc() andJay Foad2010-12-074-31/+28
* reapply r121100 with a tweak to constant fold ConstExprs with TargetDataChris Lattner2010-12-071-8/+95
* Temporarily revert r121100 as it's causing clang to failEric Christopher2010-12-071-85/+5
* fix PR8710 - teach global opt that some constantexprs are too complex toChris Lattner2010-12-071-5/+85
* Implement jump threading of 'indirectbr' by keeping track of whether we're lo...Frits van Bommel2010-12-061-46/+80
* replace a linear scan with a symtab lookup, reduce indentation.Chris Lattner2010-12-061-38/+38
* Use a stronger predicate here, pointed out by DuncanChris Lattner2010-12-061-1/+1
* add some DEBUG statements.Chris Lattner2010-12-061-3/+14
* Fix PR8735, a really terrible problem in the inliner's "alloca merging"Chris Lattner2010-12-061-3/+19
* improve commentChris Lattner2010-12-061-2/+1
* improve -debug output and comments a little.Chris Lattner2010-12-061-3/+5
* Fix PR8728, a miscompilation I recently introduced. When optimizingChris Lattner2010-12-061-5/+62
* Refactor jump threading.Frits van Bommel2010-12-051-69/+73
* Remove trailing whitespace.Frits van Bommel2010-12-051-208/+208
* Teach SimplifyCFG to turnFrits van Bommel2010-12-051-2/+72
* PR5207: Rename overloaded APInt methods set(), clear(), flip() toJay Foad2010-12-013-21/+21
* fix a bozo bug I introduced in r119930, causing a miscompile ofChris Lattner2010-12-011-1/+2
* Enhance DSE to handle the variable index case in PR8657.Chris Lattner2010-11-301-2/+31