oota-llvm.git
20 years agoAdd the HTML 4.01 and CSS icons with links to validators.
Reid Spencer [Mon, 1 Nov 2004 09:19:53 +0000 (09:19 +0000)]
Add the HTML 4.01 and CSS icons with links to validators.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17400 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAttempt HTML 4.01 Strict compliance.
Reid Spencer [Mon, 1 Nov 2004 09:16:30 +0000 (09:16 +0000)]
Attempt HTML 4.01 Strict compliance.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17399 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoCleanup the constants section.
Reid Spencer [Mon, 1 Nov 2004 09:02:53 +0000 (09:02 +0000)]
Cleanup the constants section.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17398 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoRemove spurious end tag, fix indentation.
Reid Spencer [Mon, 1 Nov 2004 08:30:14 +0000 (08:30 +0000)]
Remove spurious end tag, fix indentation.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17397 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMake HTML 4.01 Strict compliant.
Reid Spencer [Mon, 1 Nov 2004 08:26:25 +0000 (08:26 +0000)]
Make HTML 4.01 Strict compliant.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17396 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix tag placement to make HTML 4.01 Strict compliant.
Reid Spencer [Mon, 1 Nov 2004 08:24:13 +0000 (08:24 +0000)]
Fix tag placement to make HTML 4.01 Strict compliant.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17395 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMinor format tweask for tables.
Reid Spencer [Mon, 1 Nov 2004 08:19:36 +0000 (08:19 +0000)]
Minor format tweask for tables.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17394 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd layout classes for table elements so tables can be used for layouts.
Reid Spencer [Mon, 1 Nov 2004 08:18:06 +0000 (08:18 +0000)]
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17393 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoConfiguration -> BuildMode
Reid Spencer [Mon, 1 Nov 2004 07:53:17 +0000 (07:53 +0000)]
Configuration -> BuildMode

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17392 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoEliminate redundant variable definition. Rename Configuration -> BuildMode
Reid Spencer [Mon, 1 Nov 2004 07:50:27 +0000 (07:50 +0000)]
Eliminate redundant variable definition. Rename Configuration -> BuildMode
Make lex/yacc output cleaned only if in a directory that has those sources.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17391 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoSpeed up the tail duplication pass on the testcase below from 68.2s to 1.23s:
Chris Lattner [Mon, 1 Nov 2004 07:05:07 +0000 (07:05 +0000)]
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17390 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoDo not compute the predecessor list for a block unless we need it.
Chris Lattner [Mon, 1 Nov 2004 06:53:58 +0000 (06:53 +0000)]
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17389 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoWhen compiling a file, indicate what build it is for
Chris Lattner [Mon, 1 Nov 2004 06:14:59 +0000 (06:14 +0000)]
When compiling a file, indicate what build it is for

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17388 91177308-0d34-0410-b5e6-96231b3b80d8

20 years ago* Do not refer to ActualCallees in CBU, when we can do it locally.
Chris Lattner [Sun, 31 Oct 2004 23:41:26 +0000 (23:41 +0000)]
* Do not refer to ActualCallees in CBU, when we can do it locally.
* *DO NOT* print CBU graphs when asked to print our own.  This is just
  FREAKING confusing and misleading: it's better to not print anything.
* Simplify and clean up some code
* Add some more paranoia assertion checking code that I found to track
  down this bug:
* Fix a nasty bug that was causing us to crash on Prolangs-C++/objects,
  where we were missing processing some graphs.  This hunk is the bugfix:

-    if (!I->isExternal() && !FoldedGraphsMap.count(I))
+    if (!I->isExternal() && !ValMap.count(I))

  urg!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17386 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoWrap to 80 cols
Reid Spencer [Sun, 31 Oct 2004 23:24:31 +0000 (23:24 +0000)]
Wrap to 80 cols

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17385 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd UsingLibraries.html link.
Reid Spencer [Sun, 31 Oct 2004 23:02:38 +0000 (23:02 +0000)]
Add UsingLibraries.html link.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17384 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoSimplify graph traversal, improve grammar
Chris Lattner [Sun, 31 Oct 2004 23:01:34 +0000 (23:01 +0000)]
Simplify graph traversal, improve grammar

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17383 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoGive table headers the striped background.
Reid Spencer [Sun, 31 Oct 2004 23:01:02 +0000 (23:01 +0000)]
Give table headers the striped background.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17382 91177308-0d34-0410-b5e6-96231b3b80d8

20 years ago* Moved from ObjectFiles.html
Reid Spencer [Sun, 31 Oct 2004 23:00:25 +0000 (23:00 +0000)]
* Moved from ObjectFiles.html
* Changed names of libraries to reflect new naming scheme
* Added some more introductory material
* Added a rule of thumb.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17381 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoRenamed UsingLibraries.html
Reid Spencer [Sun, 31 Oct 2004 22:59:06 +0000 (22:59 +0000)]
Renamed UsingLibraries.html

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17380 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoGet the shared library extension right on all platforms, regardless of what
Reid Spencer [Sun, 31 Oct 2004 22:53:06 +0000 (22:53 +0000)]
Get the shared library extension right on all platforms, regardless of what
Chris wants on his platform.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17379 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoDo not do horrible things to the CBU graphs. In particular, we do NOT own
Chris Lattner [Sun, 31 Oct 2004 21:56:11 +0000 (21:56 +0000)]
Do not do horrible things to the CBU graphs.  In particular, we do NOT own
the CBU graphs, copy them instead of hacking on the CBU graphs.

Also, instead of forwarding request from ECGraphs clients to the CBU graphs
clients, service them ourselves.

Finally, remove a broken "optimization"

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17378 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix comment
Chris Lattner [Sun, 31 Oct 2004 21:54:51 +0000 (21:54 +0000)]
Fix comment

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17377 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix output for building shared libraries per Chris' requirements
Reid Spencer [Sun, 31 Oct 2004 21:07:34 +0000 (21:07 +0000)]
Fix output for building shared libraries per Chris' requirements

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17376 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoImprove comment
Chris Lattner [Sun, 31 Oct 2004 19:57:43 +0000 (19:57 +0000)]
Improve comment

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17375 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoActually use the correct variable name for building bytecode files.
Reid Spencer [Sun, 31 Oct 2004 18:52:15 +0000 (18:52 +0000)]
Actually use the correct variable name for building bytecode files.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17374 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd the preconditions target per suggestion by Henrik Bach.
Reid Spencer [Sun, 31 Oct 2004 18:50:34 +0000 (18:50 +0000)]
Add the preconditions target per suggestion by Henrik Bach.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17373 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix another bug in Prolangs-C++/objects
Chris Lattner [Sun, 31 Oct 2004 18:13:19 +0000 (18:13 +0000)]
Fix another bug in Prolangs-C++/objects

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17372 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoOne more missing end tag.
Reid Spencer [Sun, 31 Oct 2004 17:58:58 +0000 (17:58 +0000)]
One more missing end tag.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17371 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoCorrect tag usage for HTML 4.01 Strict compliance
Reid Spencer [Sun, 31 Oct 2004 17:56:50 +0000 (17:56 +0000)]
Correct  tag usage for HTML 4.01 Strict compliance

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17370 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd a tutorial and some more general concepts.
Reid Spencer [Sun, 31 Oct 2004 17:51:38 +0000 (17:51 +0000)]
Add a tutorial and some more general concepts.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17369 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoOnly call getNodeForValue on pointer arguments! this fixes a problem running
Chris Lattner [Sun, 31 Oct 2004 17:47:48 +0000 (17:47 +0000)]
Only call getNodeForValue on pointer arguments!  this fixes a problem running
on Prolangs-C++/objects

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17368 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd more paranoid assertions :)
Chris Lattner [Sun, 31 Oct 2004 17:45:40 +0000 (17:45 +0000)]
Add more paranoid assertions :)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17367 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoNo, really, the library name is `LLVMexecve'
Misha Brukman [Sun, 31 Oct 2004 17:30:52 +0000 (17:30 +0000)]
No, really, the library name is `LLVMexecve'

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17366 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix patterns to match only one-char words.
Vikram S. Adve [Sat, 30 Oct 2004 23:11:26 +0000 (23:11 +0000)]
Fix patterns to match only one-char words.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17365 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd a few more terms.
Reid Spencer [Sat, 30 Oct 2004 21:40:28 +0000 (21:40 +0000)]
Add a few more terms.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17364 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoComplete the description of public variables. Internal variables are listed
Reid Spencer [Sat, 30 Oct 2004 21:39:42 +0000 (21:39 +0000)]
Complete the description of public variables. Internal variables are listed
but not described. It might just stay that way.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17363 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoChange macro names per naming standard in Makefile.rules.
Reid Spencer [Sat, 30 Oct 2004 09:26:22 +0000 (09:26 +0000)]
Change macro names per naming standard in Makefile.rules.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17361 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoCorrect macro names per naming standard in Makefile.rules
Reid Spencer [Sat, 30 Oct 2004 09:25:27 +0000 (09:25 +0000)]
Correct macro names per naming standard in Makefile.rules

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17360 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoInternalize variable names to prevent recursive assignment. Cleanup docs.
Reid Spencer [Sat, 30 Oct 2004 09:19:36 +0000 (09:19 +0000)]
Internalize variable names to prevent recursive assignment. Cleanup docs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17359 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix some more problems where we called getOffset before getNode()
Chris Lattner [Sat, 30 Oct 2004 07:21:19 +0000 (07:21 +0000)]
Fix some more problems where we called getOffset before getNode()

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17358 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix three bugs:
Chris Lattner [Sat, 30 Oct 2004 05:41:23 +0000 (05:41 +0000)]
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17357 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix more undefined behavior
Chris Lattner [Sat, 30 Oct 2004 04:22:45 +0000 (04:22 +0000)]
Fix more undefined behavior

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17356 91177308-0d34-0410-b5e6-96231b3b80d8

20 years ago* Add a method
Chris Lattner [Sat, 30 Oct 2004 04:05:01 +0000 (04:05 +0000)]
* 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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17354 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd an assertion and a method
Chris Lattner [Sat, 30 Oct 2004 04:03:47 +0000 (04:03 +0000)]
Add an assertion and a method

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17353 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoNo really, this is LLVM!
Chris Lattner [Sat, 30 Oct 2004 00:57:52 +0000 (00:57 +0000)]
No really, this is LLVM!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17352 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFixed bug with infinite epilogues.
Tanya Lattner [Sat, 30 Oct 2004 00:39:07 +0000 (00:39 +0000)]
Fixed bug with infinite epilogues.
Fixed issue with generating the partial order. It now adds the nodes not in recurrences in sets for each connected component.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17351 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix file header comment
Misha Brukman [Fri, 29 Oct 2004 23:26:09 +0000 (23:26 +0000)]
Fix file header comment

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17350 91177308-0d34-0410-b5e6-96231b3b80d8

20 years ago* Fix compilation on AIX: GCC's fixincludes eliminates isinf() declaration
Misha Brukman [Fri, 29 Oct 2004 23:17:45 +0000 (23:17 +0000)]
* Fix compilation on AIX: GCC's fixincludes eliminates isinf() declaration
* Move file comment to the top of the header where it belongs

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17349 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoDon't modify user vars because they will get passed down (modified) to
Reid Spencer [Fri, 29 Oct 2004 22:14:56 +0000 (22:14 +0000)]
Don't modify user vars because they will get passed down (modified) to
sub-makes and recursively append causing huge command lines and incorrect
compilation results.

Also, fix the printvars target to align its output and ensure that the
contents of variables can't get interpreted by the shell.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17348 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoChange name of target lib to conform to new naming scheme.
Brian Gaeke [Fri, 29 Oct 2004 21:57:16 +0000 (21:57 +0000)]
Change name of target lib to conform to new naming scheme.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17347 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoRemove dependency on MRegisterInfo::getRegClass
Brian Gaeke [Fri, 29 Oct 2004 21:42:27 +0000 (21:42 +0000)]
Remove dependency on MRegisterInfo::getRegClass

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17346 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix grammar (i.e.)
Misha Brukman [Fri, 29 Oct 2004 19:20:42 +0000 (19:20 +0000)]
Fix grammar (i.e.)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17343 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoDisable the build in the samples directory so that llvmc dependencies don't
Reid Spencer [Fri, 29 Oct 2004 18:43:49 +0000 (18:43 +0000)]
Disable the build in the samples directory so that llvmc dependencies don't
mess up the build.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17342 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoThe Alpha (tm) intrinsics aren't even being used
Misha Brukman [Fri, 29 Oct 2004 18:43:43 +0000 (18:43 +0000)]
The Alpha (tm) intrinsics aren't even being used

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17341 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoThe Alpha (tm) intrinsics have never been used anywhere
Misha Brukman [Fri, 29 Oct 2004 18:43:17 +0000 (18:43 +0000)]
The Alpha (tm) intrinsics have never been used anywhere

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17340 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoLLEE execve() wrapper library has changed its name and location
Misha Brukman [Fri, 29 Oct 2004 18:36:51 +0000 (18:36 +0000)]
LLEE execve() wrapper library has changed its name and location

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17339 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoWhen emitting debug msgs for function stubs, don't truncate the
Brian Gaeke [Fri, 29 Oct 2004 18:22:45 +0000 (18:22 +0000)]
When emitting debug msgs for function stubs, don't truncate the
printed pointer value if sizeof(unsigned) != pointer size.  Instead,
use uintptr_t.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17338 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoPrint P and [AR] files on update.
Vikram S. Adve [Fri, 29 Oct 2004 17:43:19 +0000 (17:43 +0000)]
Print P and [AR] files on update.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17337 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMake sure the LLVM_CONFIG_DIR environment variable is set so we don't get
Reid Spencer [Fri, 29 Oct 2004 06:42:38 +0000 (06:42 +0000)]
Make sure the LLVM_CONFIG_DIR environment variable is set so we don't get
error messages from the compiler.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17335 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMake the list of automatic Makefile* files updated explicit instead of
Reid Spencer [Fri, 29 Oct 2004 04:47:33 +0000 (04:47 +0000)]
Make the list of automatic Makefile* files updated explicit instead of
generally wildcarded.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17334 91177308-0d34-0410-b5e6-96231b3b80d8

20 years ago* Add spaces between function names for readability
Misha Brukman [Fri, 29 Oct 2004 04:33:19 +0000 (04:33 +0000)]
* Add spaces between function names for readability
* Separate paragraphs, flush HTML text to left margin for ease of editing

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17333 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoThis line breaks FreeBSD and apparently isn't useful anymore.
Chris Lattner [Fri, 29 Oct 2004 03:46:38 +0000 (03:46 +0000)]
This line breaks FreeBSD and apparently isn't useful anymore.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17332 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoCommented out the _Alloc_traits specialization entirely, as it is only
John Criswell [Thu, 28 Oct 2004 18:21:41 +0000 (18:21 +0000)]
Commented out the _Alloc_traits specialization entirely, as it is only
supported by specific versions of GCC.

It is left in place in case anyone wants to updated it for GCC 3.4 or
re-use it for earlier versions of GCC where it works.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17324 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoOnly add the _Alloc_traits specialization in if we're compiling for
John Criswell [Thu, 28 Oct 2004 17:31:46 +0000 (17:31 +0000)]
Only add the _Alloc_traits specialization in if we're compiling for
Linux and not compiling for Sparc.
This is still probably not correct, or portable, but it'll do for now.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17321 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix the dependency of lex.o on gram.tab.h
Reid Spencer [Thu, 28 Oct 2004 16:48:13 +0000 (16:48 +0000)]
Fix the dependency of lex.o on gram.tab.h

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17320 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdded the poolalloc module to the list of projects to configure, if present.
John Criswell [Thu, 28 Oct 2004 13:35:00 +0000 (13:35 +0000)]
Added the poolalloc module to the list of projects to configure, if present.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17319 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoBug Fixes:
Reid Spencer [Thu, 28 Oct 2004 09:15:28 +0000 (09:15 +0000)]
Bug Fixes:
* Move rules that build directories earlier in the file so that they are
  always built before the things that depend on them. This enables a
  parallel "dist-check" target.
* Fix use of TOOLLINKOPTS and TOOLLINKOPTSB (thanks to Henrik Bach)
* Standardize the output - some scripts using plain echo instead of $(ECHO)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17318 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMake parallel "install" and "uninstall" targets not step on itself.
Reid Spencer [Thu, 28 Oct 2004 07:57:28 +0000 (07:57 +0000)]
Make parallel "install" and "uninstall" targets not step on itself.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17315 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoGep indices must be of int, uint, long or ulong type.
Alkis Evlogimenos [Thu, 28 Oct 2004 06:43:38 +0000 (06:43 +0000)]
Gep indices must be of int, uint, long or ulong type.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17313 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMake sure the sources get distributed (use EXTRA_DIST)
Reid Spencer [Thu, 28 Oct 2004 06:42:34 +0000 (06:42 +0000)]
Make sure the sources get distributed (use EXTRA_DIST)
Add the goof.st sample.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17312 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix library names for sparc
Brian Gaeke [Thu, 28 Oct 2004 06:39:10 +0000 (06:39 +0000)]
Fix library names for sparc

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17311 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix library name.
Reid Spencer [Thu, 28 Oct 2004 05:37:24 +0000 (05:37 +0000)]
Fix library name.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17307 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix library name.
Alkis Evlogimenos [Thu, 28 Oct 2004 05:36:48 +0000 (05:36 +0000)]
Fix library name.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17306 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix library name.
Reid Spencer [Thu, 28 Oct 2004 05:32:01 +0000 (05:32 +0000)]
Fix library name.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17305 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix name of library
Reid Spencer [Thu, 28 Oct 2004 05:30:54 +0000 (05:30 +0000)]
Fix name of library

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17304 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoRegenerated after fixing typo.
Brian Gaeke [Thu, 28 Oct 2004 05:06:45 +0000 (05:06 +0000)]
Regenerated after fixing typo.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17303 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMake sure we test the right variable for the AC_DEFINE
Reid Spencer [Thu, 28 Oct 2004 05:04:20 +0000 (05:04 +0000)]
Make sure we test the right variable for the AC_DEFINE

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17302 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoIt's spelled IEEEFP
Brian Gaeke [Thu, 28 Oct 2004 04:17:05 +0000 (04:17 +0000)]
It's spelled IEEEFP

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17301 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoUse llvmc to compile the Stacker programs
Reid Spencer [Thu, 28 Oct 2004 04:08:05 +0000 (04:08 +0000)]
Use llvmc to compile the Stacker programs

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17300 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd the samples directory to the build
Reid Spencer [Thu, 28 Oct 2004 04:07:54 +0000 (04:07 +0000)]
Add the samples directory to the build

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17299 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoRemove the FORCE token, rename VERSION to VERSION_TOK so it doesn't
Reid Spencer [Thu, 28 Oct 2004 04:06:15 +0000 (04:06 +0000)]
Remove the FORCE token, rename VERSION to VERSION_TOK so it doesn't
conflict with configuration variables and #defines.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17298 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoImplement linking.
Reid Spencer [Thu, 28 Oct 2004 04:05:06 +0000 (04:05 +0000)]
Implement linking.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17297 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoEliminate the force flag, configuration item, and related support
Reid Spencer [Thu, 28 Oct 2004 04:04:38 +0000 (04:04 +0000)]
Eliminate the force flag, configuration item, and related support

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17296 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoPass -f to stkrc to ensure the output file is always written.
Reid Spencer [Thu, 28 Oct 2004 03:57:49 +0000 (03:57 +0000)]
Pass -f to stkrc to ensure the output file is always written.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17295 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoEliminate the -F option (for forcing output) .. not needed
Reid Spencer [Thu, 28 Oct 2004 03:56:16 +0000 (03:56 +0000)]
Eliminate the -F option (for forcing output) .. not needed
Create GCC compatible -Wx, aliases for the existing -T options.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17294 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd llvm-ld to the subdirs to be built
Reid Spencer [Thu, 28 Oct 2004 03:53:02 +0000 (03:53 +0000)]
Add llvm-ld to the subdirs to be built

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17293 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoConvert to new library names.
Reid Spencer [Thu, 28 Oct 2004 03:50:43 +0000 (03:50 +0000)]
Convert to new library names.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17292 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoGet rid of drivel.
Reid Spencer [Thu, 28 Oct 2004 01:25:28 +0000 (01:25 +0000)]
Get rid of drivel.
Ensure the lex/yacc output are specified as BUILT_SOURCES so they get
built first.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17290 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMake sure that the yacc and lex output are specified as BUILT_SOURCES.
Reid Spencer [Thu, 28 Oct 2004 00:43:24 +0000 (00:43 +0000)]
Make sure that the yacc and lex output are specified as BUILT_SOURCES.
Correct the dependency of the Lexer.o file on the constructed
llvmAsmParser.h header file. It is not the Lexer.cpp file that depends on
the header, its the output of compiling Lexer.cpp, Lexer.o

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17289 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoBug Fixes:
Reid Spencer [Thu, 28 Oct 2004 00:41:43 +0000 (00:41 +0000)]
Bug Fixes:

* Ensure that BUILT_SOURCES depends on OBJ_DIR/Makefile so that they do not
  get built before the Makefile is updated.
* Fix build script for yacc & lex files by stopping it from thwarting the
  dependencies on the file. If the .y file changes, it needs to be rebuilt.
  This also cleans up the problem with llvmAsmParser ALWAYS rebuilding its
  Yacc files just to throw them away because there's no change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17288 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoUpdate for library name change.
Reid Spencer [Thu, 28 Oct 2004 00:11:43 +0000 (00:11 +0000)]
Update for library name change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17287 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoChange Library Names Not To Conflict With Others When Installed
Reid Spencer [Wed, 27 Oct 2004 23:18:45 +0000 (23:18 +0000)]
Change Library Names Not To Conflict With Others When Installed

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17286 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd the HAVE_RAND48 define.
Reid Spencer [Wed, 27 Oct 2004 23:09:31 +0000 (23:09 +0000)]
Add the HAVE_RAND48 define.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17285 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoChanges to support rand48 tests
Reid Spencer [Wed, 27 Oct 2004 23:03:44 +0000 (23:03 +0000)]
Changes to support rand48 tests

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17284 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix auto-reconfigure bug: make sure we actually reconfigure not just
Reid Spencer [Wed, 27 Oct 2004 22:48:58 +0000 (22:48 +0000)]
Fix auto-reconfigure bug: make sure we actually reconfigure not just
regenerate the config.status script.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17283 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd a couple of new features
Chris Lattner [Wed, 27 Oct 2004 16:28:17 +0000 (16:28 +0000)]
Add a couple of new features

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17282 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoConvert 'struct' to 'class' in various places to adhere to the coding standards
Chris Lattner [Wed, 27 Oct 2004 16:14:51 +0000 (16:14 +0000)]
Convert 'struct' to 'class' in various places to adhere to the coding standards
and work better with VC++.  Patch contributed by Morten Ofstad!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17281 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoGive sumant credit too!
Chris Lattner [Wed, 27 Oct 2004 15:54:23 +0000 (15:54 +0000)]
Give sumant credit too!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17280 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMove destructor out of line to avoid vtable emission in every file that includes...
Nate Begeman [Wed, 27 Oct 2004 06:00:53 +0000 (06:00 +0000)]
Move destructor out of line to avoid vtable emission in every file that includes the header.  Thanks to sabre.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17278 91177308-0d34-0410-b5e6-96231b3b80d8