- Oct 11, 2004
-
-
Misha Brukman authored
llvm-svn: 16906
-
Misha Brukman authored
llvm-svn: 16905
-
Misha Brukman authored
llvm-svn: 16904
-
Misha Brukman authored
llvm-svn: 16903
-
Misha Brukman authored
llvm-svn: 16902
-
Chris Lattner authored
still optimize away all of the indirect calls and loads, etc from it. This turns code like this: if (G != 0) G(); into if (G != 0) ActualCallee(); This triggers a couple of times in gcc and libstdc++. llvm-svn: 16901
-
Chris Lattner authored
we cannot completely eliminate the global. llvm-svn: 16900
-
Reid Spencer authored
llvm-svn: 16899
-
Reid Spencer authored
llvm-svn: 16898
-
Reid Spencer authored
llvm-svn: 16897
-
Reid Spencer authored
llvm-svn: 16896
-
Tanya Lattner authored
llvm-svn: 16895
-
Reid Spencer authored
llvm-svn: 16894
-
Reid Spencer authored
llvm-svn: 16893
-
Reid Spencer authored
llvm-svn: 16892
-
Reid Spencer authored
llvm-svn: 16891
-
Reid Spencer authored
llvm-svn: 16890
-
Reid Spencer authored
llvm-svn: 16889
-
Reid Spencer authored
llvm-svn: 16888
-
- Oct 10, 2004
-
-
Reid Spencer authored
llvm-svn: 16887
-
Reid Spencer authored
llvm-svn: 16886
-
Reid Spencer authored
llvm-svn: 16885
-
Brian Gaeke authored
returns 'bool' type. llvm-svn: 16884
-
Brian Gaeke authored
Wrap a long comment line. llvm-svn: 16883
-
Brian Gaeke authored
argument values passed in (so they're not dead until *after* the call), and callees are free to modify those registers. llvm-svn: 16882
-
Brian Gaeke authored
Deal with allocating stack space for outgoing args and copying them into the correct stack slots (at least, we can copy <=32-bit int args). We now correctly generate ADJCALLSTACK* instructions. llvm-svn: 16881
-
Reid Spencer authored
llvm-svn: 16880
-
Reid Spencer authored
Use correct options to automake. llvm-svn: 16879
-
Chris Lattner authored
llvm-svn: 16878
-
Chris Lattner authored
actually in the wild :) llvm-svn: 16877
-
Chris Lattner authored
stored to, but are stored at variable indexes. This occurs at least in 176.gcc, but probably others, and we should handle it for completeness. llvm-svn: 16876
-
Chris Lattner authored
llvm-svn: 16875
-
Chris Lattner authored
has a large number of users. Instead, just keep track of whether we're making changes as we do so. This patch has no functionlity changes. llvm-svn: 16874
-
Chris Lattner authored
llvm-svn: 16873
-
- Oct 09, 2004
-
-
Chris Lattner authored
llvm-svn: 16872
-
Chris Lattner authored
we know that all uses of the global will trap if the pointer contained is null. In this case, we forward substitute the stored value to any uses. This has the effect of devirtualizing trivial globals in trivial cases. For example, 164.gzip contains this: gzip.h:extern int (*read_buf) OF((char *buf, unsigned size)); bits.c: read_buf = file_read; deflate.c: lookahead = read_buf((char*)window, deflate.c: n = read_buf((char*)window+strstart+lookahead, more); Since read_buf has to point to file_read at every use, we just replace the calls through read_buf with a direct call to file_read. This occurs in several benchmarks, including 176.gcc and 164.gzip. Direct calls are good and stuff. llvm-svn: 16871
-
Chris Lattner authored
llvm-svn: 16870
-
Chris Lattner authored
llvm-svn: 16869
-
Chris Lattner authored
-debug-only! llvm-svn: 16868
-
Chris Lattner authored
llvm-svn: 16867
-