- Sep 29, 2006
-
-
Chris Lattner authored
Eliminate ConstantBool::True and ConstantBool::False. Instead, provide ConstantBool::getTrue() and ConstantBool::getFalse(). llvm-svn: 30665
-
- Aug 30, 2006
-
-
Devang Patel authored
exit blocks. The output is dependent on addresses of basic block. Add and use Loop::getUniqueExitBlocks. llvm-svn: 29966
-
- Aug 28, 2006
-
-
Chris Lattner authored
llvm-svn: 29925
-
- Jul 19, 2006
-
-
Owen Anderson authored
somewhere down the road. llvm-svn: 29197
-
- Jun 28, 2006
-
-
Owen Anderson authored
will be profitable. This is mainly to remove some cases where excessive unswitching would result in long compile times and/or huge generated code. Once someone comes up with a better heuristic that avoids these cases, this should be switched out. llvm-svn: 28962
-
Chris Lattner authored
blocks. llvm-svn: 28959
-
Owen Anderson authored
Be more careful when updating Phi nodes after eliminating dead switch cases. Fix proposed by Chris. llvm-svn: 28947
-
- Jun 26, 2006
-
-
Owen Anderson authored
of LCSSA. This results several times the number of unswitchings occurring on tests such and timberwolfmc, unix-tbl, and ldecod. llvm-svn: 28912
-
- Jun 14, 2006
-
-
Chris Lattner authored
bug exposed by the recent lcssa work. llvm-svn: 28779
-
- Jun 12, 2006
-
-
Owen Anderson authored
llvm-svn: 28759
-
- Jun 11, 2006
-
-
Evan Cheng authored
Back out Owen's 6/9 changes. They broke MultiSource/Benchmarks/Prolangs-C/bison (and perhaps others). llvm-svn: 28747
-
- Jun 09, 2006
-
-
Owen Anderson authored
LCSSA. llvm-svn: 28739
-
- Mar 24, 2006
-
-
Chris Lattner authored
llvm-svn: 27051
-
- Feb 23, 2006
-
-
Chris Lattner authored
caused SPASS to fail building last night. We can't trivially unswitch a loop if the exit block has phi nodes in it, because we don't know which predecessor to use. llvm-svn: 26320
-
- Feb 22, 2006
-
-
Chris Lattner authored
to rewrite with the wrong value. llvm-svn: 26311
-
- Feb 18, 2006
-
-
Chris Lattner authored
llvm-svn: 26289
-
Chris Lattner authored
llvm-svn: 26285
-
Chris Lattner authored
Thanks to nate for pointing this out :) llvm-svn: 26280
-
Chris Lattner authored
llvm-svn: 26279
-
Chris Lattner authored
the right loop. llvm-svn: 26277
-
- Feb 17, 2006
-
-
Chris Lattner authored
llvm-svn: 26258
-
Chris Lattner authored
risk :) llvm-svn: 26248
-
- Feb 16, 2006
-
-
Chris Lattner authored
Change SplitBlock to increment a BasicBlock::iterator, not an Instruction*. Apparently they do different things :) This fixes a testcase that nate reduced from spass. Also included are a couple minor code changes that don't affect the generated code at all. llvm-svn: 26235
-
Jeff Cohen authored
llvm-svn: 26228
-
Chris Lattner authored
llvm-svn: 26225
-
- Feb 15, 2006
-
-
Chris Lattner authored
unswitch this loop on 2 before sweating to unswitch on 1/3. void test4(int N, int i, int C, int*P, int*Q) { int j; for (j = 0; j < N; ++j) { switch (C) { // general unswitching. default: P[i+j] = 0; break; case 1: Q[i+j] = 0; break; case 3: P[i+j] = Q[i+j]; break; case 2: break; // TRIVIAL UNSWITCH on C==2 } } } llvm-svn: 26223
-
Chris Lattner authored
this for example: for (j = 0; j < N; ++j) { // trivial unswitch if (C) P[i+j] = 0; } turning it into the obvious code without bothering to duplicate an empty loop. llvm-svn: 26220
-
Chris Lattner authored
Y = seteq bool X, true instead of just using X :) llvm-svn: 26215
-
Chris Lattner authored
llvm-svn: 26194
-
Chris Lattner authored
llvm-svn: 26191
-
- Feb 14, 2006
-
-
Chris Lattner authored
llvm-svn: 26157
-
- Feb 11, 2006
-
-
Chris Lattner authored
llvm-svn: 26114
-
Chris Lattner authored
llvm-svn: 26113
-
Chris Lattner authored
llvm-svn: 26112
-
- Feb 10, 2006
-
-
Chris Lattner authored
phi's in the successors llvm-svn: 26108
-
Chris Lattner authored
with branches on partially invariant computations. llvm-svn: 26104
-
Chris Lattner authored
llvm-svn: 26103
-
Chris Lattner authored
llvm-svn: 26102
-
Chris Lattner authored
branches in their entry block that control whether or not the loop is a noop or not. llvm-svn: 26101
-
- Feb 09, 2006
-
-
Chris Lattner authored
llvm-svn: 26098
-