- Oct 08, 2008
-
-
Duncan Sands authored
Patch by Samuel Tardieu. llvm-svn: 57291
-
- Oct 01, 2008
-
-
Duncan Sands authored
pointer bitcasts and GEP's", and centralize the logic in Value::getUnderlyingObject. The difference with stripPointerCasts is that stripPointerCasts only strips GEPs if all indices are zero, while getUnderlyingObject strips GEPs no matter what the indices are. llvm-svn: 56922
-
- Sep 04, 2008
-
-
Dan Gohman authored
llvm-svn: 55779
-
Owen Anderson authored
llvm-svn: 55744
-
- Aug 27, 2008
-
-
Owen Anderson authored
Put a heuristic in place to prevent GVN from falling into bad cases with massively complicated CFGs. This speeds up a particular testcase from 12+ hours to 5 seconds with little perceptible loss of quality. llvm-svn: 55391
-
- Aug 22, 2008
-
-
Chris Lattner authored
Patch contributed by m-s. llvm-svn: 55167
-
- Jul 18, 2008
-
-
Duncan Sands authored
llvm-svn: 53771
-
Owen Anderson authored
Make PRE actually handle critical edges (by splitting them). Confirmed that bootstrap passes with this change. llvm-svn: 53762
-
- Jul 17, 2008
-
-
Owen Anderson authored
llvm-svn: 53730
-
Owen Anderson authored
llvm-svn: 53705
-
- Jul 16, 2008
-
-
Owen Anderson authored
could cause problems for memdep when it breaks critical edges. llvm-svn: 53691
-
- Jul 15, 2008
-
-
Owen Anderson authored
llvm-svn: 53627
-
Owen Anderson authored
llvm-svn: 53616
-
Owen Anderson authored
Have GVN do a pre-pass over the CFG that folds away unconditional branches where possible. This allows local PRE to be more aggressive. llvm-svn: 53615
-
- Jul 11, 2008
-
-
Owen Anderson authored
llvm-svn: 53470
-
- Jul 03, 2008
-
-
Owen Anderson authored
Use information already present in the ValueTable to fast-fail when we know there won't be a value number match. This speeds up GVN on a case where there are very few redundancies by ~25%. llvm-svn: 53108
-
- Jul 02, 2008
-
-
Owen Anderson authored
llvm-svn: 53040
-
Owen Anderson authored
llvm-svn: 53032
-
- Jun 23, 2008
-
-
Evan Cheng authored
llvm-svn: 52643
-
Owen Anderson authored
Tighten the conditions under which we do PRE, remove some unneeded code, and correct our preserved analyses list, since we do now change the CFG by splitting critical edges during PRE. llvm-svn: 52631
-
- Jun 21, 2008
-
-
Evan Cheng authored
llvm-svn: 52574
-
- Jun 20, 2008
-
-
Owen Anderson authored
llvm-svn: 52531
-
Owen Anderson authored
Change around the data structures used to store availability sets, resulting in a GVN+PRE that is faster that GVN alone was before. llvm-svn: 52521
-
Evan Cheng authored
llvm-svn: 52518
-
- Jun 19, 2008
-
-
Owen Anderson authored
once benchmarking is completed. llvm-svn: 52506
-
Owen Anderson authored
llvm-svn: 52505
-
Owen Anderson authored
This fixes a failure on povray. llvm-svn: 52499
-
Owen Anderson authored
GVN expects that all inputs which to an instruction fall somewhere in the value hierarchy, which isn't true for these. llvm-svn: 52496
-
- Jun 18, 2008
-
-
Owen Anderson authored
llvm-svn: 52472
-
Owen Anderson authored
Add local PRE to GVN. This only operates in cases where it would not increase code size, namely when the instantiated expression would only need to be created in one predecessor. llvm-svn: 52471
-
Owen Anderson authored
We don't want to find dependencies within the same block in this case. It leads to incorrect results because we're detecting something at or after the call we're querying on. llvm-svn: 52433
-
- Jun 12, 2008
-
-
Owen Anderson authored
llvm-svn: 52242
-
- Jun 05, 2008
-
-
Matthijs Kooijman authored
deprecated by the GVN and GVNPRE passes. llvm-svn: 51983
-
- Jun 04, 2008
-
-
Owen Anderson authored
llvm-svn: 51955
-
- May 18, 2008
-
-
Nate Begeman authored
llvm-svn: 51230
-
- May 14, 2008
-
-
Owen Anderson authored
bug as well as a missed optimization. We weren't properly checking for local dependencies before moving on to non-local ones when doing non-local read-only call CSE. llvm-svn: 51082
-
- May 13, 2008
-
-
Owen Anderson authored
llvm-svn: 51035
-
Owen Anderson authored
llvm-svn: 51024
-
- May 12, 2008
-
-
Owen Anderson authored
llvm-svn: 50995
-
Owen Anderson authored
Move the various analyses used by GVN into static variables so we don't have to keep passing them around or refetching them. llvm-svn: 50963
-