oota-llvm.git
21 years agoNew fixed bug, distilled from 252.eon
Chris Lattner [Tue, 30 Sep 2003 15:40:25 +0000 (15:40 +0000)]
New fixed bug, distilled from 252.eon

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

21 years ago1. Use better error messages in LinkFiles().
Brian Gaeke [Tue, 30 Sep 2003 14:03:48 +0000 (14:03 +0000)]
1. Use better error messages in LinkFiles().
2. I think the caller of LinkFiles() should not ignore a true return value.
   (If you have a good reason why it ought to, feel free to revert
   this. It's just something that's been bugging me for a while.)

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

21 years agoRemoved the utils/Makefile file from being copied to the object root tree.
John Criswell [Tue, 30 Sep 2003 13:52:11 +0000 (13:52 +0000)]
Removed the utils/Makefile file from being copied to the object root tree.

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

21 years agoUpdate file headers for renamed files.
Chris Lattner [Tue, 30 Sep 2003 03:24:28 +0000 (03:24 +0000)]
Update file headers for renamed files.

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

21 years agoUse the newly abstracted interface for running our tools and gcc.
Misha Brukman [Mon, 29 Sep 2003 22:40:52 +0000 (22:40 +0000)]
Use the newly abstracted interface for running our tools and gcc.

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

21 years agoFixed space issues, code alignment, tabs -> spaces.
Misha Brukman [Mon, 29 Sep 2003 22:40:07 +0000 (22:40 +0000)]
Fixed space issues, code alignment, tabs -> spaces.

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

21 years agoImplementation of the abstraction of running our tools + gcc, taken out of
Misha Brukman [Mon, 29 Sep 2003 22:39:25 +0000 (22:39 +0000)]
Implementation of the abstraction of running our tools + gcc, taken out of
bugpoint for general usage and enjoyment.

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

21 years agoAbstracted away the process of running our tools + gcc from bugpoint.
Misha Brukman [Mon, 29 Sep 2003 22:38:57 +0000 (22:38 +0000)]
Abstracted away the process of running our tools + gcc from bugpoint.

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

21 years agoTersified and fixed whitespace (tabs -> spaces).
Misha Brukman [Mon, 29 Sep 2003 22:37:57 +0000 (22:37 +0000)]
Tersified and fixed whitespace (tabs -> spaces).

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

21 years ago* Added an interface for how LLEE would communicate with the OS
Misha Brukman [Mon, 29 Sep 2003 22:37:00 +0000 (22:37 +0000)]
* Added an interface for how LLEE would communicate with the OS
* Implemented the interface in StorageProxy.c
* Removed the script `llee' as it is now created by the Makefile
* Makefile now compiles a shared object version of the library, but only if
  using gcc-3.3, linking fails under gcc-3.2

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

21 years agoTersified code:
Misha Brukman [Mon, 29 Sep 2003 22:26:24 +0000 (22:26 +0000)]
Tersified code:
* Removed space between function name and its argument list
* Removed space between '&' and variable name
* Removed empty comment lines: `//'

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

21 years agoupdate run command
Chris Lattner [Mon, 29 Sep 2003 22:17:12 +0000 (22:17 +0000)]
update run command

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

21 years ago* Ordered includes according to LLVM programmers' guide
Misha Brukman [Mon, 29 Sep 2003 22:16:43 +0000 (22:16 +0000)]
* Ordered includes according to LLVM programmers' guide
* Made code layout more verbose: no more '{' on a line by itself
* Pruned extra whitespace

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

21 years agoSimplify test, include problem analysis
Chris Lattner [Mon, 29 Sep 2003 21:53:04 +0000 (21:53 +0000)]
Simplify test, include problem analysis

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

21 years agoAdded Makefiles to llvm/test/Programs/SingleSource/Regression/C++/EH and
John Criswell [Mon, 29 Sep 2003 21:35:32 +0000 (21:35 +0000)]
Added Makefiles to llvm/test/Programs/SingleSource/Regression/C++/EH and
llvm/test/Programs/SingleSource/Regression/C++/CompileFail.

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

21 years agoAdding Makefiles for llvm/test/Programs/SingleSource/Regression/C++/EH and
John Criswell [Mon, 29 Sep 2003 21:34:49 +0000 (21:34 +0000)]
Adding Makefiles for llvm/test/Programs/SingleSource/Regression/C++/EH and
llvm/test/Programs/SingleSource/Regression/C++/CompileFail.

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

21 years agoUpdated for the new QMTest test suite. Temporary output file is now placed
John Criswell [Mon, 29 Sep 2003 21:21:59 +0000 (21:21 +0000)]
Updated for the new QMTest test suite.  Temporary output file is now placed
inside the temporary file directory.

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

21 years agoNew testcase, distilled by John
Chris Lattner [Mon, 29 Sep 2003 21:18:36 +0000 (21:18 +0000)]
New testcase, distilled by John

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

21 years agoAdded information on input and output filenames.
John Criswell [Mon, 29 Sep 2003 20:10:08 +0000 (20:10 +0000)]
Added information on input and output filenames.
Added periods to the end of sentence fragments describing options.
Added information to llc about which target architecture is selected for
assembly language code generation.

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

21 years agoRemoved Support directory. It now lives in llvm/support/lib.
John Criswell [Mon, 29 Sep 2003 16:10:43 +0000 (16:10 +0000)]
Removed Support directory.  It now lives in llvm/support/lib.

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

21 years agoCheck in missing makefile
Chris Lattner [Mon, 29 Sep 2003 16:03:01 +0000 (16:03 +0000)]
Check in missing makefile

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

21 years agoInitial checkin of makefile for this directory
Chris Lattner [Mon, 29 Sep 2003 15:58:16 +0000 (15:58 +0000)]
Initial checkin of makefile for this directory

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

21 years agoMoved code from llvm/lib/Support to llvm/support/lib/Support.
John Criswell [Mon, 29 Sep 2003 15:02:30 +0000 (15:02 +0000)]
Moved code from llvm/lib/Support to llvm/support/lib/Support.

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

21 years agoMoved llvm/utils/Burg and llvm/utils/TableGen to llvm/support/tools.
John Criswell [Mon, 29 Sep 2003 14:52:53 +0000 (14:52 +0000)]
Moved llvm/utils/Burg and llvm/utils/TableGen to llvm/support/tools.

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

21 years agoMoved llvm/lib/Support to llvm/support/lib/Support.
John Criswell [Mon, 29 Sep 2003 14:52:28 +0000 (14:52 +0000)]
Moved llvm/lib/Support to llvm/support/lib/Support.
Moved llvm/utils/Burg and llvm/utils/TableGen to llvm/support/tools.

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

21 years agoUpdating Makefiles for new location in llvm/support.
John Criswell [Mon, 29 Sep 2003 14:49:09 +0000 (14:49 +0000)]
Updating Makefiles for new location in llvm/support.

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

21 years agoUpdated Makefiles to reflect new location in llvm/support/tools.
John Criswell [Mon, 29 Sep 2003 14:48:29 +0000 (14:48 +0000)]
Updated Makefiles to reflect new location in llvm/support/tools.

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

21 years agoAdded explanation of where analyze gets its input, where it sends its output,
John Criswell [Mon, 29 Sep 2003 14:05:08 +0000 (14:05 +0000)]
Added explanation of where analyze gets its input, where it sends its output,
and how it decides to interpret its input.

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

21 years agoSquelch warnings.
Misha Brukman [Sat, 27 Sep 2003 22:26:37 +0000 (22:26 +0000)]
Squelch warnings.

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

21 years agoUpdated these tests so that they use the new temporary directory as opposed
John Criswell [Fri, 26 Sep 2003 20:20:44 +0000 (20:20 +0000)]
Updated these tests so that they use the new temporary directory as opposed
to the old Output directory for temporary files.

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

21 years agoMoved llvm/test/Programs/SingleSource/Regression around a bit to support
John Criswell [Fri, 26 Sep 2003 19:51:42 +0000 (19:51 +0000)]
Moved llvm/test/Programs/SingleSource/Regression around a bit to support
multiple languages.

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

21 years agoUpdated to generate temporary files in the temporary directory.
John Criswell [Fri, 26 Sep 2003 16:43:51 +0000 (16:43 +0000)]
Updated to generate temporary files in the temporary directory.

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

21 years agoAdded information on how input and output files are selected.
John Criswell [Fri, 26 Sep 2003 16:32:00 +0000 (16:32 +0000)]
Added information on how input and output files are selected.
Added information on where files are located by llvm-link.
Added missing options.
Re-worded some stuff so that it (hopefully) sounds better.

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

21 years agoRemoving these tests from the regressions directory.
John Criswell [Fri, 26 Sep 2003 14:58:39 +0000 (14:58 +0000)]
Removing these tests from the regressions directory.
They now live in llvm/test/Programs/SingleSource/Regression alongside their
UnitTest brethren.

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

21 years agoAdded llvm/test/Programs/SingleSource/Regression/Makefile.
John Criswell [Fri, 26 Sep 2003 14:53:17 +0000 (14:53 +0000)]
Added llvm/test/Programs/SingleSource/Regression/Makefile.

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

21 years agoJust rethrow previous exception instead of making a new one
Chris Lattner [Fri, 26 Sep 2003 14:44:52 +0000 (14:44 +0000)]
Just rethrow previous exception instead of making a new one

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

21 years agoModified the test so that it puts temporary files into the temporary directory.
John Criswell [Fri, 26 Sep 2003 13:58:44 +0000 (13:58 +0000)]
Modified the test so that it puts temporary files into the temporary directory.

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

21 years agoAdded information about how llvm-as and llvm-dis select the input and output
John Criswell [Fri, 26 Sep 2003 02:59:00 +0000 (02:59 +0000)]
Added information about how llvm-as and llvm-dis select the input and output
filenames.
Corrected some typos in the llvm-dis documentation.

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

21 years agoChange the heading of the page to reflect the tool name
Chris Lattner [Thu, 25 Sep 2003 19:50:05 +0000 (19:50 +0000)]
Change the heading of the page to reflect the tool name

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

21 years agoAdded an explanation of gccld's behavior when linking in native mode.
John Criswell [Thu, 25 Sep 2003 19:14:51 +0000 (19:14 +0000)]
Added an explanation of gccld's behavior when linking in native mode.
Also gives me an excuse to re-commit the file on Tank.

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

21 years agoAdded information about the new -native option.
John Criswell [Thu, 25 Sep 2003 19:10:25 +0000 (19:10 +0000)]
Added information about the new -native option.
Added information about how object files and libraries are found and loaded.

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

21 years agoTo be consistent with the rest of LLVM codebase (and the rest of this file):
Misha Brukman [Thu, 25 Sep 2003 18:10:34 +0000 (18:10 +0000)]
To be consistent with the rest of LLVM codebase (and the rest of this file):
* Changed tabs to spaces
* Removed a space between a function call and its arguments (...)

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

21 years agoMoved wierdnames.ll to weirdnames.ll. The new name is spelled correctly.
John Criswell [Thu, 25 Sep 2003 17:44:32 +0000 (17:44 +0000)]
Moved wierdnames.ll to weirdnames.ll.  The new name is spelled correctly.

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

21 years agoMade modifications recommended by Chris. Namely:
John Criswell [Thu, 25 Sep 2003 13:49:37 +0000 (13:49 +0000)]
Made modifications recommended by Chris.  Namely:
o Remove stuff that has been done or is now irrelevant.
o Add a reminder to create Release Notes for Release 1.

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

21 years agoDefine the instance variable Buffer, not the automatic variable Buffer.
Chris Lattner [Thu, 25 Sep 2003 04:13:53 +0000 (04:13 +0000)]
Define the instance variable Buffer, not the automatic variable Buffer.
This was causing us to munmap random stuff, which is obviously bad.

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

21 years agoDOn't crash if program calls the null pointer
Chris Lattner [Wed, 24 Sep 2003 23:42:58 +0000 (23:42 +0000)]
DOn't crash if program calls the null pointer

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

21 years agoFix alignment problem
Chris Lattner [Wed, 24 Sep 2003 22:34:17 +0000 (22:34 +0000)]
Fix alignment problem

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

21 years agoRemove explicit use of BasicBlock::succ_iterator
Chris Lattner [Wed, 24 Sep 2003 22:18:35 +0000 (22:18 +0000)]
Remove explicit use of BasicBlock::succ_iterator

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

21 years agoRemoved completed items.
John Criswell [Wed, 24 Sep 2003 22:15:35 +0000 (22:15 +0000)]
Removed completed items.
Adjusted priorities on currently outstanding items.
Added new items which I think will now have higher priority for Release 1.

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

21 years agoActually assign the string correctly through the std::string pointer.
Misha Brukman [Wed, 24 Sep 2003 22:10:47 +0000 (22:10 +0000)]
Actually assign the string correctly through the std::string pointer.

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

21 years agoUse global *_iterator
Chris Lattner [Wed, 24 Sep 2003 22:07:33 +0000 (22:07 +0000)]
Use global *_iterator

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

21 years agoDo not use BasicBlock::*_iterator, just use *_iterator itself.
Chris Lattner [Wed, 24 Sep 2003 22:06:25 +0000 (22:06 +0000)]
Do not use BasicBlock::*_iterator, just use *_iterator itself.
Isn't updating copy and pasted code a joy

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

21 years ago* Eliminate BytecodeBufferReader::Length member variable
Misha Brukman [Wed, 24 Sep 2003 22:04:02 +0000 (22:04 +0000)]
* Eliminate BytecodeBufferReader::Length member variable
* Kill unused ALIN_PTRS #define
* Set the error string if user passed it in to be compatible with former API

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

21 years agoDo not use BasicBlock::succ_iterator
Chris Lattner [Wed, 24 Sep 2003 22:03:22 +0000 (22:03 +0000)]
Do not use BasicBlock::succ_iterator

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

21 years agoUpdate head-of-file comment.
Brian Gaeke [Wed, 24 Sep 2003 18:16:23 +0000 (18:16 +0000)]
Update head-of-file comment.

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

21 years agoUntabify tabs in stuff I've recently added.
Brian Gaeke [Wed, 24 Sep 2003 18:08:54 +0000 (18:08 +0000)]
Untabify tabs in stuff I've recently added.
Check in my register allocator state-saving code.

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

21 years agoUse getRegClassID() instead of getRegClass()->getID(), since it's there.
Brian Gaeke [Wed, 24 Sep 2003 17:50:28 +0000 (17:50 +0000)]
Use getRegClassID() instead of getRegClass()->getID(), since it's there.
Shorten the markSuggestedColorUsable method.
Add a switch for saving reg. alloc. state (coming soon).

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

21 years agoRemove some unused methods of class IGNode.
Brian Gaeke [Wed, 24 Sep 2003 04:29:52 +0000 (04:29 +0000)]
Remove some unused methods of class IGNode.

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

21 years agoFix a typo I happened to notice.
Brian Gaeke [Wed, 24 Sep 2003 04:09:50 +0000 (04:09 +0000)]
Fix a typo I happened to notice.
Rename include guards in the "usual" manner.

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

21 years agoFix bug in previous checkin
Chris Lattner [Tue, 23 Sep 2003 22:02:01 +0000 (22:02 +0000)]
Fix bug in previous checkin

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

21 years agoAdded code that ensures that we pass the beginning of the data buffer to
John Criswell [Tue, 23 Sep 2003 21:19:11 +0000 (21:19 +0000)]
Added code that ensures that we pass the beginning of the data buffer to
the parsing routines regardless of whether the buffer is re-aligned or not.

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

21 years agoUpdate email addr
Chris Lattner [Tue, 23 Sep 2003 20:59:28 +0000 (20:59 +0000)]
Update email addr

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

21 years agoIf we fail to find python or qmtest, give a warning message instead of an
John Criswell [Tue, 23 Sep 2003 20:46:32 +0000 (20:46 +0000)]
If we fail to find python or qmtest, give a warning message instead of an
error message.  This should hopefully allow our nightly tester to run, which
does not run the QMTest tests at present.

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

21 years agoMake it detect failed builds better
Chris Lattner [Tue, 23 Sep 2003 20:33:04 +0000 (20:33 +0000)]
Make it detect failed builds better

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

21 years agoFix bug: IndVarsSimplify/2003-09-23-NotAtTop.ll
Chris Lattner [Tue, 23 Sep 2003 20:26:48 +0000 (20:26 +0000)]
Fix bug: IndVarsSimplify/2003-09-23-NotAtTop.ll

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

21 years agonew testcase
Chris Lattner [Tue, 23 Sep 2003 20:26:38 +0000 (20:26 +0000)]
new testcase

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

21 years agoFixed spelling.
Misha Brukman [Tue, 23 Sep 2003 17:28:11 +0000 (17:28 +0000)]
Fixed spelling.

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

21 years agoFix spelling.
Misha Brukman [Tue, 23 Sep 2003 17:27:28 +0000 (17:27 +0000)]
Fix spelling.

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

21 years agoSquelch warning and delete extra space.
Misha Brukman [Tue, 23 Sep 2003 17:27:02 +0000 (17:27 +0000)]
Squelch warning and delete extra space.

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

21 years agoStop returning bool and pass Instruction by reference;
Misha Brukman [Tue, 23 Sep 2003 16:17:50 +0000 (16:17 +0000)]
Stop returning bool and pass Instruction by reference;
return std::auto_ptr and use exceptions

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

21 years agoSuggestions made by Chris:
Misha Brukman [Tue, 23 Sep 2003 16:15:29 +0000 (16:15 +0000)]
Suggestions made by Chris:
* Instead of a #define, use inline function
* Fix the name on the #define, errr... now inline function to be more logical:
  it doesn't CHECK the alignment, it PERFORMS the alignment
* To get string name of a Type*, use getDescription(), not getName()

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

21 years ago* Group class definitions & implementations together
Misha Brukman [Tue, 23 Sep 2003 16:13:28 +0000 (16:13 +0000)]
* Group class definitions & implementations together
* Make sure we align the buffer we're given
* Do not let exceptions propagate when the caller asks for a Module*
* Add doxygenified comments to wrapper functions

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

21 years agoAdded code that stops the configure script if a needed program is not found.
John Criswell [Tue, 23 Sep 2003 15:28:52 +0000 (15:28 +0000)]
Added code that stops the configure script if a needed program is not found.

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

21 years agoMove getAnalysisUsage method from header to .cpp file. Add a normal file
Chris Lattner [Tue, 23 Sep 2003 15:13:04 +0000 (15:13 +0000)]
Move getAnalysisUsage method from header to .cpp file.  Add a normal file
header comment

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

21 years ago* Constantify arguments to copy function
Misha Brukman [Tue, 23 Sep 2003 15:09:26 +0000 (15:09 +0000)]
* Constantify arguments to copy function
* Stop using a #define, make it an inline if statement

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

21 years agoRemoved no longer used member variable.
Misha Brukman [Mon, 22 Sep 2003 23:58:08 +0000 (23:58 +0000)]
Removed no longer used member variable.

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

21 years agoUppercase the acronym ASCII.
Misha Brukman [Mon, 22 Sep 2003 23:50:25 +0000 (23:50 +0000)]
Uppercase the acronym ASCII.

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

21 years agoAdded file header comment.
Misha Brukman [Mon, 22 Sep 2003 23:44:46 +0000 (23:44 +0000)]
Added file header comment.

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

21 years ago* No longer initialize the module, a subclass is more suitable to do this
Misha Brukman [Mon, 22 Sep 2003 23:44:13 +0000 (23:44 +0000)]
* No longer initialize the module, a subclass is more suitable to do this
  because it can add a module ID which we do not have at this time.
* Check to see if the module has been initialized when materializing it.

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

21 years agoUpdate file header for renamed file
Chris Lattner [Mon, 22 Sep 2003 23:42:00 +0000 (23:42 +0000)]
Update file header for renamed file

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

21 years agoAdded doxygen comments for the streaming module provider.
Misha Brukman [Mon, 22 Sep 2003 23:40:38 +0000 (23:40 +0000)]
Added doxygen comments for the streaming module provider.

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

21 years ago* Cleaned up code:
Misha Brukman [Mon, 22 Sep 2003 23:38:23 +0000 (23:38 +0000)]
* Cleaned up code:
  - no more passing around a string pointer to set errors
  - no more returning booleans and checking for errors, we use C++ exceptions
* Broke functionality into 2 new classes, one reads from file, one from a stream
* Implemented lazy function streaming - the parser can read in a function at-a-time

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

21 years agoAdded functions to perform streaming function loading, doxygenified comments.
Misha Brukman [Mon, 22 Sep 2003 23:36:33 +0000 (23:36 +0000)]
Added functions to perform streaming function loading, doxygenified comments.

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

21 years agoConverted tabs to spaces.
Misha Brukman [Mon, 22 Sep 2003 23:35:54 +0000 (23:35 +0000)]
Converted tabs to spaces.

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

21 years agoMaterialize the module before releasing it.
Misha Brukman [Mon, 22 Sep 2003 23:35:23 +0000 (23:35 +0000)]
Materialize the module before releasing it.

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

21 years agoFix bugs in the last change
Chris Lattner [Mon, 22 Sep 2003 23:30:59 +0000 (23:30 +0000)]
Fix bugs in the last change

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

21 years agoFix bug: Inline/2003-09-22-PHINodesInNormalInvokeDest.ll
Chris Lattner [Mon, 22 Sep 2003 22:35:39 +0000 (22:35 +0000)]
Fix bug: Inline/2003-09-22-PHINodesInNormalInvokeDest.ll

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

21 years agonew testcase, reduced by bugpoint
Chris Lattner [Mon, 22 Sep 2003 22:22:41 +0000 (22:22 +0000)]
new testcase, reduced by bugpoint

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

21 years agoFix bug: Inline/2003-09-22-PHINodesInExceptionDest.ll
Chris Lattner [Mon, 22 Sep 2003 21:59:27 +0000 (21:59 +0000)]
Fix bug: Inline/2003-09-22-PHINodesInExceptionDest.ll
... by making sure to update PHI nodes to take into consideration the
extra edges we get if we inline a call instruction through an invoke.

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

21 years agonew testcase which crashes the inliner, thanks Bugpoint!
Chris Lattner [Mon, 22 Sep 2003 21:58:46 +0000 (21:58 +0000)]
new testcase which crashes the inliner, thanks Bugpoint!

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

21 years agoCredits now go into the top-level CREDITS.TXT
Misha Brukman [Mon, 22 Sep 2003 21:57:56 +0000 (21:57 +0000)]
Credits now go into the top-level CREDITS.TXT

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

21 years agoCredits are now in top-level CREDITS.TXT
Misha Brukman [Mon, 22 Sep 2003 21:57:15 +0000 (21:57 +0000)]
Credits are now in top-level CREDITS.TXT

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

21 years agoKeep all the contributors in one place, instead of all over the code base.
Misha Brukman [Mon, 22 Sep 2003 21:56:08 +0000 (21:56 +0000)]
Keep all the contributors in one place, instead of all over the code base.

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

21 years agoSquelch warning
Chris Lattner [Mon, 22 Sep 2003 20:33:34 +0000 (20:33 +0000)]
Squelch warning

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

21 years agoSquelch warning
Chris Lattner [Mon, 22 Sep 2003 20:27:10 +0000 (20:27 +0000)]
Squelch warning

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

21 years agoMinor cleanups:
Chris Lattner [Mon, 22 Sep 2003 20:21:34 +0000 (20:21 +0000)]
Minor cleanups:
 * Local header file goes at top
 * Remove unneeded #includes
 * Wrap code at 80 columns
 * Declare variables where they are used
 * 'register' is not needed
 * Use 'unsigned' instead of 'int' variables where possible

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

21 years agonew testcase that crashes the C++ frontend, found by John
Chris Lattner [Mon, 22 Sep 2003 18:27:20 +0000 (18:27 +0000)]
new testcase that crashes the C++ frontend, found by John

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

21 years agoFix assertion so it doesn't not trip incorrectly.
Vikram S. Adve [Sun, 21 Sep 2003 07:55:27 +0000 (07:55 +0000)]
Fix assertion so it doesn't not trip incorrectly.

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

21 years agoUse C++ math header instead of C version.
Brian Gaeke [Sun, 21 Sep 2003 03:57:37 +0000 (03:57 +0000)]
Use C++ math header instead of C version.

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

21 years agoErase now-unused prototypes.
Brian Gaeke [Sun, 21 Sep 2003 02:51:00 +0000 (02:51 +0000)]
Erase now-unused prototypes.

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