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