oota-llvm.git
19 years agoAdd TARGET_TRIPLE
Reid Spencer [Sun, 7 Nov 2004 19:12:53 +0000 (19:12 +0000)]
Add TARGET_TRIPLE

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

19 years agoFirst version of this document listing the required software. Might need
Reid Spencer [Sun, 7 Nov 2004 19:07:06 +0000 (19:07 +0000)]
First version of this document listing the required software. Might need
to be made platform specific. Contents reflect my Linux build environment.

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

19 years ago* Comments & cleanup per CL code review.
Reid Spencer [Sun, 7 Nov 2004 18:20:55 +0000 (18:20 +0000)]
* Comments & cleanup per CL code review.
* Accept 'llvc' as signature for compressed bytecode

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

19 years agoAdd comments per CL code review.
Reid Spencer [Sun, 7 Nov 2004 18:19:00 +0000 (18:19 +0000)]
Add comments per CL code review.

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

19 years agoMake compression the default on writing.
Reid Spencer [Sun, 7 Nov 2004 18:18:11 +0000 (18:18 +0000)]
Make compression the default on writing.

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

19 years ago* Add comments and cleanup per CL code review
Reid Spencer [Sun, 7 Nov 2004 18:17:38 +0000 (18:17 +0000)]
* Add comments and cleanup per CL code review
* Make signature for compressed bytecode llvc instead of unreadable
* Make the CompressionContext have a constructor and destructor.

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

19 years agoMinor error.
Tanya Lattner [Sun, 7 Nov 2004 08:29:03 +0000 (08:29 +0000)]
Minor error.

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

19 years agoAdded support to specify which test suite dejagnu should run (Feature or Regression...
Tanya Lattner [Sun, 7 Nov 2004 08:24:59 +0000 (08:24 +0000)]
Added support to specify which test suite dejagnu should run (Feature or Regression). Use TEST=suite

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

19 years agoRevert back to r1.1, I'm just thoroughly confused :)
Chris Lattner [Sun, 7 Nov 2004 07:46:15 +0000 (07:46 +0000)]
Revert back to r1.1, I'm just thoroughly confused :)

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

19 years agoAdd new (old) testcase
Chris Lattner [Sun, 7 Nov 2004 07:41:32 +0000 (07:41 +0000)]
Add new (old) testcase

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

19 years agoAdded RUN lines and dejagnu support for Feature dir.
Tanya Lattner [Sun, 7 Nov 2004 06:08:43 +0000 (06:08 +0000)]
Added RUN lines and dejagnu support for Feature dir.

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

19 years agoRename the option for defeating compression to be a little more specific.
Reid Spencer [Sun, 7 Nov 2004 05:50:16 +0000 (05:50 +0000)]
Rename the option for defeating compression to be a little more specific.

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

19 years agoEnable compression by default.
Reid Spencer [Sun, 7 Nov 2004 05:43:51 +0000 (05:43 +0000)]
Enable compression by default.

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

19 years ago* Enable bytecode compression by default
Reid Spencer [Sun, 7 Nov 2004 05:41:32 +0000 (05:41 +0000)]
* Enable bytecode compression by default
* Provide a -no-compress option to defeat compression.

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

19 years agoTurn on compression by default.
Reid Spencer [Sun, 7 Nov 2004 05:37:27 +0000 (05:37 +0000)]
Turn on compression by default.
Change --compress to --no-compress so compression can be turned off.

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

19 years ago* Provide option for specifying bytecode compression
Reid Spencer [Sun, 7 Nov 2004 05:30:43 +0000 (05:30 +0000)]
* Provide option for specifying bytecode compression
* Enabled bytecode compression by default.

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

19 years agoAdd missing file header
Chris Lattner [Sun, 7 Nov 2004 05:05:37 +0000 (05:05 +0000)]
Add missing file header
Add some comments
Switch to use 'find' to do the clean instead of globbing

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

19 years agoRemoving old Modulosched tests since that version of modulosched does not exist anymo...
Tanya Lattner [Sun, 7 Nov 2004 05:04:58 +0000 (05:04 +0000)]
Removing old Modulosched tests since that version of modulosched does not exist anymore and llc does not support modulosched by default.

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

19 years agoWith the changes to these files, the Regression test suite should be tested by dejagn...
Tanya Lattner [Sun, 7 Nov 2004 05:02:56 +0000 (05:02 +0000)]
With the changes to these files, the Regression test suite should be tested by dejagnu without anyproblem.
Some variables could be made global.

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

19 years agoAdded RUN line.
Tanya Lattner [Sun, 7 Nov 2004 05:01:34 +0000 (05:01 +0000)]
Added RUN line.

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

19 years agoAdded rough support for dejagnu testing. Changes need to be made to autoconf to provi...
Tanya Lattner [Sun, 7 Nov 2004 04:59:52 +0000 (04:59 +0000)]
Added rough support for dejagnu testing. Changes need to be made to autoconf to provide the target_triplet and to check for 'grep -C' which would be used instead of the python script we have now. Eventually the python script should be converted to bash.
The dejagnu-clean needs to be fixed to use find.

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

19 years agoChanged to XFAIL
Tanya Lattner [Sun, 7 Nov 2004 04:37:08 +0000 (04:37 +0000)]
Changed to XFAIL

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

19 years agoAdd a section for PPC, though it's empty for now
Chris Lattner [Sun, 7 Nov 2004 01:55:32 +0000 (01:55 +0000)]
Add a section for PPC, though it's empty for now

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

19 years agoUpdate this to expect AT&T syntax
Chris Lattner [Sun, 7 Nov 2004 01:46:16 +0000 (01:46 +0000)]
Update this to expect AT&T syntax

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

19 years ago* Add note about benchmarking programs and submitting reduced test cases
Misha Brukman [Sun, 7 Nov 2004 01:03:59 +0000 (01:03 +0000)]
* Add note about benchmarking programs and submitting reduced test cases
* Replace llvm.org with llvm.cs.uiuc.edu

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

19 years agoReplace llvm.org => llvm.cs.uiuc.edu
Misha Brukman [Sun, 7 Nov 2004 00:59:58 +0000 (00:59 +0000)]
Replace llvm.org => llvm.cs.uiuc.edu

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

19 years agoReplace uses of llvm.org with llvm.cs.uiuc.edu
Misha Brukman [Sun, 7 Nov 2004 00:58:38 +0000 (00:58 +0000)]
Replace uses of llvm.org with llvm.cs.uiuc.edu

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

19 years agoConsistently use llvm.cs.uiuc.edu instead of llvm.org
Misha Brukman [Sun, 7 Nov 2004 00:58:20 +0000 (00:58 +0000)]
Consistently use llvm.cs.uiuc.edu instead of llvm.org

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

19 years agoDecompose* is V9 specific, make it internal
Chris Lattner [Sun, 7 Nov 2004 00:43:24 +0000 (00:43 +0000)]
Decompose* is V9 specific, make it internal

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

19 years agoThis is V9 specific stuff
Chris Lattner [Sun, 7 Nov 2004 00:42:29 +0000 (00:42 +0000)]
This is V9 specific stuff

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

19 years agoThis is V9 specific, move it there.
Chris Lattner [Sun, 7 Nov 2004 00:39:26 +0000 (00:39 +0000)]
This is V9 specific, move it there.

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

19 years agoMove this file from lib/Transforms/Scalar
Chris Lattner [Sun, 7 Nov 2004 00:39:09 +0000 (00:39 +0000)]
Move this file from lib/Transforms/Scalar

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

19 years agoTests for this xforms should be .ll files, and they should have run lines.
Chris Lattner [Sun, 7 Nov 2004 00:38:16 +0000 (00:38 +0000)]
Tests for this xforms should be .ll files, and they should have run lines.

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

19 years agoRemove dead tests
Chris Lattner [Sun, 7 Nov 2004 00:36:30 +0000 (00:36 +0000)]
Remove dead tests

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

19 years agoThis is not part of the test
Chris Lattner [Sun, 7 Nov 2004 00:34:45 +0000 (00:34 +0000)]
This is not part of the test

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

19 years agoFix a test.
Chris Lattner [Sun, 7 Nov 2004 00:33:14 +0000 (00:33 +0000)]
Fix a test.
These other tests should be in test/Programs/SingleSource/UnitTests if anyone
cares enough to save them

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

19 years agoNuke useless testcases
Chris Lattner [Sun, 7 Nov 2004 00:30:51 +0000 (00:30 +0000)]
Nuke useless testcases

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

19 years agoThese files are all moved to test/Regression/CodeGen/Generic
Chris Lattner [Sun, 7 Nov 2004 00:24:14 +0000 (00:24 +0000)]
These files are all moved to test/Regression/CodeGen/Generic

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

19 years agoThis test is obsolete and incorrect
Chris Lattner [Sat, 6 Nov 2004 23:42:32 +0000 (23:42 +0000)]
This test is obsolete and incorrect

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

19 years agoAdding RUN lines.
Tanya Lattner [Sat, 6 Nov 2004 23:32:43 +0000 (23:32 +0000)]
Adding RUN lines.

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

19 years agoAdd support for compressed bytecode
Reid Spencer [Sat, 6 Nov 2004 23:17:23 +0000 (23:17 +0000)]
Add support for compressed bytecode

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

19 years agoAdding RUN line.
Tanya Lattner [Sat, 6 Nov 2004 23:16:51 +0000 (23:16 +0000)]
Adding RUN line.

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

19 years agoAdding RUN lines.
Tanya Lattner [Sat, 6 Nov 2004 23:08:26 +0000 (23:08 +0000)]
Adding RUN lines.

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

19 years agoAdding RUN lines.
Tanya Lattner [Sat, 6 Nov 2004 22:41:00 +0000 (22:41 +0000)]
Adding RUN lines.

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

19 years agoAdding RUN lines.
Tanya Lattner [Sat, 6 Nov 2004 22:29:57 +0000 (22:29 +0000)]
Adding RUN lines.

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

19 years agoAdding RUN lines.
Tanya Lattner [Sat, 6 Nov 2004 22:07:09 +0000 (22:07 +0000)]
Adding RUN lines.

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

19 years agoAdding RUN lines.
Tanya Lattner [Sat, 6 Nov 2004 21:40:51 +0000 (21:40 +0000)]
Adding RUN lines.

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

19 years agoAdjust to printing user+system times instead of wall times. Run the olden
Chris Lattner [Sat, 6 Nov 2004 21:35:40 +0000 (21:35 +0000)]
Adjust to printing user+system times instead of wall times.  Run the olden
numbers in 'stable' mode so that the numbers are more stable.

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

19 years agoAdd missing run line
Chris Lattner [Sat, 6 Nov 2004 21:11:04 +0000 (21:11 +0000)]
Add missing run line

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

19 years agoFirst crack at support to run tests using dejagnu. This file contains a procedure...
Tanya Lattner [Sat, 6 Nov 2004 21:07:41 +0000 (21:07 +0000)]
First crack at support to run tests using dejagnu. This file contains a procedure to run a test like TestRunner.sh does.

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

19 years agoAdd a run line
Chris Lattner [Sat, 6 Nov 2004 21:07:31 +0000 (21:07 +0000)]
Add a run line

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

19 years agoAdd a missing run line
Chris Lattner [Sat, 6 Nov 2004 21:03:41 +0000 (21:03 +0000)]
Add a missing run line

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

19 years agoThis pass has been removed from LLVM
Chris Lattner [Sat, 6 Nov 2004 21:02:30 +0000 (21:02 +0000)]
This pass has been removed from LLVM

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

19 years agoAdd missing run line
Chris Lattner [Sat, 6 Nov 2004 21:01:45 +0000 (21:01 +0000)]
Add missing run line

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

19 years agoAdding XFAIL lines for dejagnu support.
Tanya Lattner [Sat, 6 Nov 2004 20:38:27 +0000 (20:38 +0000)]
Adding XFAIL lines for dejagnu support.

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

19 years agoFrom Jeff Cohen:
Chris Lattner [Sat, 6 Nov 2004 17:07:36 +0000 (17:07 +0000)]
From Jeff Cohen:

I checked out from cvs directly on Windows and I ran into another
problem with the project files.  Evidently, the files were initially
checked in on Unix, and the files were transfered to Unix without
converting the CR/LF line endings first.  When checked out on Windows,
cvs converts the files to DOS format, resulting in two CRs for each LF.

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

19 years agoImplement the GetBytecodeSymbols interface function to extract just the
Reid Spencer [Sat, 6 Nov 2004 08:56:40 +0000 (08:56 +0000)]
Implement the GetBytecodeSymbols interface function to extract just the
externally visible defined symbols from a bytecode file.

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

19 years agoProvide an interface for getting just the external symbols from a
Reid Spencer [Sat, 6 Nov 2004 08:54:47 +0000 (08:54 +0000)]
Provide an interface for getting just the external symbols from a
Bytecode file.

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

19 years agoDeprecate constructors we don't want users to use.
Reid Spencer [Sat, 6 Nov 2004 08:53:59 +0000 (08:53 +0000)]
Deprecate constructors we don't want users to use.
Temporarily comment out two interface methods we might not implement.

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

19 years agoMakefile for the LLVMArchive library.
Reid Spencer [Sat, 6 Nov 2004 08:52:36 +0000 (08:52 +0000)]
Makefile for the LLVMArchive library.

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

19 years agoFirst kinda/sorta working version of the Archive library. Reading is not
Reid Spencer [Sat, 6 Nov 2004 08:51:45 +0000 (08:51 +0000)]
First kinda/sorta working version of the Archive library. Reading is not
yet supported but writing works. Way too early to review this. More to come

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

19 years agoStop propagating method names that violate the coding standard
Reid Spencer [Fri, 5 Nov 2004 22:15:36 +0000 (22:15 +0000)]
Stop propagating method names that violate the coding standard

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

19 years agoGo ahead and trust the client not to mess with the ModuleProvider* returned
Reid Spencer [Fri, 5 Nov 2004 18:48:02 +0000 (18:48 +0000)]
Go ahead and trust the client not to mess with the ModuleProvider* returned
by the findModuleContainingSymbol method.

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

19 years ago* Documentation corrections (thanks to Chris for nit-picking)
Reid Spencer [Fri, 5 Nov 2004 17:44:26 +0000 (17:44 +0000)]
* Documentation corrections (thanks to Chris for nit-picking)
* Remove dead typedefs.
* Redefine how getAllPaths treats its argument.

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

19 years agoFix compilation problem; make the cast and the LHS be the same type.
John Criswell [Fri, 5 Nov 2004 16:17:06 +0000 (16:17 +0000)]
Fix compilation problem; make the cast and the LHS be the same type.

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

19 years agoFirst version of the interface to Archive files. This introduces the
Reid Spencer [Fri, 5 Nov 2004 09:19:17 +0000 (09:19 +0000)]
First version of the interface to Archive files. This introduces the
llvm::Archive class to provide for reading, writing, indexing and search
functions on standard ar(1) format files that contain bytecode modules.

Implementation to follow.

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

19 years agoRemove dead var
Chris Lattner [Fri, 5 Nov 2004 04:52:08 +0000 (04:52 +0000)]
Remove dead var

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

19 years agoQuiet VC++ warnings
Chris Lattner [Fri, 5 Nov 2004 04:50:59 +0000 (04:50 +0000)]
Quiet VC++ warnings

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

19 years agoDo not make i have bigger scope that we need
Chris Lattner [Fri, 5 Nov 2004 04:47:37 +0000 (04:47 +0000)]
Do not make i have bigger scope that we need

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

19 years agoRemove dead vars
Chris Lattner [Fri, 5 Nov 2004 04:46:22 +0000 (04:46 +0000)]
Remove dead vars

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

19 years agoFix some warnings on VC++
Chris Lattner [Fri, 5 Nov 2004 04:45:43 +0000 (04:45 +0000)]
Fix some warnings on VC++

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

19 years agoRemove this file as suggested by Jeff Cohen
Chris Lattner [Fri, 5 Nov 2004 04:17:19 +0000 (04:17 +0000)]
Remove this file as suggested by Jeff Cohen

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

19 years agoFix project file, patch contributed by Jeff Cohen
Chris Lattner [Fri, 5 Nov 2004 04:15:30 +0000 (04:15 +0000)]
Fix project file, patch contributed by Jeff Cohen

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

19 years agoClean up code layout, delete extra blank line, say `fibonacci' instead of `foo'
Misha Brukman [Fri, 5 Nov 2004 04:11:40 +0000 (04:11 +0000)]
Clean up code layout, delete extra blank line, say `fibonacci' instead of `foo'

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

19 years agoThanks to sabre for pointing out that we were incorrectly codegen'ing
Nate Begeman [Thu, 4 Nov 2004 19:43:18 +0000 (19:43 +0000)]
Thanks to sabre for pointing out that we were incorrectly codegen'ing
int test(int x) { return 32768 - x; }

Fixed by teaching the function that checks a constant's validity to be used
as an immediate argument about subtract-from instructions.

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

19 years agoFix typeo
Chris Lattner [Thu, 4 Nov 2004 05:00:18 +0000 (05:00 +0000)]
Fix typeo

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

19 years agoHandle "call" operands of type long/ulong passed in registers.
Brian Gaeke [Thu, 4 Nov 2004 00:27:04 +0000 (00:27 +0000)]
Handle "call" operands of type long/ulong passed in registers.

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

19 years agoCleanup this example, simplifying it and making it conform to LLVM coding
Chris Lattner [Wed, 3 Nov 2004 21:43:03 +0000 (21:43 +0000)]
Cleanup this example, simplifying it and making it conform to LLVM coding
standards

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

19 years agoDon't call Constant::getNullValue when the argument could be VoidTy
Chris Lattner [Wed, 3 Nov 2004 18:51:26 +0000 (18:51 +0000)]
Don't call Constant::getNullValue when the argument could be VoidTy

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

19 years agodefining __STDC_LIMIT_MACROS on the command line is not really necessary
Chris Lattner [Wed, 3 Nov 2004 17:15:45 +0000 (17:15 +0000)]
defining __STDC_LIMIT_MACROS on the command line is not really necessary
for Visual Studio, and is a bit of a pain when you want to include the
LLVM headers from your own project, so I moved the check a bit down into
the Unix case to avoid the hassle... Here is a patch

Patch by Morten Ofstad!

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

19 years agoCONFIGURATION isn't spelled Configuration, it's spelled BuildMode.
Brian Gaeke [Wed, 3 Nov 2004 17:11:23 +0000 (17:11 +0000)]
CONFIGURATION isn't spelled Configuration, it's spelled BuildMode.

Due to qmtest's or llvm.py's lousy error checking, this single error
causes qmtest to fork-bomb the machine, filling the process table with
python processes that do nothing.  Clearly, better error checking is
needed.

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

19 years agoTop level files for building natively on win32
Reid Spencer [Wed, 3 Nov 2004 16:14:40 +0000 (16:14 +0000)]
Top level files for building natively on win32

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

19 years agoMS Visual Studio files for building LLVM on Win32 platforms.
Reid Spencer [Wed, 3 Nov 2004 16:13:14 +0000 (16:13 +0000)]
MS Visual Studio files for building LLVM on Win32 platforms.

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

19 years agoFix this function to not say that longs have 8-byte alignment on X86/PPC.
Chris Lattner [Tue, 2 Nov 2004 22:18:18 +0000 (22:18 +0000)]
Fix this function to not say that longs have 8-byte alignment on X86/PPC.
This method is really a gross hack, but at least we can make it work on
the targets we support right now.

This bug fix stops a crash in a testcase reduced from 176.gcc

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

19 years agoAdded gross hacks such as creating my own def-use map, and picking on Instruction...
Tanya Lattner [Tue, 2 Nov 2004 21:04:56 +0000 (21:04 +0000)]
Added gross hacks such as creating my own def-use map, and picking on Instruction that I can add all my TmpInstructions to its MCFI.

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

19 years agoGraphs that are part of equivalence sets can be multi-function SCC's
Chris Lattner [Tue, 2 Nov 2004 20:31:06 +0000 (20:31 +0000)]
Graphs that are part of equivalence sets can be multi-function SCC's
themselves.  Make sure to update DSInfo correctly.  This fixes a testcase
reduced from Prolangs-C++/objects

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

19 years agoCorrectly handle new SCC's found as a result of merging EQ graphs do to
Chris Lattner [Tue, 2 Nov 2004 19:29:59 +0000 (19:29 +0000)]
Correctly handle new SCC's found as a result of merging EQ graphs do to
function pointer equivalences.  This fixes many problems, including a testcase
reduced Prolangs-C++/objects.

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

19 years agoSubstantially cleanup/speedup the eq graphs pass by walking the callgraph
Chris Lattner [Tue, 2 Nov 2004 17:51:11 +0000 (17:51 +0000)]
Substantially cleanup/speedup the eq graphs pass by walking the callgraph
a DSGraph at a time instead of a function at a time.  This is also more
correct, though it doesn't seem to fix any programs.

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

19 years agoFix typo, contributed by Henrik Bach!
Chris Lattner [Tue, 2 Nov 2004 17:31:02 +0000 (17:31 +0000)]
Fix typo, contributed by Henrik Bach!

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

19 years ago* New Recursive Target: clean-all. This target will recursively descend the
Reid Spencer [Tue, 2 Nov 2004 16:56:15 +0000 (16:56 +0000)]
* New Recursive Target: clean-all. This target will recursively descend the
  $(ObjDir) and clean out all build modes (Debug, Release, Profile) in
  addition to the normal "clean" rules.
* Fix "clean" problems with Lex/Yacc so all files are remove properly.
* Ensure errors from "rm" don't thwart the uninstall and clean targets.

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

19 years ago* New Recursive Target: clean-all
Reid Spencer [Tue, 2 Nov 2004 16:36:03 +0000 (16:36 +0000)]
* New Recursive Target: clean-all

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

19 years agoFix a warning
Chris Lattner [Tue, 2 Nov 2004 15:27:57 +0000 (15:27 +0000)]
Fix a warning

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

19 years agoMinor cleanups
Chris Lattner [Tue, 2 Nov 2004 06:38:58 +0000 (06:38 +0000)]
Minor cleanups

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

19 years ago* Rearrange code slightly
Chris Lattner [Tue, 2 Nov 2004 03:50:32 +0000 (03:50 +0000)]
* Rearrange code slightly
* Disable broken transforms for simplifying (setcc (cast X to larger), CI)
  where CC is not != or ==

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

19 years agoList the individual tools for easier reference.
Reid Spencer [Mon, 1 Nov 2004 21:57:35 +0000 (21:57 +0000)]
List the individual tools for easier reference.
Make the bugpoint link reference the man page in the CommandGuide until
the Bugpoint.html file can describe bugpoint in a little more of a tutorial
style instead of just being a man page.

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

19 years agoAdd compliant header.
Reid Spencer [Mon, 1 Nov 2004 21:55:46 +0000 (21:55 +0000)]
Add compliant header.
NOTE: This doc needs to describe the bugpoint "subsystem" not the tool.

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

19 years agoAdd missing tag.
Reid Spencer [Mon, 1 Nov 2004 21:31:39 +0000 (21:31 +0000)]
Add missing tag.

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

19 years agoRemove more dead methods
Chris Lattner [Mon, 1 Nov 2004 21:07:05 +0000 (21:07 +0000)]
Remove more dead methods

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

19 years agoDelete a dead method
Chris Lattner [Mon, 1 Nov 2004 21:04:47 +0000 (21:04 +0000)]
Delete a dead method

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

19 years agoRename FoldedGraph -> DSInfo to be consistent with other passes
Chris Lattner [Mon, 1 Nov 2004 21:02:23 +0000 (21:02 +0000)]
Rename FoldedGraph -> DSInfo to be consistent with other passes
delete some dead methods

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