- Oct 24, 2009
-
-
Dan Gohman authored
llvm-svn: 85011
-
- Sep 28, 2009
-
-
Dan Gohman authored
llvm-svn: 82953
-
Dan Gohman authored
the PassManager code into a regular verifyAnalysis method. Also, reorganize loop verification. Make the LoopPass infrastructure call verifyLoop as needed instead of having LoopInfo::verifyAnalysis check every loop in the function after each looop pass. Add a new command-line argument, -verify-loop-info, to enable the expensive full checking. llvm-svn: 82952
-
- Sep 22, 2009
-
-
Chris Lattner authored
take into consideration that the result of an invoke is only valid in the normal dest, not the unwind dest. This caused 'PHINode::hasConstantValue' to return true in an invalid situation, causing mem2reg to delete a phi that was actually needed. This caused a crash building 483.xalancbmk. llvm-svn: 82491
-
Chris Lattner authored
no functionality change. llvm-svn: 82490
-
- Aug 23, 2009
-
-
Chris Lattner authored
update all code that this affects. llvm-svn: 79830
-
Chris Lattner authored
This also updates dominator related stuff. llvm-svn: 79825
-
- Aug 15, 2009
-
-
Chris Lattner authored
the pred list instead of a vector, saving a boat load of malloc/free's. llvm-svn: 79062
-
- May 21, 2009
-
-
Eli Friedman authored
PR4238. llvm-svn: 72223
-
- Jun 30, 2008
-
-
Devang Patel authored
llvm-svn: 52907
-
- Jun 27, 2008
-
-
Devang Patel authored
llvm-svn: 52829
-
- May 14, 2008
-
-
Devang Patel authored
llvm-svn: 51075
-
- Apr 21, 2008
-
-
Chris Lattner authored
llvm-svn: 50032
-
- Apr 16, 2008
-
-
Owen Anderson authored
llvm-svn: 49768
-
- Mar 21, 2008
-
-
Devang Patel authored
This patch fixes Benchmarks/Trimaran/enc-pc1/enc-pc1 failure reported by Grawp-PIC i386 nightly tester llvm-svn: 48623
-
- Mar 20, 2008
-
-
Devang Patel authored
llvm-svn: 48579
-
- Mar 19, 2008
-
-
Devang Patel authored
llvm-svn: 48554
-
- Dec 29, 2007
-
-
Chris Lattner authored
llvm-svn: 45418
-
- Oct 23, 2007
-
-
Owen Anderson authored
llvm-svn: 43259
-
- Oct 17, 2007
-
-
Owen Anderson authored
llvm-svn: 43059
-
- Oct 16, 2007
-
-
Owen Anderson authored
having dominator information on MBB's. llvm-svn: 43036
-
- Oct 08, 2007
-
-
Owen Anderson authored
Begin the process of allowing DomTree on MBB's. Step One: template DomTreeNode by making it a typedef of a templated DomTreeNodeBase. llvm-svn: 42743
-
- 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
-