1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
Commit Graph

15107 Commits

Author SHA1 Message Date
Reid Spencer
28feb03d39 Add compliant header.
NOTE: This doc needs to describe the bugpoint "subsystem" not the tool.

llvm-svn: 17415
2004-11-01 21:55:46 +00:00
Reid Spencer
f4cc206a6e Add missing tag.
llvm-svn: 17414
2004-11-01 21:31:39 +00:00
Reid Spencer
73114d33b3 Update table to llvm.css standards.
llvm-svn: 17409
2004-11-01 20:47:22 +00:00
Reid Spencer
36f04ab58a Get rid of bogus entity references.
llvm-svn: 17408
2004-11-01 20:41:01 +00:00
Chris Lattner
10de12fd46 Add placeholder variable to make Win32 work, applied for Morten Ofstad
llvm-svn: 17406
2004-11-01 20:10:20 +00:00
Reid Spencer
7685000497 Attempt CSS 2 compliance.
llvm-svn: 17404
2004-11-01 09:26:57 +00:00
Reid Spencer
1c55d1f610 Attempt CSS 2 validation.
llvm-svn: 17403
2004-11-01 09:25:03 +00:00
Reid Spencer
34a5b25579 HTML 4.01 Strict compliance.
llvm-svn: 17402
2004-11-01 09:22:49 +00:00
Reid Spencer
8fb076a94c Correct the document type declaration.
llvm-svn: 17401
2004-11-01 09:21:32 +00:00
Reid Spencer
e5965e39f2 Add the HTML 4.01 and CSS icons with links to validators.
llvm-svn: 17400
2004-11-01 09:19:53 +00:00
Reid Spencer
0ad8f7d7ac Attempt HTML 4.01 Strict compliance.
llvm-svn: 17399
2004-11-01 09:16:30 +00:00
Reid Spencer
757226cd13 Cleanup the constants section.
llvm-svn: 17398
2004-11-01 09:02:53 +00:00
Reid Spencer
d3b588c95f Remove spurious end tag, fix indentation.
llvm-svn: 17397
2004-11-01 08:30:14 +00:00
Reid Spencer
58d1e87033 Make HTML 4.01 Strict compliant.
llvm-svn: 17396
2004-11-01 08:26:25 +00:00
Reid Spencer
2cc38af3df Fix tag placement to make HTML 4.01 Strict compliant.
llvm-svn: 17395
2004-11-01 08:24:13 +00:00
Reid Spencer
bd18813e36 Minor format tweask for tables.
llvm-svn: 17394
2004-11-01 08:19:36 +00:00
Reid Spencer
c40d5f3949 Add layout classes for table elements so tables can be used for layouts.
This is easier than attempting to figure out dual purpose columnar layouts
for multiple browser types. All browsers understand tables.

llvm-svn: 17393
2004-11-01 08:18:06 +00:00
Reid Spencer
69b07e3126 Configuration -> BuildMode
llvm-svn: 17392
2004-11-01 07:53:17 +00:00
Reid Spencer
172d3d0936 Eliminate redundant variable definition. Rename Configuration -> BuildMode
Make lex/yacc output cleaned only if in a directory that has those sources.

llvm-svn: 17391
2004-11-01 07:50:27 +00:00
Chris Lattner
b81520727e Speed up the tail duplication pass on the testcase below from 68.2s to 1.23s:
#define CL0(a) case a: f(); goto c;
 #define CL1(a) CL0(a##0) CL0(a##1) CL0(a##2) CL0(a##3) CL0(a##4) CL0(a##5) \
 CL0(a##6) CL0(a##7) CL0(a##8) CL0(a##9)
 #define CL2(a) CL1(a##0) CL1(a##1) CL1(a##2) CL1(a##3) CL1(a##4) CL1(a##5) \
 CL1(a##6) CL1(a##7) CL1(a##8) CL1(a##9)
 #define CL3(a) CL2(a##0) CL2(a##1) CL2(a##2) CL2(a##3) CL2(a##4) CL2(a##5) \
 CL2(a##6) CL2(a##7) CL2(a##8) CL2(a##9)
 #define CL4(a) CL3(a##0) CL3(a##1) CL3(a##2) CL3(a##3) CL3(a##4) CL3(a##5) \
 CL3(a##6) CL3(a##7) CL3(a##8) CL3(a##9)

 void f();

 void a() {
     int b;
  c: switch (b) {
         CL4(1)
     }
 }

This comes from GCC PR 15524

llvm-svn: 17390
2004-11-01 07:05:07 +00:00
Chris Lattner
3083f2a424 Do not compute the predecessor list for a block unless we need it.
This speeds up simplifycfg on this program, from 44.87s to 0.29s (with
a profiled build):

 #define CL0(a) case a: goto c;
 #define CL1(a) CL0(a##0) CL0(a##1) CL0(a##2) CL0(a##3) CL0(a##4) CL0(a##5) \
 CL0(a##6) CL0(a##7) CL0(a##8) CL0(a##9)
 #define CL2(a) CL1(a##0) CL1(a##1) CL1(a##2) CL1(a##3) CL1(a##4) CL1(a##5) \
 CL1(a##6) CL1(a##7) CL1(a##8) CL1(a##9)
 #define CL3(a) CL2(a##0) CL2(a##1) CL2(a##2) CL2(a##3) CL2(a##4) CL2(a##5) \
 CL2(a##6) CL2(a##7) CL2(a##8) CL2(a##9)
 #define CL4(a) CL3(a##0) CL3(a##1) CL3(a##2) CL3(a##3) CL3(a##4) CL3(a##5) \
 CL3(a##6) CL3(a##7) CL3(a##8) CL3(a##9)

 void f();

 void a() {
     int b;
  c: switch (b) {
         CL4(1)
     }
 }

This testcase is contrived to expose N^2 behavior, but this patch should speedup
simplifycfg on any programs that use large switch statements.  This testcase
comes from GCC PR17895.

llvm-svn: 17389
2004-11-01 06:53:58 +00:00
Chris Lattner
5a49e20096 When compiling a file, indicate what build it is for
llvm-svn: 17388
2004-11-01 06:14:59 +00:00
Reid Spencer
0ffdf26840 Wrap to 80 cols
llvm-svn: 17385
2004-10-31 23:24:31 +00:00
Reid Spencer
8986c9c371 Add UsingLibraries.html link.
llvm-svn: 17384
2004-10-31 23:02:38 +00:00
Reid Spencer
dc9b121365 Give table headers the striped background.
llvm-svn: 17382
2004-10-31 23:01:02 +00:00
Reid Spencer
eddad74d50 * Moved from ObjectFiles.html
* Changed names of libraries to reflect new naming scheme
* Added some more introductory material
* Added a rule of thumb.

llvm-svn: 17381
2004-10-31 23:00:25 +00:00
Reid Spencer
f4cbd2d2ad Renamed UsingLibraries.html
llvm-svn: 17380
2004-10-31 22:59:06 +00:00
Reid Spencer
e4c584928d Get the shared library extension right on all platforms, regardless of what
Chris wants on his platform.

llvm-svn: 17379
2004-10-31 22:53:06 +00:00
Chris Lattner
8572d582cf Fix comment
llvm-svn: 17377
2004-10-31 21:54:51 +00:00
Reid Spencer
365ac26844 Fix output for building shared libraries per Chris' requirements
llvm-svn: 17376
2004-10-31 21:07:34 +00:00
Chris Lattner
d72b6b1e77 Improve comment
llvm-svn: 17375
2004-10-31 19:57:43 +00:00
Reid Spencer
24494ee631 Actually use the correct variable name for building bytecode files.
llvm-svn: 17374
2004-10-31 18:52:15 +00:00
Reid Spencer
ed387ce163 Add the preconditions target per suggestion by Henrik Bach.
llvm-svn: 17373
2004-10-31 18:50:34 +00:00
Reid Spencer
d404203b50 One more missing end tag.
llvm-svn: 17371
2004-10-31 17:58:58 +00:00
Reid Spencer
631f71f093 Correct tag usage for HTML 4.01 Strict compliance
llvm-svn: 17370
2004-10-31 17:56:50 +00:00
Reid Spencer
796028a5e8 Add a tutorial and some more general concepts.
llvm-svn: 17369
2004-10-31 17:51:38 +00:00
Chris Lattner
14d85c9b09 Add more paranoid assertions :)
llvm-svn: 17367
2004-10-31 17:45:40 +00:00
Misha Brukman
e7c9d80670 No, really, the library name is `LLVMexecve'
llvm-svn: 17366
2004-10-31 17:30:52 +00:00
Vikram S. Adve
1f9970e468 Fix patterns to match only one-char words.
llvm-svn: 17365
2004-10-30 23:11:26 +00:00
Reid Spencer
d929c57e06 Add a few more terms.
llvm-svn: 17364
2004-10-30 21:40:28 +00:00
Reid Spencer
8d83b2848f Complete the description of public variables. Internal variables are listed
but not described. It might just stay that way.

llvm-svn: 17363
2004-10-30 21:39:42 +00:00
Reid Spencer
d474420138 Change macro names per naming standard in Makefile.rules.
llvm-svn: 17361
2004-10-30 09:26:22 +00:00
Reid Spencer
d59269ff93 Correct macro names per naming standard in Makefile.rules
llvm-svn: 17360
2004-10-30 09:25:27 +00:00
Reid Spencer
acb1305e99 Internalize variable names to prevent recursive assignment. Cleanup docs.
llvm-svn: 17359
2004-10-30 09:19:36 +00:00
Chris Lattner
29b6259de3 Fix some more problems where we called getOffset before getNode()
llvm-svn: 17358
2004-10-30 07:21:19 +00:00
Chris Lattner
4b741eab69 Fix three bugs:
1. Calls to external global VARIABLES should not be treated as a call to an
    external function
 2. Efficiently deleting an element from a vector by using std::swap with
    the back, then pop_back is NOT a good way to keep the vector sorted.
 3. Our hope of having stuff get deleted by making them redundant just won't
    work.  In particular, if we have three calls in sequence that should be
    merged: A, B, C   first we unify B into A.  To be sure that they appeared
    identical (so B would be erased) we set B = A.  On the next step, we
    unified C into A and set C = A.  Unfortunately, this is no guarantee that
    C = B, so we would fail to delete the dead call.  Switch to a more
    explicit scheme.

llvm-svn: 17357
2004-10-30 05:41:23 +00:00
Chris Lattner
14dfc01ad5 Fix more undefined behavior
llvm-svn: 17356
2004-10-30 04:22:45 +00:00
Chris Lattner
c17cd85776 * Add a method
* change some uses of NH.getNode() in a bool context to use !NH.isNull()
* Fix a bunch of places where we depended on the (undefined) order of
  evaluation of arguments to function calls to ensure that getNode() was
  called before getOffset().  In practice, this was NOT happening.

llvm-svn: 17354
2004-10-30 04:05:01 +00:00
Chris Lattner
5242fcc785 Add an assertion and a method
llvm-svn: 17353
2004-10-30 04:03:47 +00:00
Chris Lattner
f7f0cc323e No really, this is LLVM!
llvm-svn: 17352
2004-10-30 00:57:52 +00:00