aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms
AgeCommit message (Expand)Author
2008-07-18Supress a gcc-4.3 warning.Duncan Sands
2008-07-18Make PRE actually handle critical edges (by splitting them). Confirmed that ...Owen Anderson
2008-07-18Reapply r53735. My last patch fixed the failures Dan observed.Owen Anderson
2008-07-18Add some checks that got lost in the shuffle. This fixes 464.h264ref.Owen Anderson
2008-07-18Revert r53735. It broke SPEC 464.h264ref.Dan Gohman
2008-07-17Use MergeBlockIntoPredecessor to simplify some code.Owen Anderson
2008-07-17Make MergeBlockIntoPredecessor more aggressive when the same successor appearsOwen Anderson
2008-07-17Enable PRE. My last batch of changes fixed the miscompile.Owen Anderson
2008-07-17Make GlobalOpt preserve address spaces when scalar replacing aggregate globals.Matthijs Kooijman
2008-07-17Fix PR2553Chris Lattner
2008-07-17Inliner tweak. Function calls should cost more than one instruction!Evan Cheng
2008-07-17Factor MergeBlockIntoPredecessor out into BasicBlockUtils.Owen Anderson
2008-07-16There's no need to iterate block merging and PRE. In fact, iterating the latterOwen Anderson
2008-07-16Redo InstCombiner::visitExtractValueInst. Instead of using the (complicate)Matthijs Kooijman
2008-07-16Fix PR2296. Do not transform x86_sse2_storel_dq into a full-width store.Evan Cheng
2008-07-15Revert this, as it seems to still be broken.Owen Anderson
2008-07-15Enable local PRE by default.Owen Anderson
2008-07-15Have GVN do a pre-pass over the CFG that folds away unconditional branches wh...Owen Anderson
2008-07-15Allow deadargelim to change return types even though now values were dead. ThisMatthijs Kooijman
2008-07-15Revert r53606. It turns out that explicitely tracking the liveness of theMatthijs Kooijman
2008-07-15Make deadargelim a bit less smart, so it doesn't choke on nested structs asMatthijs Kooijman
2008-07-15Don't use isa when we can reuse a previous dyn_cast.Matthijs Kooijman
2008-07-15Make DeadArgElim keep liveness of the return value as a whole in addition toMatthijs Kooijman
2008-07-15Let DAE keep a list of live functions, instead of simply marking all argumentsMatthijs Kooijman
2008-07-15Split DAE::MarkLive into MarkLive and PropagateLiveness.Matthijs Kooijman
2008-07-15Pass around const RetOrArg references instead of copying values. Also, markMatthijs Kooijman
2008-07-15Simplify debug code by using RetOrArg::getDescription().Matthijs Kooijman
2008-07-15Fix indentation (intentionally left out of the previous commit).Matthijs Kooijman
2008-07-15Move the deadargelim code for intrinsically alive functions into its ownMatthijs Kooijman
2008-07-14Fix uninitialized use of the Changed variable.Dan Gohman
2008-07-14Reapply r53540, now with the matching header!Chris Lattner
2008-07-14Revert r53540 - it does not compile.Duncan Sands
2008-07-14If a function calls setjmp, never inline it into other functions. This isChris Lattner
2008-07-14simplify some code, shuffle and insertelt always return a vector.Chris Lattner
2008-07-14Fix PR2506 by being a bit more careful about reverse fact propagation whenChris Lattner
2008-07-13Fix mishandling of the infinite loop case when merging two blocks. ThisChris Lattner
2008-07-13more refactoring. Use early exits instead of really complex logic.Chris Lattner
2008-07-13improve comments.Chris Lattner
2008-07-13factor another large hunk of code out into its own function. Chris Lattner
2008-07-13Final bit of simplification for FoldBranchToCommonDest.Chris Lattner
2008-07-13simplify logic a bitChris Lattner
2008-07-13Refactor some code out into its own helper function, getting rid of crazy mul...Chris Lattner
2008-07-12Enhance analysis of srem.Nick Lewycky
2008-07-11Use find instead of lower_bound.Dan Gohman
2008-07-11Don't call lookupNumber more than we have to.Owen Anderson
2008-07-11Document 'mask' in this calculation.Nick Lewycky
2008-07-11Remove misleading constant from comment.Nick Lewycky
2008-07-11Add another optimization from PR2330. Also catch some missing cases that areNick Lewycky
2008-07-11a missed optimization that Eli spottedChris Lattner
2008-07-11another bug in the same line.Chris Lattner