summaryrefslogtreecommitdiff
path: root/lib/Transforms/Utils/SimplifyCFG.cpp
Commit message (Expand)AuthorAge
* SimplifyCFG: Track the number of used icmps when turning a icmp chain into a ...Benjamin Kramer2011-02-07
* SimplifyCFG: Also transform switches that represent a range comparison but ar...Benjamin Kramer2011-02-03
* SimplifyCFG: Turn switches into sub+icmp+branch if possible.Benjamin Kramer2011-02-02
* Re-apply r124518 with fix. Watch out for invalidated iterator.Evan Cheng2011-01-29
* Revert r124518. It broke Linux self-host.Evan Cheng2011-01-29
* Re-commit r124462 with fixes. Tail recursion elim will now dup ret into uncon...Evan Cheng2011-01-29
* Revert r124462. There are a few big regressions that I need to fix first.Evan Cheng2011-01-28
* - Stop simplifycfg from duplicating "ret" instructions into unconditionalEvan Cheng2011-01-28
* Factor the actual simplification out of SimplifyIndirectBrOnSelect and into a...Frits van Bommel2011-01-11
* simplify this a bit.Chris Lattner2010-12-18
* SimplifyCFG: Ranges can be larger than 64 bits. Fixes Release-selfhost build.Benjamin Kramer2010-12-17
* improve switch formation to handle small range Chris Lattner2010-12-17
* make qsort predicate more conformant by returning 0 for equal values.Chris Lattner2010-12-15
* - Insert new instructions before DomBlock's terminator,Chris Lattner2010-12-14
* fix two significant issues with FoldTwoEntryPHINode:Chris Lattner2010-12-14
* remove the instsimplify logic I added in r121754. It is apparentlyChris Lattner2010-12-14
* clean up logic, convert std::set to SmallPtrSet, handle the caseChris Lattner2010-12-14
* tidy up a bit, move DEBUG down to when we commit to doing the transform so we Chris Lattner2010-12-14
* use SimplifyInstruction instead of reimplementing part of it.Chris Lattner2010-12-14
* simplify GetIfCondition by using getSinglePredecessor.Chris Lattner2010-12-14
* use AddPredecessorToBlock in 3 places instead of a manual loop.Chris Lattner2010-12-14
* make FoldTwoEntryPHINode use instsimplify a bit, makeChris Lattner2010-12-14
* improve DEBUG's a bit, switch to eraseFromParent() to simplifyChris Lattner2010-12-14
* reapply my recent change that disables a piece of the switch formationChris Lattner2010-12-14
* Fix recent buildbot breakage by pulling SimplifyCFG back to its state as of r...Owen Anderson2010-12-13
* temporarily disable part of my previous patch, which causes an iterator inval...Chris Lattner2010-12-13
* add some DEBUG's.Chris Lattner2010-12-13
* Fix sort predicate. qsort(3)'s predicate semantics differ from std::sort's. F...Benjamin Kramer2010-12-13
* reinstate my patch: the miscompile was caused by an inverted branch in theChris Lattner2010-12-13
* Completely disable the optimization I added in r121680 untilChris Lattner2010-12-13
* Make simplifycfg reprocess newly formed "br (cond1 | cond2)" conditionsChris Lattner2010-12-13
* make this logic a bit simpler.Chris Lattner2010-12-13
* split all the guts of SimplifyCFGOpt::run out into one functionChris Lattner2010-12-13
* fix a bug in r121680 that upset the various buildbots.Chris Lattner2010-12-13
* refactor the speculative execution logic to be factored into the cond branch ...Chris Lattner2010-12-13
* simplify a bunch of code.Chris Lattner2010-12-13
* move HoistThenElseCodeToIf up to a more logical and efficient-to-handle place.Chris Lattner2010-12-13
* move 'MergeBlocksIntoPredecessor' call earlier. UseChris Lattner2010-12-13
* factor new code out to a SimplifyBranchOnICmpChain helper function.Chris Lattner2010-12-13
* enhance the "change or icmp's into switch" xform to handle one value in an Chris Lattner2010-12-13
* merge two very similar functions into one that has a bool argument.Chris Lattner2010-12-13
* don't bother handling non-canonical icmp'sChris Lattner2010-12-13
* inline a function, making the result much simpler.Chris Lattner2010-12-13
* Fix my previous patch to handle a degenerate case that the llvm-gccChris Lattner2010-12-13
* convert some methods to be static functionsChris Lattner2010-12-13
* zap two more std::sorts.Chris Lattner2010-12-13
* fix a fairly serious oversight with switch formation fromChris Lattner2010-12-13
* convert an std::sort to array_pod_sort.Chris Lattner2010-12-13
* move the "br (X == 0 | X == 1), T, F" -> switch optimization to a newChris Lattner2010-12-13
* reduce indentation and generally simplify code, no functionality change.Chris Lattner2010-12-13