aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/SSAUpdater.cpp
AgeCommit message (Expand)AuthorFilesLines
2012-08-17Fix undefined behavior (binding a reference to a dereferenced null pointer) ifRichard Smith1-1/+1
2012-08-13LICM uses AliasSet information to hoist and sink instructions. However, other...Nadav Rotem1-0/+5
2012-06-25The name (and comment describing) of llvm::GetFirstDebuigLocInBasicBlock no l...Eli Bendersky1-2/+5
2012-06-20Fix two rather subtle internal vs. external linker issues.Chandler Carruth1-25/+20
2011-11-14Make headers standalone, move a virtual method out of line.Benjamin Kramer1-0/+7
2011-07-18land David Blaikie's patch to de-constify Type, with a few tweaks.Chris Lattner1-1/+1
2011-07-18fix a warning in TinyPtrVector, adopt it in SSAUpdater, saving someChris Lattner1-3/+3
2011-07-06Simplify. Consolidate dbg.declare handling in AllocaPromoter.Devang Patel1-11/+3
2011-05-24Clean up the lazy initialization of DIBuilder a bit.Cameron Zwarich1-9/+3
2011-05-24Make LoadAndStorePromoter preserve debug info and create llvm.dbg.values whenCameron Zwarich1-7/+25
2011-04-29Assing line number info to new PHIs created by SSA updater.Devang Patel1-0/+5
2011-04-11Don't include Operator.h from InstrTypes.h.Jay Foad1-0/+1
2011-03-30Remove PHINode::reserveOperandSpace(). Instead, add a parameter toJay Foad1-5/+4
2011-01-24fix PR9017, a bug where we'd assert when promoting in unreachableChris Lattner1-0/+3
2011-01-15Generalize LoadAndStorePromoter a bit and switch LICMChris Lattner1-16/+25
2011-01-14Add a new LoadAndStorePromoter class, which implements the generalChris Lattner1-0/+154
2010-11-16Have a few places that want to simplify phi nodes use SimplifyInstructionDuncan Sands1-2/+3
2010-09-02Reapply commit 112699, speculatively reverted by echristo, sinceDuncan Sands1-13/+11
2010-09-01Speculatively revert 112699 and 112702, they seem to be causingEric Christopher1-11/+13
2010-09-01If PrototypeValue is erased in the middle of using the SSAUpdatorDuncan Sands1-13/+11
2010-08-29implement SSAUpdater::RewriteUseAfterInsertions, a helpful form of RewriteUse.Chris Lattner1-0/+16
2010-05-04Combine the implementations of the core part of the SSAUpdater andBob Wilson1-429/+102
2010-04-21Fix a performance problem with the new SSAUpdater. This showed up in theBob Wilson1-2/+8
2010-04-17Re-commit my previous SSAUpdater changes. The previous version naively triedBob Wilson1-179/+434
2010-04-03Revert all my SSAUpdater patches. The PHI placement algorithm is not correctBob Wilson1-315/+183
2010-04-03Add a DEBUG_TYPE for the SSAUpdater.Bob Wilson1-0/+1
2010-04-02Recommit 100158 now that the buildbots are happy again.Bob Wilson1-21/+29
2010-04-02Revert 100158 in case it is causing some of the buildbot problems.Bob Wilson1-29/+21
2010-04-02Check for terminating conditions before adding PHIs to the worklists.Bob Wilson1-21/+29
2010-04-01Remove trailing whitespace.Bob Wilson1-5/+5
2010-04-01Rewrite another SSAUpdater function to avoid recursion.Bob Wilson1-32/+46
2010-04-01Change another SSAUpdater function to avoid recursion.Bob Wilson1-18/+24
2010-04-01Simplify the code to check for existing PHIs, now that it is only used inBob Wilson1-30/+12
2010-04-01The SSAUpdater should avoid recursive traversals of the CFG, since that mayBob Wilson1-15/+23
2010-03-31Rewrite part of the SSAUpdater to be more careful about inserting redundantBob Wilson1-150/+263
2010-01-27Avoid creating redundant PHIs in SSAUpdater::GetValueInMiddleOfBlock.Bob Wilson1-41/+75
2010-01-05Change errs() to dbgs().David Greene1-2/+2
2009-12-21improve indentation avoid a pointless conversion from weakvh to trackingvh,Chris Lattner1-3/+3
2009-12-21fix PR5837 by having SSAUpdate reuse phi nodes for theChris Lattner1-1/+23
2009-12-04add an assert to make it really clear what this is doing. Return singularval asChris Lattner1-1/+5
2009-10-20alternate fix for PR5258 which avoids worklist problems, with reduced testcase.Chris Lattner1-11/+6
2009-10-20Fix PR5258, jump-threading creating invalid PHIs.Torok Edwin1-2/+10
2009-10-16Strip trailing white space.Duncan Sands1-33/+31
2009-10-10add a simple helper method.Chris Lattner1-0/+6
2009-10-10add ability for clients of SSAUpdater to find out about theChris Lattner1-1/+9
2009-10-10add the ability to get a rewritten value from the middle of a block,Chris Lattner1-3/+92
2009-10-10rename GetValueInBlock -> GetValueAtEndOfBlock to better reflect Chris Lattner1-11/+11
2009-10-10use a typedef instead of spelling out an insane type. Yay for auto someday.Chris Lattner1-3/+3
2009-10-10Implement an efficient and fully general SSA update mechanism that Chris Lattner1-0/+232