- Dec 18, 2009
-
-
Dan Gohman authored
contains another loop, or an instruction. The loop form is substantially more efficient on large loops than the typical code it replaces. llvm-svn: 91654
-
- Dec 09, 2009
-
-
Dan Gohman authored
llvm-svn: 90990
-
- Nov 25, 2009
-
-
Edward O'Callaghan authored
llvm-svn: 89844
-
- Nov 24, 2009
-
-
Edward O'Callaghan authored
llvm-svn: 89758
-
- Nov 06, 2009
-
-
Chris Lattner authored
from various APIs, addressing PR5325. llvm-svn: 86231
-
- Nov 05, 2009
-
-
Dan Gohman authored
LoopSimplify form may not be available. llvm-svn: 86175
-
- Nov 01, 2009
-
-
Chris Lattner authored
This prevents unswitching from duplicating indbr's. llvm-svn: 85705
-
- Oct 20, 2009
-
-
Dan Gohman authored
the estimated code size and the number of blocks when deciding whether to do a non-trivial unswitch. This protects it from some very undesirable worst-case behavior on large numbers of loop-unswitchable conditions, such as in the testcase in PR5259. llvm-svn: 84661
-
- Oct 14, 2009
-
-
Devang Patel authored
llvm-svn: 84118
-
Devang Patel authored
llvm-svn: 84049
-
- Oct 13, 2009
-
-
Devang Patel authored
Do not check use_empty() before replaceAllUsesWith(). This gives ValueHandles a chance to get properly updated. llvm-svn: 84033
-
Dan Gohman authored
manually counting instructions. llvm-svn: 84016
-
Dan Gohman authored
BasicBlocks, so that it doesn't blindly procede in the presence of large individual BasicBlocks. This addresses a class of code-size expansion problems. llvm-svn: 83992
-
- Sep 09, 2009
-
-
Mike Stump authored
llvm-svn: 81361
-
Dan Gohman authored
llvm-svn: 81354
-
- Sep 08, 2009
-
-
Dan Gohman authored
that get created during loop unswitching, and fix SplitBlockPredecessors' LCSSA updating code to create new PHIs instead of trying to just move existing ones. Also, optimize Loop::verifyLoop, since it gets called a lot. Use searches on a sorted list of blocks instead of calling the "contains" function, as is done in other places in the Loop class, since "contains" does a linear search. Also, don't call verifyLoop from LoopSimplify or LCSSA, as the PassManager is already calling verifyLoop as part of LoopInfo's verifyAnalysis. llvm-svn: 81221
-
- Sep 06, 2009
-
-
Evan Cheng authored
llvm-svn: 81101
-
- Sep 03, 2009
-
-
Dan Gohman authored
that these passes are properly preserved. Fix several transformation passes that claimed to preserve LoopSimplify form but weren't. llvm-svn: 80926
-
- Sep 02, 2009
-
-
Chris Lattner authored
llvm-svn: 80766
-
- Aug 23, 2009
-
-
Chris Lattner authored
This required converting a bunch of stuff off DOUT and other cleanups. llvm-svn: 79819
-
- Aug 13, 2009
-
-
Owen Anderson authored
llvm-svn: 78948
-
- Jul 31, 2009
-
-
Owen Anderson authored
llvm-svn: 77685
-
Owen Anderson authored
llvm-svn: 77635
-
- Jul 25, 2009
-
-
Daniel Dunbar authored
- Some clients which used DOUT have moved to DEBUG. We are deprecating the "magic" DOUT behavior which avoided calling printing functions when the statement was disabled. In addition to being unnecessary magic, it had the downside of leaving code in -Asserts builds, and of hiding potentially unnecessary computations. llvm-svn: 77019
-
Owen Anderson authored
Revert the ConstantInt constructors back to their 2.5 forms where possible, thanks to contexts-on-types. More to come. llvm-svn: 77011
-
- Jul 22, 2009
-
-
Owen Anderson authored
llvm-svn: 76702
-
- Jul 21, 2009
-
-
Owen Anderson authored
llvm-svn: 76598
-
- Jul 15, 2009
-
-
Dan Gohman authored
and use this to simplify more code. llvm-svn: 75722
-
- Jul 14, 2009
-
-
Dan Gohman authored
function. llvm-svn: 75584
-
- Jul 10, 2009
-
-
Owen Anderson authored
This started as a small change, I swear. Unfortunately, lots of things call the [I|F]CmpInst constructors. Who knew!? llvm-svn: 75200
-
- Jul 06, 2009
-
-
Owen Anderson authored
llvm-svn: 74844
-
- Jul 03, 2009
-
-
Owen Anderson authored
llvm-svn: 74753
-
- May 06, 2009
-
-
Duncan Sands authored
the optimizers about this. For example, a readonly function with no uses cannot be removed unless it is also marked nounwind. llvm-svn: 71071
-
- Mar 19, 2009
-
-
Nick Lewycky authored
llvm-svn: 67287
-
- Feb 03, 2009
-
-
Devang Patel authored
If "optimize for size" attribute is set then block non-trivial loop unswitches but allow trivial loop unswitches. llvm-svn: 63670
-
- Jan 28, 2009
-
-
Duncan Sands authored
llvm-svn: 63198
-
- Dec 08, 2008
-
-
Devang Patel authored
llvm-svn: 60701
-
- Dec 01, 2008
-
-
Chris Lattner authored
llvm-svn: 60337
-
- Nov 03, 2008
-
-
Devang Patel authored
llvm-svn: 58631
-
- Oct 23, 2008
-
-
Daniel Dunbar authored
LoopPass*. - Although less precise, this means they can be used in clients without RTTI (who would otherwise need to include LoopPass.h, which eventually includes things using dynamic_cast). This was the simplest solution that presented itself, but I am happy to use a better one if available. llvm-svn: 58010
-