summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/SimplifyCFG.cpp
Commit message (Expand)AuthorAgeFilesLines
...
* Remove PHINode::reserveOperandSpace(). Instead, add a parameter toJay Foad2011-03-301-1/+1
* (Almost) always call reserveOperandSpace() on newly created PHINodes.Jay Foad2011-03-301-1/+3
* PR9450: Make switch optimization in SimplifyCFG not dependent on the orderingEli Friedman2011-03-151-7/+18
* PR9420; an instruction before an unreachable is guaranteed not to have anyEli Friedman2011-03-091-1/+3
* Teach SimplifyCFG that (switch (select cond, X, Y)) is better expressed as a ...Frits van Bommel2011-02-281-1/+26
* Revert "SimplifyCFG: GEPs with just one non-constant index are also cheap."Benjamin Kramer2011-02-251-5/+3
* SimplifyCFG: GEPs with just one non-constant index are also cheap.Benjamin Kramer2011-02-241-3/+5
* SimplifyCFG: GEPs with constant indices are cheap enough to be executed uncon...Benjamin Kramer2011-02-241-0/+5
* SimplifyCFG: Track the number of used icmps when turning a icmp chain into a ...Benjamin Kramer2011-02-071-7/+22
* SimplifyCFG: Also transform switches that represent a range comparison but ar...Benjamin Kramer2011-02-031-6/+17
* SimplifyCFG: Turn switches into sub+icmp+branch if possible.Benjamin Kramer2011-02-021-0/+32
* Re-apply r124518 with fix. Watch out for invalidated iterator.Evan Cheng2011-01-291-18/+7
* Revert r124518. It broke Linux self-host.Evan Cheng2011-01-291-7/+18
* Re-commit r124462 with fixes. Tail recursion elim will now dup ret into uncon...Evan Cheng2011-01-291-18/+7
* Revert r124462. There are a few big regressions that I need to fix first.Evan Cheng2011-01-281-6/+1
* - Stop simplifycfg from duplicating "ret" instructions into unconditionalEvan Cheng2011-01-281-1/+6
* Factor the actual simplification out of SimplifyIndirectBrOnSelect and into a...Frits van Bommel2011-01-111-26/+37
* simplify this a bit.Chris Lattner2010-12-181-2/+1
* SimplifyCFG: Ranges can be larger than 64 bits. Fixes Release-selfhost build.Benjamin Kramer2010-12-171-1/+1
* improve switch formation to handle small range Chris Lattner2010-12-171-2/+25
* make qsort predicate more conformant by returning 0 for equal values.Chris Lattner2010-12-151-1/+5
* - Insert new instructions before DomBlock's terminator,Chris Lattner2010-12-141-7/+16
* fix two significant issues with FoldTwoEntryPHINode:Chris Lattner2010-12-141-1/+11
* remove the instsimplify logic I added in r121754. It is apparentlyChris Lattner2010-12-141-11/+1
* clean up logic, convert std::set to SmallPtrSet, handle the caseChris Lattner2010-12-141-56/+61
* tidy up a bit, move DEBUG down to when we commit to doing the transform so we Chris Lattner2010-12-141-7/+5
* use SimplifyInstruction instead of reimplementing part of it.Chris Lattner2010-12-141-10/+7
* simplify GetIfCondition by using getSinglePredecessor.Chris Lattner2010-12-141-28/+24
* use AddPredecessorToBlock in 3 places instead of a manual loop.Chris Lattner2010-12-141-18/+6
* make FoldTwoEntryPHINode use instsimplify a bit, makeChris Lattner2010-12-141-12/+21
* improve DEBUG's a bit, switch to eraseFromParent() to simplifyChris Lattner2010-12-141-26/+28
* reapply my recent change that disables a piece of the switch formationChris Lattner2010-12-141-5/+13
* Fix recent buildbot breakage by pulling SimplifyCFG back to its state as of r...Owen Anderson2010-12-131-14/+6
* temporarily disable part of my previous patch, which causes an iterator inval...Chris Lattner2010-12-131-1/+1
* 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
OpenPOWER on IntegriCloud