aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/Scalar
Commit message (Expand)AuthorAgeFilesLines
* 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
* Revert r86359, it is breaking the self host on theChris Lattner2009-11-071-117/+62
* Teach dead store elimination that certain intrinsics write to memory just likeNick Lewycky2009-11-071-62/+117
* reapply 86289, 86278, 86270, 86267, 86266 & 86264 plus a fixChris Lattner2009-11-071-243/+363
* Oops, FunctionContainsEscapingAllocas is really used to mean two differentNick Lewycky2009-11-071-2/+10
* Dust off tail recursion elimination. Fix a fixme by applying CaptureTrackingNick Lewycky2009-11-071-21/+8
* Revert following patches to fix llvmgcc bootstrap.Devang Patel2009-11-071-350/+234
* Avoid "ambiguous 'else'" warning from gcc.Jeffrey Yasskin2009-11-071-1/+2
* Fix a bug where we'd call SplitBlockPredecessors with a pred in the Chris Lattner2009-11-061-2/+11
* Remove function left over from other jump threading cleanup.Eli Friedman2009-11-061-24/+0
* Fix a problem discovered on self host.Chris Lattner2009-11-061-1/+1
* remove more code subsumed by r86264Chris Lattner2009-11-061-83/+17
* eliminate some more code subsumed by r86264Chris Lattner2009-11-061-41/+4
* remove now redundant code, r86264 handles this case.Chris Lattner2009-11-061-66/+0
* Extend jump threading to support much more general threadingChris Lattner2009-11-061-27/+325
* remove some more Context arguments.Chris Lattner2009-11-061-1/+1
* remove a bunch of extraneous LLVMContext argumentsChris Lattner2009-11-065-10/+7
* Teach LSR to avoid calling SplitCriticalEdge on edges with indirectbr.Dan Gohman2009-11-051-0/+1
* LoopDeletion depends on loops having dedicated exits.Dan Gohman2009-11-051-0/+4
* Update various Loop optimization passes to cope with the possibility thatDan Gohman2009-11-056-9/+25
* Call getAnalysis<LoopInfo> the normal way, instead of asking passed-inDan Gohman2009-11-051-2/+2
* Teach SimplifyLibCalls to fold memcmp calls with constant arguments.Benjamin Kramer2009-11-051-4/+11
* Do map insert+find in one step. TODO -= 2.Benjamin Kramer2009-11-051-15/+15
* improve DSE when TargetData is not around, based on work byChris Lattner2009-11-042-6/+16
* Fix an iterator invalidation bug that happens when a hashtableChris Lattner2009-11-041-3/+4
* move two functions up higher in the file. Delete a useless argumentChris Lattner2009-11-041-176/+232
* reimplement multiple return value handling in IPSCCP, making it Chris Lattner2009-11-031-125/+205
* finish half thunk thoughtChris Lattner2009-11-031-1/+3
* fix an IPSCCP bug I introduced when I changed IPSCCP to start working on Chris Lattner2009-11-031-19/+31
* fix a subtle bug I introduced when refactoring SCCP. TestcaseChris Lattner2009-11-031-1/+1
* turn IPSCCP back on now that the iterator invalidation bug is fixed.Chris Lattner2009-11-031-36/+50
* fix a nasty iterator invalidation bug from my conversion fromChris Lattner2009-11-021-3/+2
* revert r8579[56], which are causing unhappiness in buildbot land.Chris Lattner2009-11-021-50/+36