Commit Graph

8051 Commits

Author SHA1 Message Date
John Criswell
4e0797835f 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
2003-09-29 14:52:28 +00:00
John Criswell
876b9aa21d 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
2003-09-29 14:49:09 +00:00
John Criswell
788816f021 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
2003-09-29 14:48:29 +00:00
John Criswell
fa4f181b6b 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
2003-09-29 14:05:08 +00:00
Misha Brukman
00ce84066f Squelch warnings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8729 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-27 22:26:37 +00:00
John Criswell
26c7d8b7e0 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
2003-09-26 20:20:44 +00:00
John Criswell
68886d44b1 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
2003-09-26 19:51:42 +00:00
John Criswell
f3534ab094 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
2003-09-26 16:43:51 +00:00
John Criswell
62435345f1 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
2003-09-26 16:32:00 +00:00
John Criswell
91d66aa243 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
2003-09-26 14:58:39 +00:00
John Criswell
67181ca7f6 Added llvm/test/Programs/SingleSource/Regression/Makefile.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8721 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-26 14:53:17 +00:00
Chris Lattner
b0b7c0d28c 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
2003-09-26 14:44:52 +00:00
John Criswell
aecbd278fe 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
2003-09-26 13:58:44 +00:00
John Criswell
6775392c3d 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
2003-09-26 02:59:00 +00:00
Chris Lattner
ee43b69762 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
2003-09-25 19:50:05 +00:00
John Criswell
b7fcd30be6 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
2003-09-25 19:14:51 +00:00
John Criswell
52f68b89be 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
2003-09-25 19:10:25 +00:00
Misha Brukman
3d8a54d00c 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
2003-09-25 18:10:34 +00:00
John Criswell
aadb55fded 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
2003-09-25 17:44:32 +00:00
John Criswell
d1568f5e4f 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
2003-09-25 13:49:37 +00:00
Chris Lattner
735289ccf0 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
2003-09-25 04:13:53 +00:00
Chris Lattner
fbc2d84ce9 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
2003-09-24 23:42:58 +00:00
Chris Lattner
4eed793d5a Fix alignment problem
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8707 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-24 22:34:17 +00:00
Chris Lattner
03f252f1eb Remove explicit use of BasicBlock::succ_iterator
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8706 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-24 22:18:35 +00:00
John Criswell
dd4a049506 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
2003-09-24 22:15:35 +00:00
Misha Brukman
134aba6a75 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
2003-09-24 22:10:47 +00:00
Chris Lattner
23ed9c1c97 Use global *_iterator
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8703 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-24 22:07:33 +00:00
Chris Lattner
f8b5b6ddb4 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
2003-09-24 22:06:25 +00:00
Misha Brukman
34ce14b019 * 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
2003-09-24 22:04:02 +00:00
Chris Lattner
1c9ab515de Do not use BasicBlock::succ_iterator
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8700 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-24 22:03:22 +00:00
Brian Gaeke
222bd53c2c Update head-of-file comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8699 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-24 18:16:23 +00:00
Brian Gaeke
6a256cc37c 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
2003-09-24 18:08:54 +00:00
Brian Gaeke
59b1c566c9 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
2003-09-24 17:50:28 +00:00
Brian Gaeke
eefaeb84f1 Remove some unused methods of class IGNode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8696 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-24 04:29:52 +00:00
Brian Gaeke
02dea4b355 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
2003-09-24 04:09:50 +00:00
Chris Lattner
ccee296049 Fix bug in previous checkin
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8694 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-23 22:02:01 +00:00
John Criswell
4dcbd5e9a2 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
2003-09-23 21:19:11 +00:00
Chris Lattner
76602528ec Update email addr
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8692 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-23 20:59:28 +00:00
John Criswell
61095987cc 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
2003-09-23 20:46:32 +00:00
Chris Lattner
338dd7eb90 Make it detect failed builds better
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8690 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-23 20:33:04 +00:00
Chris Lattner
332ae7f501 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
2003-09-23 20:26:48 +00:00
Chris Lattner
e1a37cba9c new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8688 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-23 20:26:38 +00:00
Misha Brukman
452db67a0e Fixed spelling.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8687 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-23 17:28:11 +00:00
Misha Brukman
8b2fe1943c Fix spelling.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8686 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-23 17:27:28 +00:00
Misha Brukman
8d2ff13149 Squelch warning and delete extra space.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8685 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-23 17:27:02 +00:00
Misha Brukman
d554ebfcf7 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
2003-09-23 16:17:50 +00:00
Misha Brukman
e0dd0d47cb 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
2003-09-23 16:15:29 +00:00
Misha Brukman
d57308a33c * 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
2003-09-23 16:13:28 +00:00
John Criswell
39827c866d 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
2003-09-23 15:28:52 +00:00
Chris Lattner
8474f6fcda 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
2003-09-23 15:13:04 +00:00