| Commit message (Expand) | Author | Age | Files | Lines |
* | Fix PR8790, another instance where unreachable code can cause instruction sim... | Owen Anderson | 2010-12-15 | 1 | -1/+6 |
* | Cleanup trailing whitespace. | Owen Anderson | 2010-12-15 | 1 | -27/+27 |
* | - Insert new instructions before DomBlock's terminator, | Chris Lattner | 2010-12-14 | 1 | -7/+16 |
* | fix two significant issues with FoldTwoEntryPHINode: | Chris Lattner | 2010-12-14 | 1 | -1/+11 |
* | remove the instsimplify logic I added in r121754. It is apparently | Chris Lattner | 2010-12-14 | 1 | -11/+1 |
* | clean up logic, convert std::set to SmallPtrSet, handle the case | Chris Lattner | 2010-12-14 | 1 | -56/+61 |
* | tidy up a bit, move DEBUG down to when we commit to doing the transform so we | Chris Lattner | 2010-12-14 | 1 | -7/+5 |
* | use SimplifyInstruction instead of reimplementing part of it. | Chris Lattner | 2010-12-14 | 1 | -10/+7 |
* | simplify GetIfCondition by using getSinglePredecessor. | Chris Lattner | 2010-12-14 | 1 | -28/+24 |
* | use AddPredecessorToBlock in 3 places instead of a manual loop. | Chris Lattner | 2010-12-14 | 1 | -18/+6 |
* | make FoldTwoEntryPHINode use instsimplify a bit, make | Chris Lattner | 2010-12-14 | 1 | -12/+21 |
* | remove the dead (and terrible) llvm::RemoveSuccessor function. | Chris Lattner | 2010-12-14 | 1 | -46/+0 |
* | improve DEBUG's a bit, switch to eraseFromParent() to simplify | Chris Lattner | 2010-12-14 | 1 | -26/+28 |
* | reapply my recent change that disables a piece of the switch formation | Chris Lattner | 2010-12-14 | 1 | -5/+13 |
* | Fix recent buildbot breakage by pulling SimplifyCFG back to its state as of r... | Owen Anderson | 2010-12-13 | 1 | -14/+6 |
* | temporarily disable part of my previous patch, which causes an iterator inval... | Chris Lattner | 2010-12-13 | 1 | -1/+1 |
* | add some DEBUG's. | Chris Lattner | 2010-12-13 | 1 | -3/+8 |
* | Fix sort predicate. qsort(3)'s predicate semantics differ from std::sort's. F... | Benjamin Kramer | 2010-12-13 | 1 | -1/+1 |
* | reinstate my patch: the miscompile was caused by an inverted branch in the | Chris Lattner | 2010-12-13 | 1 | -3/+6 |
* | Completely disable the optimization I added in r121680 until | Chris Lattner | 2010-12-13 | 1 | -3/+6 |
* | Make simplifycfg reprocess newly formed "br (cond1 | cond2)" conditions | Chris Lattner | 2010-12-13 | 1 | -5/+12 |
* | make this logic a bit simpler. | Chris Lattner | 2010-12-13 | 1 | -21/+20 |
* | split all the guts of SimplifyCFGOpt::run out into one function | Chris Lattner | 2010-12-13 | 1 | -374/+441 |
* | fix a bug in r121680 that upset the various buildbots. | Chris Lattner | 2010-12-13 | 1 | -0/+7 |
* | refactor the speculative execution logic to be factored into the cond branch ... | Chris Lattner | 2010-12-13 | 1 | -26/+22 |
* | simplify a bunch of code. | Chris Lattner | 2010-12-13 | 1 | -15/+4 |
* | move HoistThenElseCodeToIf up to a more logical and efficient-to-handle place. | Chris Lattner | 2010-12-13 | 1 | -7/+11 |
* | move 'MergeBlocksIntoPredecessor' call earlier. Use | Chris Lattner | 2010-12-13 | 1 | -20/+9 |
* | factor new code out to a SimplifyBranchOnICmpChain helper function. | Chris Lattner | 2010-12-13 | 1 | -77/+91 |
* | enhance the "change or icmp's into switch" xform to handle one value in an | Chris Lattner | 2010-12-13 | 1 | -3/+45 |
* | merge two very similar functions into one that has a bool argument. | Chris Lattner | 2010-12-13 | 1 | -47/+26 |
* | don't bother handling non-canonical icmp's | Chris Lattner | 2010-12-13 | 1 | -11/+9 |
* | inline a function, making the result much simpler. | Chris Lattner | 2010-12-13 | 1 | -27/+11 |
* | Fix my previous patch to handle a degenerate case that the llvm-gcc | Chris Lattner | 2010-12-13 | 1 | -0/+16 |
* | convert some methods to be static functions | Chris Lattner | 2010-12-13 | 1 | -25/+23 |
* | zap two more std::sorts. | Chris Lattner | 2010-12-13 | 1 | -2/+2 |
* | fix a fairly serious oversight with switch formation from | Chris Lattner | 2010-12-13 | 1 | -1/+97 |
* | simplify code and reduce indentation | Chris Lattner | 2010-12-13 | 1 | -32/+30 |
* | convert an std::sort to array_pod_sort. | Chris Lattner | 2010-12-13 | 1 | -2/+8 |
* | move the "br (X == 0 | X == 1), T, F" -> switch optimization to a new | Chris Lattner | 2010-12-13 | 1 | -57/+56 |
* | reduce indentation and generally simplify code, no functionality change. | Chris Lattner | 2010-12-13 | 1 | -333/+309 |
* | use getFirstNonPHIOrDbg to simplify this code. | Chris Lattner | 2010-12-13 | 1 | -9/+5 |
* | Generalize the and-icmp-select instcombine further by allowing selects of the... | Benjamin Kramer | 2010-12-11 | 1 | -4/+22 |
* | Factor the (x & 2^n) ? 2^m : 0 instcombine into its own method and generalize it | Benjamin Kramer | 2010-12-11 | 1 | -26/+54 |
* | enhance memcpyopt to zap memcpy's that have the same src/dst. | Chris Lattner | 2010-12-09 | 1 | -4/+13 |
* | fix PR8753, eliminating a case where we'd infinitely make a | Chris Lattner | 2010-12-09 | 1 | -0/+8 |
* | Really check that the bits that will become zero are actually already zero | Dan Gohman | 2010-12-09 | 1 | -2/+1 |
* | Remove some dead code from the jump threading pass. | Frits van Bommel | 2010-12-07 | 1 | -141/+0 |
* | PR5207: Change APInt methods trunc(), sext(), zext(), sextOrTrunc() and | Jay Foad | 2010-12-07 | 4 | -31/+28 |
* | reapply r121100 with a tweak to constant fold ConstExprs with TargetData | Chris Lattner | 2010-12-07 | 1 | -8/+95 |