1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
Commit Graph

8523 Commits

Author SHA1 Message Date
Chris Lattner
47f7c74aa1 TTify, add links between pages
llvm-svn: 8939
2003-10-07 20:17:24 +00:00
Chris Lattner
4a2774b669 Consistently set the background color
Change the footer to include "maintained by"

llvm-svn: 8938
2003-10-07 20:12:05 +00:00
Chris Lattner
1121c33cd5 <tt>ify things
llvm-svn: 8937
2003-10-07 20:09:21 +00:00
Chris Lattner
9e5b7c2ecd Make the index page a big more attractive
llvm-svn: 8936
2003-10-07 20:05:23 +00:00
Chris Lattner
e437895e80 More changes and updates
llvm-svn: 8935
2003-10-07 20:01:09 +00:00
Chris Lattner
b37e685187 <tt>ify, other minor cleanups
llvm-svn: 8934
2003-10-07 19:51:55 +00:00
Chris Lattner
0adfc1f6b9 <tt> stuff
simplify a bit

llvm-svn: 8933
2003-10-07 19:48:25 +00:00
Chris Lattner
9c2cadd1a5 Add pointer to LLC for code generator options. <tt> a bunch of stuff which should be
llvm-svn: 8932
2003-10-07 19:46:37 +00:00
Chris Lattner
5c9ce6192c separate options into X86 and sparc specific options
llvm-svn: 8931
2003-10-07 19:42:50 +00:00
Chris Lattner
bbfaf77c5d Fix bugzilla bug #5
llvm-svn: 8930
2003-10-07 19:33:31 +00:00
John Criswell
055747bd64 These scripts are no longer needed. They have been replaced by QMTest.
llvm-svn: 8929
2003-10-07 19:07:00 +00:00
Chris Lattner
a18861ff29 Bill contributed this major rewrite of the -lowerswitch pass to make it generate
logarithmic conditional branch sequences instead of linear sequences.  Thanks Bill!

llvm-svn: 8928
2003-10-07 18:46:23 +00:00
Brian Gaeke
0c819b1375 Add target to regenerate top-level "configure" script.
llvm-svn: 8927
2003-10-07 17:12:11 +00:00
Chris Lattner
315c3cb5ee Wrap at 80 columns
remove -time-passes and -stats, because llvm-link doesn't really need them

llvm-svn: 8926
2003-10-07 16:36:25 +00:00
Chris Lattner
27e7a7c25f Renamed llvmas.html llvmdis.html and llvmlink.html to have hyphens in them
llvm-svn: 8925
2003-10-07 16:34:51 +00:00
Chris Lattner
d4a046e8dc remove options specific to the -internalize pass, add the -debug option
llvm-svn: 8924
2003-10-07 16:33:42 +00:00
Misha Brukman
4c0e564072 Depend on config.status instead of config.h, because config.h timestamp may not
change even though configure changes.

llvm-svn: 8923
2003-10-07 15:24:23 +00:00
Chris Lattner
edb06ce061 Fix bug in previous checkin
llvm-svn: 8922
2003-10-07 15:17:02 +00:00
John Criswell
bbebc106ee Added targets that force users to re-run autoconf when the script has been
updated.

llvm-svn: 8921
2003-10-07 14:16:44 +00:00
Chris Lattner
d6ed5425f4 This header file moved. Thanks to Bill and Nightly tester for noticing
llvm-svn: 8920
2003-10-07 13:45:51 +00:00
Brian Gaeke
6d3c51e732 regenerated using autoconf-2.57.
llvm-svn: 8917
2003-10-07 06:01:34 +00:00
Brian Gaeke
6d8352167d Don't abort if dlopen cannot be found; it's not like it's going to break
everything.

llvm-svn: 8916
2003-10-07 05:03:36 +00:00
Brian Gaeke
c81f2ee339 Check for functions: strtoq, strtoll.
llvm-svn: 8915
2003-10-07 03:56:29 +00:00
Chris Lattner
24a50d0daa new testcase, distilled by Brian
llvm-svn: 8914
2003-10-07 02:57:51 +00:00
Misha Brukman
304df70973 Break lines so that they fit within 80 columns.
llvm-svn: 8901
2003-10-06 19:26:00 +00:00
Misha Brukman
86c124f827 * Alphabetized order of tools
* Added blurb about `bugpoint'
* Fixed some grammar issues
* Added blurb about `llvm-link'
* Took out the part about the `lli debugger' which disappeared

llvm-svn: 8900
2003-10-06 19:23:34 +00:00
Chris Lattner
151444f98f Actually _PASS IN_ NO_RESERVE if we have it.
Thanks to Brian for fixing this obvious oops

llvm-svn: 8899
2003-10-06 19:07:41 +00:00
Misha Brukman
a1a55a6071 ToolRunner.h has been moved from include/Support to include/llvm/Support.
llvm-svn: 8898
2003-10-06 18:37:24 +00:00
Misha Brukman
3ab5f2d5d4 Moved to llvm/include/llvm/Support because it is LLVM-specific.
llvm-svn: 8897
2003-10-06 18:34:38 +00:00
Chris Lattner
394f190dab Remove unneeded dtors
llvm-svn: 8896
2003-10-06 17:36:49 +00:00
Chris Lattner
6f939cc824 Users can never be null
llvm-svn: 8895
2003-10-06 17:33:39 +00:00
Chris Lattner
e6955c77e0 Minor speedups for the instcombine pass
llvm-svn: 8894
2003-10-06 17:11:01 +00:00
Chris Lattner
512ab7b5fd Speed up the predicate used to decide when to inline by caching the size
of callees between executions.

On eon, in release mode, this changes the inliner from taking 11.5712s
to taking 2.2066s.  In debug mode, it went from taking 14.4148s to
taking 7.0745s.  In release mode, this is a 24.7% speedup of gccas, in
debug mode, it's a total speedup of 11.7%.

This also makes it slightly more aggressive.  This could be because we
are not judging the size of the functions quite as accurately as before.
When we start looking at the performance of the generated code, this can
be investigated further.

llvm-svn: 8893
2003-10-06 15:52:43 +00:00
Brian Gaeke
f9a4341b54 Add # of printed instructions statistic to both the SPARC and X86 LLC backends.
llvm-svn: 8892
2003-10-06 15:41:21 +00:00
Brian Gaeke
3a8a90cdfb I wanted to make the top of the page less verbose. Hope this helps.
llvm-svn: 8891
2003-10-06 15:30:00 +00:00
Chris Lattner
5b814e067a Avoid doing pointless work. Amazingly, this makes us go faster.
Running the inliner on 252.eon used to take 48.4763s, now it takes 14.4148s.

In release mode, it went from taking 25.8741s to taking 11.5712s.

This also fixes a FIXME.

llvm-svn: 8890
2003-10-06 15:23:43 +00:00
Chris Lattner
da4d014b4c Implement the NamedRegionTimer class
llvm-svn: 8889
2003-10-06 15:02:31 +00:00
Chris Lattner
05f16ed60b Doxygenize class comments. Add new NamedRegionTimer class
llvm-svn: 8888
2003-10-06 15:02:16 +00:00
Brian Gaeke
7bd96d6b90 All of our supported operating systems (so far) and FreeBSD technically
want you to include <sys/stat.h> for fstat(), struct stat, and friends.

llvm-svn: 8887
2003-10-06 03:30:28 +00:00
Chris Lattner
1f8cc072e4 Hand update the configure script for moved directories
llvm-svn: 8886
2003-10-06 02:13:00 +00:00
Chris Lattner
e315e99799 Changes for the move of the support directory back into utils
llvm-svn: 8885
2003-10-06 02:09:25 +00:00
Chris Lattner
87f1ce9b96 This changes the PromoteMemToReg function to create "pruned" SSA form, not
"minimal" SSA form (in other words, it doesn't insert dead PHIs).  This
speeds up the mem2reg pass very significantly because it doesn't have to
do a lot of frivolous work in many common cases.

In the 252.eon function I have been playing with, this doesn't even insert
the 120 PHI nodes that it used to which were trivially dead (in the process
of promoting 356 alloca instructions overall).  This speeds up the mem2reg
pass from 1.2459s to 0.1284s.  More significantly, the DCE pass used to take
2.4138s to remove the 120 dead PHI nodes that mem2reg constructed, now it
takes 0.0134s (which is the time to scan the function and decide that there
is nothing dead).  So overall, on this one function, we speed things up a
total of 3.5179s, which is a 24.8x speedup!  :)

This change is tested by the Mem2Reg/2003-10-05-DeadPHIInsertion.ll test,
which now passes.

llvm-svn: 8884
2003-10-05 22:19:20 +00:00
Chris Lattner
d1c3f771f8 Change the interface to PromoteMemToReg to also take a DominatorTree
llvm-svn: 8883
2003-10-05 21:20:13 +00:00
Chris Lattner
177e89669f new testcase
llvm-svn: 8882
2003-10-05 21:11:57 +00:00
Chris Lattner
47c12a2771 Speed up the mem2reg transform for allocas which are only read/written in a single
basic block.  This is amazingly common in code generated by the C/C++ front-ends.
This change makes it not have to insert ANY phi nodes, whereas before it would insert
a ton of dead ones which DCE would have to clean up.

Thus, this fix improves compile-time performance of these trivial allocas in two ways:
  1. It doesn't have to do the walking and book-keeping for renaming
  2. It does not insert dead phi nodes for them which would have to
     subsequently be cleaned up.

On my favorite testcase from 252.eon, this special case handles 305 out of
356 promoted allocas in the function.  It speeds up the mem2reg pass from 7.5256s
to 1.2505s.  It inserts 677 fewer dead PHI nodes, which speeds up a subsequent
-dce pass from 18.7524s to 2.4806s.

There are still 120 trivially dead PHI nodes being inserted for variables used
in multiple basic blocks, but they are not handled by this patch.

llvm-svn: 8881
2003-10-05 20:54:03 +00:00
Chris Lattner
06872fb674 The support directory no longer exists
llvm-svn: 8880
2003-10-05 19:33:27 +00:00
Chris Lattner
fa10b12e44 Oops, missed the . files
llvm-svn: 8879
2003-10-05 19:32:56 +00:00
Chris Lattner
ae8aec994f Move support/lib into lib/Support
Move support/tools into utils

llvm-svn: 8878
2003-10-05 19:32:12 +00:00
Chris Lattner
e522cdbdff Revert back to keeping Burg and TableGen in the utils directory
llvm-svn: 8876
2003-10-05 19:28:27 +00:00
Chris Lattner
1e1215d0d7 Move support/tools/* back into utils
llvm-svn: 8875
2003-10-05 19:27:59 +00:00