oota-llvm.git
20 years agoCommit For New Tool: llvm-abcd (Analysis of ByteCode Dumper). This tool
Reid Spencer [Mon, 7 Jun 2004 17:53:43 +0000 (17:53 +0000)]
Commit For New Tool: llvm-abcd (Analysis of ByteCode Dumper).  This tool
will (eventually) provide statistical analysis of bytecode files as well
as the ability to dump them in a low level format (slot numbers not
resolved). The purpose of this is to aid in the Type!=Value change of
bug 122. With this initial release, llvm-abcd merely dumps out the
bytecode. However, the infrastructure for separating bytecode parsing from
handling the parsing events is in place. The style chosen is similar to
SAX XML parsing where a handler object is called to handlign the parsing
events. This probably isn't useful to anyone but me right now as there is
no analysis yet, and the dumper doesn't work on every bytecode file. It
will probably be useful by the end of this week. Note that there is some
duplication of code from the bytecode reader.  This was done to eliminate
errors from being introduced in the reader and to minimize the impact to
other LLVM developers. At some point, the Analyzer and the Reader will be
integrated to use the same infrastructure. Also, sorry for the minor change
to Instruction.h but I just couldn't bring myself to write code that
depends on Instruction internals.

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

20 years agoAdded checks for mkstemp and getrusage.
John Criswell [Mon, 7 Jun 2004 14:26:24 +0000 (14:26 +0000)]
Added checks for mkstemp and getrusage.

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

20 years agoAdd some notes so I can throw away one of my many todo lists.
Chris Lattner [Sat, 5 Jun 2004 20:12:36 +0000 (20:12 +0000)]
Add some notes so I can throw away one of my many todo lists.

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

20 years agoFix GCC warning
Chris Lattner [Sat, 5 Jun 2004 17:44:48 +0000 (17:44 +0000)]
Fix GCC warning

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

20 years agoFix GCC warnings
Chris Lattner [Sat, 5 Jun 2004 17:43:52 +0000 (17:43 +0000)]
Fix GCC warnings

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

20 years agoFix a few typos, spellos, grammaros.
Reid Spencer [Sat, 5 Jun 2004 14:39:24 +0000 (14:39 +0000)]
Fix a few typos, spellos, grammaros.

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

20 years agoAdd "work in progress" warning.
Reid Spencer [Sat, 5 Jun 2004 14:18:02 +0000 (14:18 +0000)]
Add "work in progress" warning.

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

20 years agoInclude cerrno.
Alkis Evlogimenos [Sat, 5 Jun 2004 08:59:43 +0000 (08:59 +0000)]
Include cerrno.

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

20 years agoRemove an unused variable.
Chris Lattner [Sat, 5 Jun 2004 01:05:19 +0000 (01:05 +0000)]
Remove an unused variable.
Work around for bogus errors: no those static functions don't need to
be executed to be initialized!

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

20 years agoMacros are baaad.
Chris Lattner [Sat, 5 Jun 2004 00:54:11 +0000 (00:54 +0000)]
Macros are baaad.

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

20 years agoDon't #include <unistd.h> directly, go through the config files
Chris Lattner [Sat, 5 Jun 2004 00:27:38 +0000 (00:27 +0000)]
Don't #include <unistd.h> directly, go through the config files

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

20 years agoAdd missing #include
Chris Lattner [Sat, 5 Jun 2004 00:24:59 +0000 (00:24 +0000)]
Add missing #include

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

20 years agoWork around VS bug
Chris Lattner [Sat, 5 Jun 2004 00:22:04 +0000 (00:22 +0000)]
Work around VS bug

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

20 years agoWarning foo
Chris Lattner [Sat, 5 Jun 2004 00:17:13 +0000 (00:17 +0000)]
Warning foo

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

20 years agoAs much as I dislike doing this, it's the only fix for VC8.0 that I can come
Chris Lattner [Sat, 5 Jun 2004 00:11:27 +0000 (00:11 +0000)]
As much as I dislike doing this, it's the only fix for VC8.0 that I can come
up with, even though it's perfectly conformant code.  :(

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

20 years agoRemove unused var
Chris Lattner [Sat, 5 Jun 2004 00:03:27 +0000 (00:03 +0000)]
Remove unused var

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

20 years agoSquelch a warning
Chris Lattner [Fri, 4 Jun 2004 23:53:20 +0000 (23:53 +0000)]
Squelch a warning

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

20 years agoDelete some unreachable code
Chris Lattner [Fri, 4 Jun 2004 23:52:36 +0000 (23:52 +0000)]
Delete some unreachable code

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

20 years ago* No more CachedWriter::setStream()
Misha Brukman [Fri, 4 Jun 2004 21:11:51 +0000 (21:11 +0000)]
* No more CachedWriter::setStream()
* ostream is back to being a reference instead of a pointer
* Output single characters as chars, not as length-1 strings

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

20 years agoRevert ostream back to reference: the only user (llvm-tv) no longer needs it.
Misha Brukman [Fri, 4 Jun 2004 21:10:35 +0000 (21:10 +0000)]
Revert ostream back to reference: the only user (llvm-tv) no longer needs it.

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

20 years agoAdd some constants for VC
Chris Lattner [Fri, 4 Jun 2004 20:58:34 +0000 (20:58 +0000)]
Add some constants for VC

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

20 years agoFix up some spacing & fix a typo in an assertion in cpValue2Value.
Brian Gaeke [Fri, 4 Jun 2004 20:51:40 +0000 (20:51 +0000)]
Fix up some spacing & fix a typo in an assertion in cpValue2Value.

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

20 years agoUgh, apparently there is no common ground here.
Chris Lattner [Fri, 4 Jun 2004 20:48:51 +0000 (20:48 +0000)]
Ugh, apparently there is no common ground here.

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

20 years agoFix a *really* dumb warning on VC
Chris Lattner [Fri, 4 Jun 2004 20:47:19 +0000 (20:47 +0000)]
Fix a *really* dumb warning on VC

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

20 years agoFix more warnings
Chris Lattner [Fri, 4 Jun 2004 20:39:05 +0000 (20:39 +0000)]
Fix more warnings

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

20 years agoRemove support for printing strings from the cached writer
Chris Lattner [Fri, 4 Jun 2004 20:34:51 +0000 (20:34 +0000)]
Remove support for printing strings from the cached writer

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

20 years agoDon't send random junk to CachedWriter's. Also remove a cast that could be
Chris Lattner [Fri, 4 Jun 2004 20:25:55 +0000 (20:25 +0000)]
Don't send random junk to CachedWriter's.  Also remove a cast that could be
problematic when Type does not derive from Value.

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

20 years agoGCC doesn't like prefix form of cast with two identifiers I guess.
Chris Lattner [Fri, 4 Jun 2004 20:21:53 +0000 (20:21 +0000)]
GCC doesn't like prefix form of cast with two identifiers I guess.

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

20 years agoSquish a warning
Chris Lattner [Fri, 4 Jun 2004 20:14:29 +0000 (20:14 +0000)]
Squish a warning

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

20 years agoSilence a warning
Chris Lattner [Fri, 4 Jun 2004 20:10:17 +0000 (20:10 +0000)]
Silence a warning

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

20 years agoAdd ssize_t for VC++
Chris Lattner [Fri, 4 Jun 2004 20:06:33 +0000 (20:06 +0000)]
Add ssize_t for VC++

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

20 years ago<io.h> provides read/write/open/...
Chris Lattner [Fri, 4 Jun 2004 20:05:35 +0000 (20:05 +0000)]
<io.h> provides read/write/open/...

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

20 years agoVisual C has something resembling a stat function, but it doesn't provide S_ISREG
Chris Lattner [Fri, 4 Jun 2004 20:03:06 +0000 (20:03 +0000)]
Visual C has something resembling a stat function, but it doesn't provide S_ISREG

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

20 years agoMake this work on VC++, pull the HAVE_ALLOCA_H case out instead of duplicating
Chris Lattner [Fri, 4 Jun 2004 19:25:50 +0000 (19:25 +0000)]
Make this work on VC++, pull the HAVE_ALLOCA_H case out instead of duplicating
it.  This code can probably be dramatically simplified, as I suspect that the
pragma and other stuff is not needed with C++ compilers.

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

20 years agoAdd more needed typedefs
Chris Lattner [Fri, 4 Jun 2004 19:11:04 +0000 (19:11 +0000)]
Add more needed typedefs

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

20 years agoAdd explicit casts to silence warnings. There is no need to use snprintf here.
Chris Lattner [Fri, 4 Jun 2004 19:10:30 +0000 (19:10 +0000)]
Add explicit casts to silence warnings.  There is no need to use snprintf here.

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

20 years agoMake this work with VC++
Chris Lattner [Fri, 4 Jun 2004 19:01:49 +0000 (19:01 +0000)]
Make this work with VC++

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

20 years agoFix a nasty bug that caused areAliases to always return false.
Chris Lattner [Fri, 4 Jun 2004 17:03:11 +0000 (17:03 +0000)]
Fix a nasty bug that caused areAliases to always return false.

Bug fix courtesy of Anshu Dasgupta

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

20 years agoEmit a more sensible error message if no subclasses of Target are defined.
Misha Brukman [Fri, 4 Jun 2004 14:59:42 +0000 (14:59 +0000)]
Emit a more sensible error message if no subclasses of Target are defined.
Patch contributed by Vladimir Prus.

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

20 years agoClarify documentation and use correct doxygen comment form /// vs. // .
Misha Brukman [Fri, 4 Jun 2004 14:51:25 +0000 (14:51 +0000)]
Clarify documentation and use correct doxygen comment form /// vs. // .
Thanks to Vladimir Prus for corrections.

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

20 years agoFix extraneous tag
Chris Lattner [Fri, 4 Jun 2004 00:40:53 +0000 (00:40 +0000)]
Fix extraneous tag

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

20 years agoNew doc
Chris Lattner [Fri, 4 Jun 2004 00:40:11 +0000 (00:40 +0000)]
New doc

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

20 years agoFix PR356: [doc] lib/Target/X86/README.txt needs update
Chris Lattner [Fri, 4 Jun 2004 00:16:02 +0000 (00:16 +0000)]
Fix PR356: [doc] lib/Target/X86/README.txt needs update

Also add some documentation about how instructions work

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

20 years agoThis file is obsolete
Chris Lattner [Fri, 4 Jun 2004 00:15:21 +0000 (00:15 +0000)]
This file is obsolete

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

20 years agoHonor DISABLE_CBE, etc., even when doing the "running tests" (i.e., Olden)
Brian Gaeke [Fri, 4 Jun 2004 00:07:12 +0000 (00:07 +0000)]
Honor DISABLE_CBE, etc., even when doing the "running tests" (i.e., Olden)

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

20 years agoFix broken internal link; add stub for missing subsection.
Misha Brukman [Thu, 3 Jun 2004 23:47:34 +0000 (23:47 +0000)]
Fix broken internal link; add stub for missing subsection.

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

20 years agoFix broken internal link.
Misha Brukman [Thu, 3 Jun 2004 23:42:24 +0000 (23:42 +0000)]
Fix broken internal link.

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

20 years agoGCSE has suddenly become a struct, not a class; fix broken link.
Misha Brukman [Thu, 3 Jun 2004 23:39:36 +0000 (23:39 +0000)]
GCSE has suddenly become a struct, not a class; fix broken link.

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

20 years agoFix more broken links as a result of the llvm namespace.
Misha Brukman [Thu, 3 Jun 2004 23:35:54 +0000 (23:35 +0000)]
Fix more broken links as a result of the llvm namespace.

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

20 years agoFix broken internal links.
Misha Brukman [Thu, 3 Jun 2004 23:33:10 +0000 (23:33 +0000)]
Fix broken internal links.

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

20 years agoFix broken links as a result of the llvm namespace.
Misha Brukman [Thu, 3 Jun 2004 23:29:12 +0000 (23:29 +0000)]
Fix broken links as a result of the llvm namespace.

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

20 years agoFix some broken links
Chris Lattner [Thu, 3 Jun 2004 22:57:15 +0000 (22:57 +0000)]
Fix some broken links

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

20 years agoCQ bug implemented
Chris Lattner [Thu, 3 Jun 2004 22:35:13 +0000 (22:35 +0000)]
CQ bug implemented

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

20 years agoThe prototype for ParseCommandLineOptions changed at some point, but this
Chris Lattner [Thu, 3 Jun 2004 22:07:26 +0000 (22:07 +0000)]
The prototype for ParseCommandLineOptions changed at some point, but this
was never updated.  I guess GCC just ignores the prototype

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

20 years agoAllow script to set configure args.
Brian Gaeke [Thu, 3 Jun 2004 21:46:56 +0000 (21:46 +0000)]
Allow script to set configure args.
Allow environment to set llvmgccdir.

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

20 years agoAdjust argument to match destination data type
Chris Lattner [Thu, 3 Jun 2004 21:14:56 +0000 (21:14 +0000)]
Adjust argument to match destination data type

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

20 years agoDon't use identifiers that start with an _
Chris Lattner [Thu, 3 Jun 2004 21:12:02 +0000 (21:12 +0000)]
Don't use identifiers that start with an _

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

20 years agoOnly use the non-standards-compliant std::distance on the compiler that is
Chris Lattner [Thu, 3 Jun 2004 18:48:59 +0000 (18:48 +0000)]
Only use the non-standards-compliant std::distance on the compiler that is
buggy, not for all compilers that are not GCC 3

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

20 years agoSpecify div type "doc_text" to get proper indentation for paragraphs.
Misha Brukman [Thu, 3 Jun 2004 16:59:59 +0000 (16:59 +0000)]
Specify div type "doc_text" to get proper indentation for paragraphs.

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

20 years agoAdd a hyphen.
Misha Brukman [Thu, 3 Jun 2004 16:55:57 +0000 (16:55 +0000)]
Add a hyphen.

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

20 years agoProperly close the footer paragraph.
Misha Brukman [Thu, 3 Jun 2004 15:25:16 +0000 (15:25 +0000)]
Properly close the footer paragraph.

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

20 years agoWrap long lines.
Misha Brukman [Thu, 3 Jun 2004 15:23:59 +0000 (15:23 +0000)]
Wrap long lines.

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

20 years agoFix case of doxygen directive \p.
Misha Brukman [Thu, 3 Jun 2004 15:14:00 +0000 (15:14 +0000)]
Fix case of doxygen directive \p.

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

20 years ago* Verify function prototypes, not just functions with bodies.
Chris Lattner [Thu, 3 Jun 2004 06:38:43 +0000 (06:38 +0000)]
* Verify function prototypes, not just functions with bodies.
* Verify that functions do not take aggregates as arguments.

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

20 years agoAdd new internal-global-symbol mapping info pass... may its life be short
Brian Gaeke [Thu, 3 Jun 2004 05:03:37 +0000 (05:03 +0000)]
Add new internal-global-symbol mapping info pass... may its life be short
and sweet.

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

20 years agoExpand head-of-file comment.
Brian Gaeke [Thu, 3 Jun 2004 05:03:02 +0000 (05:03 +0000)]
Expand head-of-file comment.

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

20 years agoAdd new mapping info pass, when EmitMappingInfo is on.
Brian Gaeke [Thu, 3 Jun 2004 05:03:01 +0000 (05:03 +0000)]
Add new mapping info pass, when EmitMappingInfo is on.

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

20 years agoFix big mistake in my last checkin... the big question is, how did I ever
Brian Gaeke [Thu, 3 Jun 2004 05:03:00 +0000 (05:03 +0000)]
Fix big mistake in my last checkin... the big question is, how did I ever
get this to link before?

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

20 years agoAdd decl. for new mapping info pass factory method.
Brian Gaeke [Thu, 3 Jun 2004 05:02:59 +0000 (05:02 +0000)]
Add decl. for new mapping info pass factory method.

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

20 years agoAdd -disable-codegen option to disable LLC and JIT targets
Chris Lattner [Thu, 3 Jun 2004 03:29:39 +0000 (03:29 +0000)]
Add -disable-codegen option to disable LLC and JIT targets

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

20 years agoCollapse together the abstract superclass TargetRegInfo and SparcV9RegInfo, its
Brian Gaeke [Thu, 3 Jun 2004 02:45:09 +0000 (02:45 +0000)]
Collapse together the abstract superclass TargetRegInfo and SparcV9RegInfo, its
only concrete implementation.

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

20 years agoRecognize cygwin
Chris Lattner [Wed, 2 Jun 2004 23:32:17 +0000 (23:32 +0000)]
Recognize cygwin

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

20 years ago<alloca.h> on cygwin pulls in a ton of stuff (macros and function protos)
Chris Lattner [Wed, 2 Jun 2004 23:10:26 +0000 (23:10 +0000)]
<alloca.h> on cygwin pulls in a ton of stuff (macros and function protos)
that we REALLY don't want in the CBE code.

With this fix, the CBE passes all of the MultiSource tests on cygwin that
it does on linux.  Yaay!

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

20 years agoAnother pod
Brian Gaeke [Wed, 2 Jun 2004 20:55:52 +0000 (20:55 +0000)]
Another pod

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

20 years agoThe llvm-dis.html page was a little out of date, but this pod file can supersede it.
Brian Gaeke [Wed, 2 Jun 2004 20:45:25 +0000 (20:45 +0000)]
The llvm-dis.html page was a little out of date, but this pod file can supersede it.

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

20 years agoUpdate to include llc on x86 and other systems
Chris Lattner [Wed, 2 Jun 2004 20:37:02 +0000 (20:37 +0000)]
Update to include llc on x86 and other systems

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

20 years agoTasty, tasty pods...
Brian Gaeke [Wed, 2 Jun 2004 20:29:49 +0000 (20:29 +0000)]
Tasty, tasty pods...

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

20 years agoThe -q option is gone
Chris Lattner [Wed, 2 Jun 2004 19:51:09 +0000 (19:51 +0000)]
The -q option is gone

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

20 years agoThe --enable-correct-eh-support option is meaningless when provided to
Chris Lattner [Wed, 2 Jun 2004 19:30:23 +0000 (19:30 +0000)]
The --enable-correct-eh-support option is meaningless when provided to
gccas.

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

20 years agocygwin apparently doesn't have widechar support. But when disabled, the whole
Chris Lattner [Wed, 2 Jun 2004 19:27:50 +0000 (19:27 +0000)]
cygwin apparently doesn't have widechar support.  But when disabled, the whole
C/C++ front-end and runtime libraries finally build!

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

20 years agoAdd a link to the code gen document
Chris Lattner [Wed, 2 Jun 2004 19:24:10 +0000 (19:24 +0000)]
Add a link to the code gen document

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

20 years agoHere's another pod.
Brian Gaeke [Wed, 2 Jun 2004 19:21:26 +0000 (19:21 +0000)]
Here's another pod.

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

20 years agoLook, it's a gccas pod.
Brian Gaeke [Wed, 2 Jun 2004 19:12:38 +0000 (19:12 +0000)]
Look, it's a gccas pod.

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

20 years agoAdd a note about the V9 backend.
Chris Lattner [Wed, 2 Jun 2004 07:06:06 +0000 (07:06 +0000)]
Add a note about the V9 backend.

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

20 years agoOops, this was not to go in
Chris Lattner [Wed, 2 Jun 2004 06:06:45 +0000 (06:06 +0000)]
Oops, this was not to go in

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

20 years agoAdjust to the new TargetMachine interface
Chris Lattner [Wed, 2 Jun 2004 06:06:20 +0000 (06:06 +0000)]
Adjust to the new TargetMachine interface

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

20 years agoAdjust to new TargetMachine interface
Chris Lattner [Wed, 2 Jun 2004 05:57:12 +0000 (05:57 +0000)]
Adjust to new TargetMachine interface

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

20 years agoInline findOptimalStorageSize into it's caller, both of which are sparc specific
Chris Lattner [Wed, 2 Jun 2004 05:56:52 +0000 (05:56 +0000)]
Inline findOptimalStorageSize into it's caller, both of which are sparc specific

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

20 years agoAdjust to new TM interface
Chris Lattner [Wed, 2 Jun 2004 05:56:04 +0000 (05:56 +0000)]
Adjust to new TM interface

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

20 years agoMethod has been inlined into all callers
Chris Lattner [Wed, 2 Jun 2004 05:55:48 +0000 (05:55 +0000)]
Method has been inlined into all callers

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

20 years agoConvert to the new TargetMachine interface.
Chris Lattner [Wed, 2 Jun 2004 05:55:25 +0000 (05:55 +0000)]
Convert to the new TargetMachine interface.

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

20 years agoStubs are no longer needed
Chris Lattner [Wed, 2 Jun 2004 05:53:52 +0000 (05:53 +0000)]
Stubs are no longer needed

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

20 years agoDelete the V9 specific findOptimalStorageSize method, inlining it into all callers.
Chris Lattner [Wed, 2 Jun 2004 05:53:25 +0000 (05:53 +0000)]
Delete the V9 specific findOptimalStorageSize method, inlining it into all callers.
Substantially clean up all target implementations by having the OPTIONAL get*Info
methods return a pointer instead of a reference.  This allows us to have default
implementations!

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

20 years agoAdjust to new TM interfaces
Chris Lattner [Wed, 2 Jun 2004 05:47:26 +0000 (05:47 +0000)]
Adjust to new TM interfaces

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

20 years agoFinegrainify namespacification
Chris Lattner [Wed, 2 Jun 2004 04:28:06 +0000 (04:28 +0000)]
Finegrainify namespacification

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

20 years agoFix a trivial but blatant bug
Chris Lattner [Wed, 2 Jun 2004 03:57:43 +0000 (03:57 +0000)]
Fix a trivial but blatant bug

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

20 years agoMake gccld copy the llvm-stub program to be the execution wrapper for
Chris Lattner [Wed, 2 Jun 2004 00:53:57 +0000 (00:53 +0000)]
Make gccld copy the llvm-stub program to be the execution wrapper for
bytecode files on win32 systems.  We keep the shell script on unix systems
because it is much more transparent for the users and supports -load
options.

This allows llvmgcc work correctly on win32 systems without the -native or
-native-cbe options.

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

20 years agoImplement the new CopyFile function
Chris Lattner [Wed, 2 Jun 2004 00:52:22 +0000 (00:52 +0000)]
Implement the new CopyFile function

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

20 years agoAdd a new CopyFile function
Chris Lattner [Wed, 2 Jun 2004 00:51:20 +0000 (00:51 +0000)]
Add a new CopyFile function

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

20 years agoFix a double negation (in grammar).
Misha Brukman [Wed, 2 Jun 2004 00:29:52 +0000 (00:29 +0000)]
Fix a double negation (in grammar).

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