aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Utils
AgeCommit message (Expand)Author
2011-01-14Add a new LoadAndStorePromoter class, which implements the generalChris Lattner
2011-01-14indentationChris Lattner
2011-01-11Fix a non-deterministic loop in llvm::MergeBlockIntoPredecessor.Jakob Stoklund Olesen
2011-01-11this pass claims to preserve scev, make sure to tell it about deletions.Chris Lattner
2011-01-11Factor the actual simplification out of SimplifyIndirectBrOnSelect and into a...Frits van Bommel
2011-01-11when MergeBlockIntoPredecessor merges two blocks, update MemDep if itChris Lattner
2011-01-11Fix FoldSingleEntryPHINodes to update memdep and AA when it deletesChris Lattner
2011-01-11random cleanupsChris Lattner
2011-01-08various code cleanups, enhance MergeBlockIntoPredecessor to preserveChris Lattner
2011-01-08reduce nesting.Chris Lattner
2011-01-08Make more passes preserve dominators (or state that they preserve dominators ifCameron Zwarich
2011-01-08Revamp the ValueMapper interfaces in a couple ways:Chris Lattner
2011-01-07Remove all uses of the "ugly" method BranchInst::setUnconditionalDest().Jay Foad
2011-01-03Speed up instsimplify by about 10-15% by not bothering to retryDuncan Sands
2011-01-02split dom frontier handling stuff out to its own DominanceFrontier header,Chris Lattner
2011-01-02Fix PR8702 by not having LoopSimplify claim to preserve LCSSA form. As descr...Duncan Sands
2010-12-31Simplify this pass by using a depth-first iterator to ensure that allDuncan Sands
2010-12-31Zap dead instructions harder.Duncan Sands
2010-12-30Make a bunch of symbols internal.Benjamin Kramer
2010-12-27BuildLibCalls: Nuke EmitMemCpy, EmitMemMove and EmitMemSet. They are dead and...Benjamin Kramer
2010-12-25don't lose TD infoChris Lattner
2010-12-25switch the inliner alignment enforcement stuff to use theChris Lattner
2010-12-25Move getOrEnforceKnownAlignment out of instcombine into Transforms/Utils.Chris Lattner
2010-12-23Change all self assignments X=X to (void)X, so that we can turn on aJeffrey Yasskin
2010-12-21Visit instructions deterministically. Use a FIFO so as to approximatelyDuncan Sands
2010-12-21If an instruction simplifies, try again to simplify any uses of it. This isDuncan Sands
2010-12-20Oops, forgot to add the pass itself!Duncan Sands
2010-12-20Add a new convenience pass for testing InstructionSimplify. PreviouslyDuncan Sands
2010-12-20when eliding a byval copy due to inlining a readonly function, we haveChris Lattner
2010-12-20pull byval processing out to its own helper function.Chris Lattner
2010-12-20fix PR8769, a miscompilation by inliner when inlining a function with a byvalChris Lattner
2010-12-18simplify this a bit.Chris Lattner
2010-12-17SimplifyCFG: Ranges can be larger than 64 bits. Fixes Release-selfhost build.Benjamin Kramer
2010-12-17improve switch formation to handle small range Chris Lattner
2010-12-15make qsort predicate more conformant by returning 0 for equal values.Chris Lattner
2010-12-14 - Insert new instructions before DomBlock's terminator,Chris Lattner
2010-12-14fix two significant issues with FoldTwoEntryPHINode:Chris Lattner
2010-12-14remove the instsimplify logic I added in r121754. It is apparentlyChris Lattner
2010-12-14clean up logic, convert std::set to SmallPtrSet, handle the caseChris Lattner
2010-12-14tidy up a bit, move DEBUG down to when we commit to doing the transform so we Chris Lattner
2010-12-14use SimplifyInstruction instead of reimplementing part of it.Chris Lattner
2010-12-14simplify GetIfCondition by using getSinglePredecessor.Chris Lattner
2010-12-14use AddPredecessorToBlock in 3 places instead of a manual loop.Chris Lattner
2010-12-14make FoldTwoEntryPHINode use instsimplify a bit, makeChris Lattner
2010-12-14remove the dead (and terrible) llvm::RemoveSuccessor function.Chris Lattner
2010-12-14improve DEBUG's a bit, switch to eraseFromParent() to simplifyChris Lattner
2010-12-14reapply my recent change that disables a piece of the switch formationChris Lattner
2010-12-13Fix recent buildbot breakage by pulling SimplifyCFG back to its state as of r...Owen Anderson
2010-12-13temporarily disable part of my previous patch, which causes an iterator inval...Chris Lattner
2010-12-13add some DEBUG's.Chris Lattner