Commit Graph

12252 Commits

Author SHA1 Message Date
Chris Lattner
192d223d78 Remove support for printing strings from the cached writer
llvm-svn: 14023
2004-06-04 20:34:51 +00:00
Chris Lattner
2afbad063f Don't send random junk to CachedWriter's. Also remove a cast that could be
problematic when Type does not derive from Value.

llvm-svn: 14022
2004-06-04 20:25:55 +00:00
Chris Lattner
73c62c067f GCC doesn't like prefix form of cast with two identifiers I guess.
llvm-svn: 14021
2004-06-04 20:21:53 +00:00
Chris Lattner
4bd463c15e Squish a warning
llvm-svn: 14020
2004-06-04 20:14:29 +00:00
Chris Lattner
db1b83334e Silence a warning
llvm-svn: 14019
2004-06-04 20:10:17 +00:00
Chris Lattner
494d2b2caa Add ssize_t for VC++
llvm-svn: 14018
2004-06-04 20:06:33 +00:00
Chris Lattner
0a5701bc3d <io.h> provides read/write/open/...
llvm-svn: 14017
2004-06-04 20:05:35 +00:00
Chris Lattner
52d1b9e247 Visual C has something resembling a stat function, but it doesn't provide S_ISREG
llvm-svn: 14016
2004-06-04 20:03:06 +00:00
Chris Lattner
4db85f02c4 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.

llvm-svn: 14015
2004-06-04 19:25:50 +00:00
Chris Lattner
646490b874 Add more needed typedefs
llvm-svn: 14014
2004-06-04 19:11:04 +00:00
Chris Lattner
bfe3149bf3 Add explicit casts to silence warnings. There is no need to use snprintf here.
llvm-svn: 14013
2004-06-04 19:10:30 +00:00
Chris Lattner
0dc2095242 Make this work with VC++
llvm-svn: 14012
2004-06-04 19:01:49 +00:00
Chris Lattner
11d0f8d30e Fix a nasty bug that caused areAliases to always return false.
Bug fix courtesy of Anshu Dasgupta

llvm-svn: 14011
2004-06-04 17:03:11 +00:00
Misha Brukman
fffcf9c9fb Emit a more sensible error message if no subclasses of Target are defined.
Patch contributed by Vladimir Prus.

llvm-svn: 14010
2004-06-04 14:59:42 +00:00
Misha Brukman
d608ac24d7 Clarify documentation and use correct doxygen comment form /// vs. // .
Thanks to Vladimir Prus for corrections.

llvm-svn: 14009
2004-06-04 14:51:25 +00:00
Chris Lattner
2d2dcb392a Fix extraneous tag
llvm-svn: 14008
2004-06-04 00:40:53 +00:00
Chris Lattner
5c721643b5 New doc
llvm-svn: 14007
2004-06-04 00:40:11 +00:00
Chris Lattner
dac72b8bd3 Fix PR356: [doc] lib/Target/X86/README.txt needs update
Also add some documentation about how instructions work

llvm-svn: 14006
2004-06-04 00:16:02 +00:00
Chris Lattner
c51b272047 This file is obsolete
llvm-svn: 14005
2004-06-04 00:15:21 +00:00
Brian Gaeke
0c586cdc5e Honor DISABLE_CBE, etc., even when doing the "running tests" (i.e., Olden)
llvm-svn: 14004
2004-06-04 00:07:12 +00:00
Misha Brukman
fdd4649014 Fix broken internal link; add stub for missing subsection.
llvm-svn: 14003
2004-06-03 23:47:34 +00:00
Misha Brukman
eca6c20638 Fix broken internal link.
llvm-svn: 14002
2004-06-03 23:42:24 +00:00
Misha Brukman
ae1dfd2077 GCSE has suddenly become a struct, not a class; fix broken link.
llvm-svn: 14001
2004-06-03 23:39:36 +00:00
Misha Brukman
e1d137cc4b Fix more broken links as a result of the llvm namespace.
llvm-svn: 14000
2004-06-03 23:35:54 +00:00
Misha Brukman
c2df1150c6 Fix broken internal links.
llvm-svn: 13999
2004-06-03 23:33:10 +00:00
Misha Brukman
d7ac34c82f Fix broken links as a result of the llvm namespace.
llvm-svn: 13998
2004-06-03 23:29:12 +00:00
Chris Lattner
1a313f10c9 Fix some broken links
llvm-svn: 13997
2004-06-03 22:57:15 +00:00
Chris Lattner
3c1836a704 CQ bug implemented
llvm-svn: 13996
2004-06-03 22:35:13 +00:00
Chris Lattner
ee9db04c44 The prototype for ParseCommandLineOptions changed at some point, but this
was never updated.  I guess GCC just ignores the prototype

llvm-svn: 13995
2004-06-03 22:07:26 +00:00
Brian Gaeke
412756570b Allow script to set configure args.
Allow environment to set llvmgccdir.

llvm-svn: 13994
2004-06-03 21:46:56 +00:00
Chris Lattner
a079b13320 Adjust argument to match destination data type
llvm-svn: 13993
2004-06-03 21:14:56 +00:00
Chris Lattner
54280727f7 Don't use identifiers that start with an _
llvm-svn: 13992
2004-06-03 21:12:02 +00:00
Chris Lattner
00604592aa Only use the non-standards-compliant std::distance on the compiler that is
buggy, not for all compilers that are not GCC 3

llvm-svn: 13990
2004-06-03 18:48:59 +00:00
Misha Brukman
1ccd8a521a Specify div type "doc_text" to get proper indentation for paragraphs.
llvm-svn: 13989
2004-06-03 16:59:59 +00:00
Misha Brukman
eb575df2cd Add a hyphen.
llvm-svn: 13988
2004-06-03 16:55:57 +00:00
Misha Brukman
5dc5d27120 Properly close the footer paragraph.
llvm-svn: 13987
2004-06-03 15:25:16 +00:00
Misha Brukman
8c3768b4d5 Wrap long lines.
llvm-svn: 13986
2004-06-03 15:23:59 +00:00
Misha Brukman
0366f47359 Fix case of doxygen directive \p.
llvm-svn: 13985
2004-06-03 15:14:00 +00:00
Chris Lattner
e78fedecf2 * Verify function prototypes, not just functions with bodies.
* Verify that functions do not take aggregates as arguments.

llvm-svn: 13984
2004-06-03 06:38:43 +00:00
Brian Gaeke
4f0fc86456 Add new internal-global-symbol mapping info pass... may its life be short
and sweet.

llvm-svn: 13983
2004-06-03 05:03:37 +00:00
Brian Gaeke
68eb7345df Expand head-of-file comment.
llvm-svn: 13982
2004-06-03 05:03:02 +00:00
Brian Gaeke
e3a1c92896 Add new mapping info pass, when EmitMappingInfo is on.
llvm-svn: 13981
2004-06-03 05:03:01 +00:00
Brian Gaeke
ceb3e78152 Fix big mistake in my last checkin... the big question is, how did I ever
get this to link before?

llvm-svn: 13980
2004-06-03 05:03:00 +00:00
Brian Gaeke
a960c641e0 Add decl. for new mapping info pass factory method.
llvm-svn: 13979
2004-06-03 05:02:59 +00:00
Chris Lattner
e83914344f Add -disable-codegen option to disable LLC and JIT targets
llvm-svn: 13978
2004-06-03 03:29:39 +00:00
Brian Gaeke
e3e792cefa Collapse together the abstract superclass TargetRegInfo and SparcV9RegInfo, its
only concrete implementation.

llvm-svn: 13977
2004-06-03 02:45:09 +00:00
Chris Lattner
a8e931aa4b Recognize cygwin
llvm-svn: 13976
2004-06-02 23:32:17 +00:00
Chris Lattner
42730da855 <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!

llvm-svn: 13975
2004-06-02 23:10:26 +00:00
Brian Gaeke
f4f84b07fa Another pod
llvm-svn: 13969
2004-06-02 20:55:52 +00:00
Brian Gaeke
39ce5e51e7 The llvm-dis.html page was a little out of date, but this pod file can supersede it.
llvm-svn: 13968
2004-06-02 20:45:25 +00:00