Commit Graph

12452 Commits

Author SHA1 Message Date
Chris Lattner
071f2f13b6 Squish a warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14020 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-04 20:14:29 +00:00
Chris Lattner
c285da73a4 Silence a warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14019 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-04 20:10:17 +00:00
Chris Lattner
745feacfd6 Add ssize_t for VC++
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14018 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-04 20:06:33 +00:00
Chris Lattner
5811862f23 <io.h> provides read/write/open/...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14017 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-04 20:05:35 +00:00
Chris Lattner
a833fca56c 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
2004-06-04 20:03:06 +00:00
Chris Lattner
44eaf9b354 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
2004-06-04 19:25:50 +00:00
Chris Lattner
d1e89d657c Add more needed typedefs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14014 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-04 19:11:04 +00:00
Chris Lattner
2908ca78b0 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
2004-06-04 19:10:30 +00:00
Chris Lattner
6549b82535 Make this work with VC++
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14012 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-04 19:01:49 +00:00
Chris Lattner
4f02562ec1 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
2004-06-04 17:03:11 +00:00
Misha Brukman
bebdb204d2 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
2004-06-04 14:59:42 +00:00
Misha Brukman
a7afa37f3c 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
2004-06-04 14:51:25 +00:00
Chris Lattner
0ccf5496a9 Fix extraneous tag
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14008 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-04 00:40:53 +00:00
Chris Lattner
00f19b6275 New doc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14007 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-04 00:40:11 +00:00
Chris Lattner
ec94f80b07 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
2004-06-04 00:16:02 +00:00
Chris Lattner
994d7ae649 This file is obsolete
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14005 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-04 00:15:21 +00:00
Brian Gaeke
8566854f61 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
2004-06-04 00:07:12 +00:00
Misha Brukman
4fcfaa5410 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
2004-06-03 23:47:34 +00:00
Misha Brukman
179bf4bf39 Fix broken internal link.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14002 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-03 23:42:24 +00:00
Misha Brukman
d15516ea46 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
2004-06-03 23:39:36 +00:00
Misha Brukman
31ca1deab4 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
2004-06-03 23:35:54 +00:00
Misha Brukman
1ed834827a Fix broken internal links.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13999 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-03 23:33:10 +00:00
Misha Brukman
384047f248 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
2004-06-03 23:29:12 +00:00
Chris Lattner
e53e508642 Fix some broken links
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13997 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-03 22:57:15 +00:00
Chris Lattner
3bff8f57ae CQ bug implemented
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13996 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-03 22:35:13 +00:00
Chris Lattner
51ae205adf 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
2004-06-03 22:07:26 +00:00
Brian Gaeke
1770e2cf01 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
2004-06-03 21:46:56 +00:00
Chris Lattner
d924d6b35d Adjust argument to match destination data type
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13993 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-03 21:14:56 +00:00
Chris Lattner
caeb8b4041 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
2004-06-03 21:12:02 +00:00
Chris Lattner
6bf7ca5f6f 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
2004-06-03 18:48:59 +00:00
Misha Brukman
78b648c5e3 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
2004-06-03 16:59:59 +00:00
Misha Brukman
f3709d6c54 Add a hyphen.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13988 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-03 16:55:57 +00:00
Misha Brukman
dcc6f80f55 Properly close the footer paragraph.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13987 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-03 15:25:16 +00:00
Misha Brukman
90147439b3 Wrap long lines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13986 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-03 15:23:59 +00:00
Misha Brukman
046b1622eb Fix case of doxygen directive \p.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13985 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-03 15:14:00 +00:00
Chris Lattner
7c277b3a64 * 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
2004-06-03 06:38:43 +00:00
Brian Gaeke
8c4174a0a7 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
2004-06-03 05:03:37 +00:00
Brian Gaeke
f36b5f0fb6 Expand head-of-file comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13982 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-03 05:03:02 +00:00
Brian Gaeke
5821595693 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
2004-06-03 05:03:01 +00:00
Brian Gaeke
7d8793a3a5 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
2004-06-03 05:03:00 +00:00
Brian Gaeke
36e5254e4d 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
2004-06-03 05:02:59 +00:00
Chris Lattner
20d13ea5f6 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
2004-06-03 03:29:39 +00:00
Brian Gaeke
498231bc60 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
2004-06-03 02:45:09 +00:00
Chris Lattner
44afcb7dcf Recognize cygwin
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13976 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-02 23:32:17 +00:00
Chris Lattner
8fcf797f79 <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
2004-06-02 23:10:26 +00:00
Brian Gaeke
407d7c886c Another pod
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13969 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-02 20:55:52 +00:00
Brian Gaeke
99e4306be1 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
2004-06-02 20:45:25 +00:00
Chris Lattner
b3bbcba45e 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
2004-06-02 20:37:02 +00:00
Brian Gaeke
53d91b23a6 Tasty, tasty pods...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13966 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-02 20:29:49 +00:00
Chris Lattner
2b04fa3a0c The -q option is gone
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13965 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-02 19:51:09 +00:00