- Oct 02, 2004
-
-
Chris Lattner authored
llvm-svn: 16631
-
- Oct 01, 2004
-
-
Chris Lattner authored
and delete them if they turn out to be dead. This is a useful little hack that even speeds up some programs. For example, it speeds up Ptrdist/ks from 17.53s to 15.59s, and 188.ammp from 149s to 146s. This also speeds up llc :) llvm-svn: 16630
-
Chris Lattner authored
generated code over the simple spiller. The new local spiller generates substantially better code than the simple one in some cases, by reusing values that are loaded out of stack slots and kept available in registers. This primarily helps programs that are spilling a lot, and there is still stuff that can be done to improve it. This patch makes the local spiller the default, as it's only a tiny bit slower than the simple spiller (it increases the runtime of llc by < 1%). Here are some numbers with speedups. Program #reuse old(s) new(s) Speedup Povray: 3452, 16.87 -> 15.93 (5.5%) 177.mesa: 2176, 2.77 -> 2.76 (0%) 179.art: 35, 28.43 -> 28.01 (1.5%) 183.equake: 55, 61.44 -> 61.41 (0%) 188.ammp: 869, 174 -> 149 (15%) 164.gzip: 43, 40.73 -> 40.71 (0%) 175.vpr: 351, 18.54 -> 17.34 (6.5%) 176.gcc: 2471, 5.01 -> 4.92 (1.8%) 181.mcf 42, 79.30 -> 75.20 (5.2%) 186.crafty: 484, 29.73 -> 30.04 (-1%) 197.parser: 251, 10.47 -> 10.67 (-1%) 252.eon: 1501, 1.98 -> 1.75 (12%) 253.perlbm: 1183, 14.83 -> 14.42 (2.8%) 254.gap: 825, 7.46 -> 7.29 (2.3%) 255.vortex: 285, 10.51 -> 10.27 (2.3%) 256.bzip2: 63, 55.70 -> 55.20 (0.9%) 300.twolf: 830, 21.63 -> 22.00 (-1%) PtrDist/ks 14, 32.75 -> 17.53 (46.5%) Olden/tsp 46, 8.71 -> 8.24 (5.4%) Free/distray 70, 1.09 -> 0.99 (9.2%) llvm-svn: 16629
-
Chris Lattner authored
llvm-svn: 16628
-
Misha Brukman authored
Interpreter. llvm-svn: 16627
-
Alkis Evlogimenos authored
llvm-svn: 16626
-
- Sep 30, 2004
-
-
Alkis Evlogimenos authored
llvm-svn: 16625
-
Alkis Evlogimenos authored
llvm-svn: 16624
-
Brian Gaeke authored
or cleared externally. llvm-svn: 16623
-
Brian Gaeke authored
llvm-svn: 16622
-
Brian Gaeke authored
llvm-svn: 16621
-
Brian Gaeke authored
llvm-svn: 16620
-
Brian Gaeke authored
Make accessors return FunctionPass* as appropriate. llvm-svn: 16619
-
Brian Gaeke authored
llvm-svn: 16618
-
Misha Brukman authored
llvm-svn: 16617
-
Misha Brukman authored
llvm-svn: 16616
-
Misha Brukman authored
llvm-svn: 16615
-
Chris Lattner authored
targets that supported multiple memory operands. llvm-svn: 16614
-
Chris Lattner authored
llvm-svn: 16613
-
Chris Lattner authored
* Add const_iterator stuff * Add a print method, which means that I can now call dump() from the debugger. llvm-svn: 16612
-
Brian Gaeke authored
Add some comments. llvm-svn: 16611
-
Brian Gaeke authored
to find instrs that have delay slots. llvm-svn: 16610
-
Chris Lattner authored
llvm-svn: 16609
-
Chris Lattner authored
two spillers produce perfectly identical code (at least on povray and eon), but the simple spiller is substantially faster than the local spiller. Once the local spiller is improved, we can switch back. Switching cuts 5.2% off of the llc time for povray (about 1.3s). llvm-svn: 16608
-
Chris Lattner authored
use a simple vector. This speeds up -spiller=simple from taking 22s to taking .1s on povray (debug build). This change does not modify the generated code. llvm-svn: 16607
-
Chris Lattner authored
data structures). Fix the print method to send to the right ostream, not always cerr. Delete typedefs that are only used once. llvm-svn: 16606
-
Chris Lattner authored
the beginning of processing the next one. llvm-svn: 16605
-
Chris Lattner authored
prune #includes, add print/dump methods, etc. No functionality changes. llvm-svn: 16604
-
Chris Lattner authored
that always prints when linking programs to libstdc++ :( llvm-svn: 16603
-
Misha Brukman authored
won't work if not compiled in V9 mode, currently by GCC only, because Sun's system compiler does not tell us if it's a V8 or V9 system. llvm-svn: 16602
-
- Sep 29, 2004
-
-
Chris Lattner authored
llvm-svn: 16598
-
Chris Lattner authored
llvm-svn: 16597
-
Brian Gaeke authored
llvm-svn: 16595
-
Brian Gaeke authored
llvm-svn: 16594
-
Chris Lattner authored
This method is linear time in the size of the basic block, which is very bad for large basic blocks. On the Assembler/2004-09-29-VerifierIsReallySlow.llx testcase, the verifier changes from taking 50s to 0.23s with this patch. llvm-svn: 16593
-
Chris Lattner authored
llvm-svn: 16592
-
Brian Gaeke authored
llvm-svn: 16591
-
Brian Gaeke authored
something, because the wrong bit patterns get output. llvm-svn: 16590
-
Chris Lattner authored
* SubOne/AddOne functions always return ConstantInt, declare them as such * Pull code for handling setcc X, cst, where cst is at the end of the range, or cc is LE or GE up earlier in visitSetCondInst. This reduces #iterations in some cases. * Fold: (div X, C1) op C2 -> range check, implementing div.ll:test6 - test9. llvm-svn: 16588
-
Chris Lattner authored
llvm-svn: 16587
-