aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/Scalar
Commit message (Expand)AuthorAgeFilesLines
* Re-enable this code, since redundant PHIs are now being better nuked.Owen Anderson2009-11-121-4/+0
* - Teach LSR to avoid changing cmp iv stride if it will create an immediate thatEvan Cheng2009-11-121-209/+355
* use getPredicateOnEdge to fold comparisons through PHI nodes,Chris Lattner2009-11-121-1/+11
* various fixes to the lattice transfer functions.Chris Lattner2009-11-121-0/+6
* switch jump threading to use getPredicateOnEdge in one placeChris Lattner2009-11-121-10/+13
* with the new code we can thread non-instruction values. ThisChris Lattner2009-11-121-1/+6
* this argument can be an arbitrary value, it doesn't need to be an instruction.Chris Lattner2009-11-121-4/+3
* expose edge information and switch j-t to use it.Chris Lattner2009-11-121-2/+2
* pass TD into a SimplifyCmpInst call. Add another case thatChris Lattner2009-11-111-3/+24
* remove the now dead condprop pass, PR3906.Chris Lattner2009-11-113-294/+0
* stub out some LazyValueInfo interfaces, and have JumpThreadingChris Lattner2009-11-111-18/+45
* add a fixmeChris Lattner2009-11-111-0/+4
* Block terminator may be a switch.Evan Cheng2009-11-111-1/+1
* implement a TODO by teaching jump threading about "xor x, 1".Chris Lattner2009-11-101-2/+14
* move some generally useful functions out of jump threadingChris Lattner2009-11-101-83/+0
* fix a crash in SCCP handling extractvalue of an array, pointed out andChris Lattner2009-11-101-3/+8
* improve comment.Chris Lattner2009-11-101-2/+5
* Make jump threading eliminate blocks that just contain phi nodes,Chris Lattner2009-11-101-0/+21
* Generalize lsr code that optimize loop to count down towards zero.Evan Cheng2009-11-101-80/+126
* Add defensive break.Duncan Sands2009-11-101-0/+1
* Fix obvious typo.Duncan Sands2009-11-101-1/+1
* clarify logic.Chris Lattner2009-11-101-4/+4
* Teach DSE to eliminate useless trampolines.Duncan Sands2009-11-101-6/+19
* Add brackets to make gcc-4.4 happy.Duncan Sands2009-11-101-3/+3
* unify the code that determines whether it is a good idea to change the typeChris Lattner2009-11-101-27/+36
* Simplify.Nick Lewycky2009-11-101-3/+1
* Reapply r86359, "Teach dead store elimination that certain intrinsics write toNick Lewycky2009-11-101-63/+118
* make jump threading recursively simplify expressions instead of doing it Chris Lattner2009-11-101-20/+42
* don't invalidate PN, rewrite of this code is in progress anyway.Chris Lattner2009-11-101-4/+5
* add a new SimplifyInstruction API, which is like ConstantFoldInstruction, Chris Lattner2009-11-101-6/+5
* Fix DenseMap iterator constness.Jeffrey Yasskin2009-11-103-6/+6
* factor simplification logic for AND and OR out to InstSimplify from instcombine.Chris Lattner2009-11-101-85/+34
* pull a bunch of logic out of instcombine into instsimplify for compare Chris Lattner2009-11-091-56/+13
* inline a simple function.Chris Lattner2009-11-091-17/+20
* rename SimplifyCompare -> SimplifyCmpInst and split it into Chris Lattner2009-11-092-1/+2
* use instructionsimplify instead of a weak clone of ad-hoc folding stuff.Chris Lattner2009-11-091-22/+2
* stub out a new form of BasicBlock::RemovePredecessorAndSimplify whichChris Lattner2009-11-091-5/+65
* if a 'with overflow' intrinsic just has the normal result used, simplifyChris Lattner2009-11-091-0/+41
* fix PR5104: when printing a single character, return the result ofChris Lattner2009-11-091-9/+13
* enhance PHI slicing to handle the case when a slicable PHI is beginChris Lattner2009-11-091-74/+167
* Small cleanups.Owen Anderson2009-11-091-8/+4
* Revert my previous patch to ABCD and fix things the right way. There are two...Owen Anderson2009-11-091-13/+28
* comment typos pointed out by DuncanChris Lattner2009-11-091-3/+3
* Fix an issue where the ordering of blocks within a function could lead to dif...Owen Anderson2009-11-081-2/+4
* Teach an instcombine to not pull trunc instructions through PHI nodesChris Lattner2009-11-081-10/+30
* reapply r8644[3-5] with only the scary part Chris Lattner2009-11-081-8/+151
* Speculatively revert r8644[3-5], they seem to be leading to infinite loops inDaniel Dunbar2009-11-081-151/+8
* teach a couple of instcombine transformations involving PHIs toChris Lattner2009-11-081-8/+151
* Improve tail call elimination to handle the switch statement.Nick Lewycky2009-11-071-2/+11
* make instcombine only rewrite a chain of computation Chris Lattner2009-11-071-19/+5