aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar/LoopUnswitch.cpp
AgeCommit message (Expand)Author
2007-05-01Do not use typeinfo to identify pass in pass manager.Devang Patel
2007-03-07Now LoopUnswitch is a LoopPass.Devang Patel
2007-03-02Use more efficient test for one value in a ConstantInt.Reid Spencer
2007-02-26Use efficient container SmallPtrSetDevang Patel
2007-02-26Do not unswitch loop on same value again and again.Devang Patel
2007-02-05Apply the VISIBILITY_HIDDEN field to the remaining anonymous classes inReid Spencer
2007-02-03Switch inliner over to use DenseMap instead of std::map for ValueMap. ThisChris Lattner
2007-01-30Adjust #includes to match movement of constant folding code from transformuti...Chris Lattner
2007-01-19For PR1043:Reid Spencer
2007-01-13fix a bug in a recent patchChris Lattner
2007-01-12Implement review feedback for the ConstantBool->ConstantInt merge. ChrisReid Spencer
2007-01-11Rename BoolTy as Int1Ty. Patch by Sheng Zhou.Reid Spencer
2007-01-11For PR1043:Zhou Sheng
2006-12-23For PR950:Reid Spencer
2006-12-19Switch over Transforms/Scalar to use the STATISTIC macro. For each statisticChris Lattner
2006-12-06Detemplatize the Statistic class. The only type it is instantiated withChris Lattner
2006-11-26Removed #include <iostream> and replaced with llvm_* streams.Bill Wendling
2006-11-02For PR786:Reid Spencer
2006-09-28Eliminate ConstantBool::True and ConstantBool::False. Instead, provideChris Lattner
2006-08-29Do not rely on std::sort and std::erase to get list of uniqueDevang Patel
2006-08-27eliminate RegisterOpt. It does the same thing as RegisterPass.Chris Lattner
2006-07-19Fix a error that hadn't yet cause any problems, but I'm sure it would haveOwen Anderson
2006-06-28Switch to a very conservative heuristic for determining when loop-unswitchingOwen Anderson
2006-06-28Don't unswitch really large loops even if they are mostly filled with emptyChris Lattner
2006-06-27Fix for 2006-06-27-DeadSwitchCase.llOwen Anderson
2006-06-26Make LoopUnswitch able to unswitch loops with live-out values by taking advan...Owen Anderson
2006-06-14Fix Transforms/LoopUnswitch/2006-06-13-SingleEntryPHI.ll, a loop unswitchChris Lattner
2006-06-12Reapply my 6/9 changes. The bug Evan saw no longer occurs.Owen Anderson
2006-06-11Back out Owen's 6/9 changes. They broke MultiSource/Benchmarks/Prolangs-C/bis...Evan Cheng
2006-06-09Add LCSSA as a requirement for LoopUnswitch, and assert that LoopUnswitch pre...Owen Anderson
2006-03-24add the actual cost to the debug infoChris Lattner
2006-02-22Fix Regression/Transforms/LoopUnswitch/2006-02-22-UnswitchCrash.ll, whichChris Lattner
2006-02-22Add some comments, simplify some code, and fix a bug that caused rewritingChris Lattner
2006-02-18improved support for branch folding, still not enabled.Chris Lattner
2006-02-18Implement deletion of dead blocks, currently disabled.Chris Lattner
2006-02-18a previous patch completely disabled trivial unswitching, this fixees it.Chris Lattner
2006-02-18initial trivial support for folding branches that have now-constant destinati...Chris Lattner
2006-02-18When unswitching a loop, make sure to update loop info with exit blocks inChris Lattner
2006-02-17Fix loops where the header has an exit, fixing a loop-unswitch crash on craftyChris Lattner
2006-02-17start of some new simplification code, not thoroughly tested, use at your ownChris Lattner
2006-02-16Change SplitBlock to increment a BasicBlock::iterator, not an Instruction*. ...Chris Lattner
2006-02-16Fix VC++ warning.Jeff Cohen
2006-02-16fix a bug where we unswitched the wrong wayChris Lattner
2006-02-15Implement trivial unswitching for switch stmts. This allows us to trivialChris Lattner
2006-02-15make "trivial" unswitching significantly more general. It can now handleChris Lattner
2006-02-15Checking the wrong value. This caused us to emit silly code likeChris Lattner
2006-02-15more refactoring, no functionality change.Chris Lattner
2006-02-15pull some code out into a functionChris Lattner
2006-02-14Use statistics to keep track of what flavors of loops we are unswitchingChris Lattner
2006-02-11implement unswitching of loops with switch stmts and selects in themChris Lattner