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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Chris Lattner [Wed, 2 Jun 2004 00:22:24 +0000 (00:22 +0000)]
Move some functions out of gccld.cpp to GenerateCode.cpp. This allows us
to reduce the inter-file interface in the gccld tool and gets some
uninteresting code out of gccld.cpp.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13942
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 2 Jun 2004 00:10:19 +0000 (00:10 +0000)]
Refactor a bit of code into a function, no functionality changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13941
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Wed, 2 Jun 2004 00:09:46 +0000 (00:09 +0000)]
Fix spelling, trim empty space, tighten up function header comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13940
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 2 Jun 2004 00:04:54 +0000 (00:04 +0000)]
No really cygwin, we LIKE .exe'ness.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13939
91177308-0d34-0410-b5e6-
96231b3b80d8