- Oct 06, 2007
-
-
Devang Patel authored
unswitch when frontier includes basic blocks that are not inside loop. llvm-svn: 42654
-
- Oct 03, 2007
-
-
Owen Anderson authored
Also, add a FIXME for a bug in PostDomTree calculation I noticed while writing this, llvm-svn: 42593
-
Owen Anderson authored
each one's runOnFunction method. llvm-svn: 42563
-
- Sep 28, 2007
-
-
Owen Anderson authored
Convert DFSPass into a templated friend function, in preparation for making it common to DomTree and PostDomTree. llvm-svn: 42420
-
- Sep 24, 2007
-
-
Owen Anderson authored
and the PostDomTree version first. llvm-svn: 42250
-
- Sep 23, 2007
-
-
Owen Anderson authored
change is not useful in and of itself, but it lays the groundwork for combining the dominator and postdominator implementations. Also, factor a few methods that are common to DominatorTree and PostDominatorTree into DominatorTreeBase. Again, this will make merging the two calculation methods simpler in the future. llvm-svn: 42248
-
- Aug 14, 2007
-
-
Devang Patel authored
llvm-svn: 41075
-
Devang Patel authored
llvm-svn: 41052
-
- Aug 08, 2007
-
-
Chris Lattner authored
1. domtree is a tree, not a graph. There is no need to avoid revisiting nodes with a set. 2. the worklist can contain the child iterator pointers so we don't get N^2 rescanning of children. This speeds up updateDFSNumbers significantly, making it basically free. On the testcase in PR1432, this speeds up loopsimplify by another 3x, dropping it from the 12th most expensive pass to the to the 30th. :) It used to be #1. llvm-svn: 40923
-
Chris Lattner authored
natural loop canonicalization (which does many cfg xforms) by 4.3x, for example. This also fixes a bug in postdom dfnumber computation. llvm-svn: 40920
-
- Aug 06, 2007
-
-
Chris Lattner authored
2. Make domtree printing print dfin/dfout #'s 3. Fix the Transforms/LoopSimplify/2004-04-13-LoopSimplifyUpdateDomFrontier.ll failure from last night (in DominanceFrontier::splitBlock). w.r.t. #3, my patches last night happened to expose the bug, but this has been broken since Owen's r35839 patch to LoopSimplify. The code was subsequently moved over from LoopSimplify into Dominators, carrying the latent bug. Fun stuff. llvm-svn: 40858
-
- Aug 05, 2007
-
-
Chris Lattner authored
llvm-svn: 40830
-
Chris Lattner authored
domtree by 10% and postdomtree by 17% llvm-svn: 40829
-
Chris Lattner authored
a smallptrset. This speeds up domtree by about 15% and postdomtree by 20%. llvm-svn: 40828
-
Chris Lattner authored
speeds up idom by about 45% and postidom by about 33%. Some extra precautions must be taken not to invalidate densemap iterators. llvm-svn: 40827
-
Chris Lattner authored
DenseMap instead of an std::map. This speeds up postdomtree by about 25% and domtree by about 23%. It also speeds up clients, for example, domfrontier by 11%, mem2reg by 4% and ADCE by 6%. llvm-svn: 40826
-
- Aug 02, 2007
-
-
Devang Patel authored
exit edge to preserve LCSSA. Fix dominance frontier update during loop unswitch. This fixes PR 1589, again llvm-svn: 40737
-
Devang Patel authored
llvm-svn: 40698
-
Devang Patel authored
exit edge to preserve LCSSA. Fix dominance frontier update during loop unswitch. This fixes PR 1589. llvm-svn: 40695
-
- Jul 27, 2007
-
-
Devang Patel authored
llvm-svn: 40564
-
- Jun 27, 2007
-
-
Devang Patel authored
llvm-svn: 37765
-
- Jun 21, 2007
-
-
Devang Patel authored
from LoopSimplify.cpp to Dominator.cpp llvm-svn: 37689
-
- Jun 12, 2007
-
-
Devang Patel authored
llvm-svn: 37562
-
Devang Patel authored
llvm-svn: 37561
-
Devang Patel authored
common dominator. llvm-svn: 37559
-
Devang Patel authored
Remove unused PostETForest. llvm-svn: 37551
-
Devang Patel authored
llvm-svn: 37548
-
Devang Patel authored
Fix 80 col violations. llvm-svn: 37547
-
Devang Patel authored
This means now ETNodes are not useful anymore. llvm-svn: 37546
-
Devang Patel authored
llvm-svn: 37545
-
- Jun 08, 2007
-
-
Devang Patel authored
Now LoopSimplify does not require nor preserve ETForest. llvm-svn: 37512
-
Devang Patel authored
llvm-svn: 37504
-
- Jun 07, 2007
-
-
Devang Patel authored
This adds redundancy for now. llvm-svn: 37492
-
- Jun 06, 2007
-
-
Devang Patel authored
llvm-svn: 37475
-
- Jun 04, 2007
-
-
Devang Patel authored
llvm-svn: 37417
-
Devang Patel authored
llvm-svn: 37407
-
- Jun 03, 2007
-
-
Devang Patel authored
llvm-svn: 37403
-
- May 23, 2007
-
-
Devang Patel authored
llvm-svn: 37314
-
- May 03, 2007
-
-
Devang Patel authored
llvm-svn: 36694
-
Devang Patel authored
llvm-svn: 36662
-