- Mar 07, 2004
-
-
Chris Lattner authored
variables. llvm-svn: 12193
-
- Mar 01, 2004
-
-
Misha Brukman authored
* Removing extraneous empty space and empty comment lines llvm-svn: 12014
-
- Feb 27, 2004
-
-
Chris Lattner authored
llvm-svn: 11919
-
- Feb 26, 2004
-
-
Chris Lattner authored
multiple type names for the same structural type. Make DTE eliminate all but one of the type names llvm-svn: 11879
-
- Feb 25, 2004
-
-
Chris Lattner authored
assume that if they don't intend to write to a global variable, that they would mark it as constant. However, there are people that don't understand that the compiler can do nice things for them if they give it the information it needs. This pass looks for blatently obvious globals that are only ever read from. Though it uses a trivially simple "alias analysis" of sorts, it is still able to do amazing things to important benchmarks. 253.perlbmk, for example, contains several ***GIANT*** function pointer tables that are not marked constant and should be. Marking them constant allows the optimizer to turn a whole bunch of indirect calls into direct calls. Note that only a link-time optimizer can do this transformation, but perlbmk does have several strings and other minor globals that can be marked constant by this pass when run from GCCAS. 176.gcc has a ton of strings and large tables that are marked constant, both at compile time (38 of them) and at link time (48 more). Other benchmarks give similar results, though it seems like big ones have disproportionally more than small ones. This pass is extremely quick and does good things. I'm going to enable it in gccas & gccld. Not bad for 50 SLOC. llvm-svn: 11836
-
- Feb 13, 2004
-
-
Chris Lattner authored
llvm-svn: 11383
-
- Feb 09, 2004
-
-
Chris Lattner authored
llvm-svn: 11229
-
Chris Lattner authored
llvm-svn: 11228
-
Chris Lattner authored
llvm-svn: 11224
-
- Feb 08, 2004
-
-
Chris Lattner authored
llvm-svn: 11202
-
Chris Lattner authored
llvm-svn: 11200
-
Chris Lattner authored
llvm-svn: 11199
-
- Feb 04, 2004
-
-
Chris Lattner authored
llvm-svn: 11111
-
- Feb 02, 2004
-
-
Brian Gaeke authored
(I just love typing haX0r. haX0r haX0r haX0r.) llvm-svn: 11079
-
- Jan 09, 2004
-
-
Chris Lattner authored
llvm-svn: 10726
-
- Dec 28, 2003
-
-
Chris Lattner authored
we converge llvm-svn: 10618
-
- Dec 23, 2003
-
-
Chris Lattner authored
llvm-svn: 10586
-
- Dec 07, 2003
-
-
Chris Lattner authored
llvm-svn: 10305
-
- Nov 22, 2003
-
-
Chris Lattner authored
llvm-svn: 10164
-
Chris Lattner authored
llvm-svn: 10163
-
- Nov 21, 2003
-
-
Chris Lattner authored
would have caught this. *sigh* llvm-svn: 10142
-
Chris Lattner authored
llvm-svn: 10138
-
Chris Lattner authored
llvm-svn: 10137
-
Chris Lattner authored
* Make the cost metric for passing constants in as arguments to functions MUCH more accurate, by actually estimating the amount of code that will be constant propagated away. llvm-svn: 10136
-
Chris Lattner authored
Print out the costs for functions that AREN'T inlined as well llvm-svn: 10135
-
- Nov 20, 2003
-
-
Chris Lattner authored
* Implement FuncResolve/2003-11-20-BogusResolveWarning.ll ... which eliminates a large number of annoying warnings. I know misha will miss them though! llvm-svn: 10123
-
Chris Lattner authored
llvm-svn: 10111
-
Chris Lattner authored
and pages of non-symbolic types. llvm-svn: 10109
-
- Nov 17, 2003
-
-
Misha Brukman authored
llvm-svn: 10055
-
- Nov 11, 2003
-
-
Brian Gaeke authored
llvm-svn: 9903
-
- Nov 09, 2003
-
-
Chris Lattner authored
pool allocator no end of trouble, and doesn't make a lot of sense anyway. This does not solve the problem with mutually recursive functions, but they are much less common. llvm-svn: 9828
-
Chris Lattner authored
llvm-svn: 9827
-
- Nov 06, 2003
-
-
Chris Lattner authored
llvm-svn: 9752
-
- Nov 05, 2003
-
-
Chris Lattner authored
of intrinsic functions, causing the verifier to fail. llvm-svn: 9745
-
Chris Lattner authored
llvm-svn: 9741
-
- Nov 02, 2003
-
-
Chris Lattner authored
llvm-svn: 9648
-
- Oct 31, 2003
-
-
Chris Lattner authored
functions. GRR llvm-svn: 9641
-
- Oct 29, 2003
-
-
Chris Lattner authored
llvm-svn: 9579
-
Chris Lattner authored
llvm-svn: 9572
-
- Oct 27, 2003
-
-
Chris Lattner authored
do something dumb, and inefficient, but more complete. llvm-svn: 9542
-