aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Scalar/LoopUnswitch.cpp
AgeCommit message (Expand)AuthorFilesLines
2011-06-23Reinstate r133513 (reverted in r133700) with an additional fix for aJay Foad1-4/+4
2011-06-23Revert r133513:Eric Christopher1-4/+4
2011-06-21Reinstate r133435 and r133449 (reverted in r133499) now that the clangJay Foad1-4/+4
2011-06-21Revert r133435 and r133449 to appease buildbots.Chad Rosier1-4/+4
2011-06-20Change how PHINodes store their operands.Jay Foad1-4/+4
2011-06-03Bail on unswitching a switch statement for a case with a critical edge. We nameNick Lewycky1-1/+5
2011-05-25Simplify r132022 based on Cameron's feedback.Evan Cheng1-12/+5
2011-05-24Forgot dyn_cast check.Evan Cheng1-4/+4
2011-05-24Fix LoopUnswitch bug. RewriteLoopBodyWithConditionConstant can delete a deadEvan Cheng1-13/+34
2011-02-11Make LoopUnswitch preserve ScalarEvolution by just forgetting everything aboutCameron Zwarich1-0/+5
2011-01-08Revamp the ValueMapper interfaces in a couple ways:Chris Lattner1-14/+1
2010-11-23Constant folding here is pointless, because InstructionSimplifyDuncan Sands1-8/+1
2010-11-18Factor code for testing whether replacing one value with anotherDuncan Sands1-6/+7
2010-11-14If dom tree information is available, make it possible to passDuncan Sands1-1/+1
2010-10-19Passes do not need to recursively initialize passes that they preserve, ifOwen Anderson1-1/+0
2010-10-19Get rid of static constructors for pass registration. Instead, every pass ex...Owen Anderson1-1/+3
2010-10-13Be more consistent in using ValueToValueMapTy.Rafael Espindola1-5/+5
2010-10-12Begin adding static dependence information to passes, which will allow us toOwen Anderson1-1/+8
2010-10-07Now with fewer extraneous semicolons!Owen Anderson1-1/+1
2010-09-01Fix loop unswitching's assumption that a code path which eitherDan Gohman1-9/+8
2010-08-29apparently unswitch had the same "Feature". Stop itsChris Lattner1-7/+2
2010-08-06Reapply r110396, with fixes to appease the Linux buildbot gods.Owen Anderson1-1/+1
2010-08-06Revert r110396 to fix buildbots.Owen Anderson1-1/+1
2010-08-05Don't use PassInfo* as a type identifier for passes. Instead, use the addres...Owen Anderson1-1/+1
2010-07-21Fix batch of converting RegisterPass<> to INTIALIZE_PASS().Owen Anderson1-1/+1
2010-06-24Use ValueMap instead of DenseMap.Devang Patel1-13/+13
2010-06-09Pulled CodeMetrics out of InlineCost.h and made it a bit more general, so it ...Kenneth Uildriks1-1/+1
2010-04-20remove a bunch of ad-hoc code to simplify instructions fromChris Lattner1-43/+12
2010-04-20RewriteLoopBodyWithConditionConstant can end up rewriting theChris Lattner1-5/+14
2010-04-05some code cleanups, use SwitchInst::findCaseValue, reduce indentationChris Lattner1-62/+63
2010-04-05Code clean up.Evan Cheng1-8/+8
2010-04-03Code refactoring.Evan Cheng1-35/+33
2010-03-10Add a DominatorTree argument to isLCSSA so that it doesn't have toDan Gohman1-1/+1
2010-02-16There are two ways of checking for a given type, for example isa<PointerType>(T)Duncan Sands1-1/+1
2010-02-15Uniformize the names of type predicates: rather than having isFloatTy andDuncan Sands1-5/+5
2010-02-02fix a crash in loop unswitch on a loop invariant vector condition.Chris Lattner1-1/+5
2010-01-05Convert a ton of simple integer type equality tests to the new predicate.Benjamin Kramer1-5/+5
2010-01-05Change errs() to dbgs().David Greene1-8/+8
2009-12-18Add Loop contains utility methods for testing whether a loopDan Gohman1-2/+2
2009-12-09Dereference loopHeader after checking for null rather than before.Dan Gohman1-1/+2
2009-11-25Reverting patch in revision 89758, initial attempt at fixing PR5373 has prove...Edward O'Callaghan1-0/+1
2009-11-24Fix for PR5373, Credit to Jakub Staszak.Edward O'Callaghan1-1/+0
2009-11-06remove a bunch of extraneous LLVMContext argumentsChris Lattner1-2/+1
2009-11-05Update various Loop optimization passes to cope with the possibility thatDan Gohman1-0/+4
2009-11-01if CostMetrics says to never duplicate some code, don't unswitch a loop.Chris Lattner1-1/+2
2009-10-20Restore LoopUnswitch's block-oriented threshold. LoopUnswitch now checks bothDan Gohman1-36/+27
2009-10-14Use isVoidTy()Devang Patel1-1/+1
2009-10-13Check void type before using RAUWd.Devang Patel1-1/+4
2009-10-13Do not check use_empty() before replaceAllUsesWith(). This gives ValueHandles...Devang Patel1-2/+1
2009-10-13Use the new CodeMetrics class to compute code size instead ofDan Gohman1-6/+6