- 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
-
Reid Spencer authored
llvm-svn: 16898
-
Reid Spencer authored
llvm-svn: 16897
-
Tanya Lattner authored
llvm-svn: 16895
-
Reid Spencer authored
llvm-svn: 16893
-
Reid Spencer authored
llvm-svn: 16892
-
- 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
-
Chris Lattner authored
llvm-svn: 16878
-
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
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
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
-debug-only! llvm-svn: 16868
-
Brian Gaeke authored
llvm-svn: 16866
-
Brian Gaeke authored
default 32/BE target on sparc hosts, and ppc will continue to be the default on other hosts. llvm-svn: 16865
-
Chris Lattner authored
llvm-svn: 16864
-
Chris Lattner authored
llvm-svn: 16863
-
Chris Lattner authored
llvm-svn: 16861
-
Chris Lattner authored
the -sse* options (to avoid misleading people). Also, the stack alignment of the target doesn't depend on whether SSE is eventually implemented, so remove a comment. llvm-svn: 16860
-
Chris Lattner authored
which prevented setcc's from being folded into branches. It appears that conditional branchinst's CC operand is actually operand(2), not operand(0) as we might expect. :( llvm-svn: 16859
-
Chris Lattner authored
llvm-svn: 16858
-
- Oct 08, 2004
-
-
Chris Lattner authored
* Do not lead dangling dead constants prevent optimization * Iterate global optimization while we're making progress. These changes allow us to be more aggressive, handling cases like GlobalOpt/iterate.llx without a problem (turning it into 'ret int 0'). llvm-svn: 16857
-
Chris Lattner authored
we know it is dead. llvm-svn: 16855
-
Misha Brukman authored
llvm-svn: 16854
-
Chris Lattner authored
254.gap. llvm-svn: 16853
-
Misha Brukman authored
llvm-svn: 16852
-
Misha Brukman authored
llvm-svn: 16850
-
Misha Brukman authored
llvm-svn: 16849
-