Chris Lattner
bbc373bf8b
Eliminate more traces of the -c option
...
llvm-svn: 14049
2004-06-07 18:10:01 +00:00
Reid Spencer
db5c86d0b1
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.
llvm-svn: 14048
2004-06-07 17:53:43 +00:00
John Criswell
b0a352c94f
Added checks for mkstemp and getrusage.
...
llvm-svn: 14047
2004-06-07 14:26:24 +00:00
Chris Lattner
2738b7ea61
Add some notes so I can throw away one of my many todo lists.
...
llvm-svn: 14046
2004-06-05 20:12:36 +00:00
Chris Lattner
307e1df0d1
Fix GCC warning
...
llvm-svn: 14045
2004-06-05 17:44:48 +00:00
Chris Lattner
08d1b9db1e
Fix GCC warnings
...
llvm-svn: 14044
2004-06-05 17:43:52 +00:00
Reid Spencer
1253fb9d83
Fix a few typos, spellos, grammaros.
...
llvm-svn: 14043
2004-06-05 14:39:24 +00:00
Reid Spencer
242ddb92bc
Add "work in progress" warning.
...
llvm-svn: 14042
2004-06-05 14:18:02 +00:00
Alkis Evlogimenos
2c0735446b
Include cerrno.
...
llvm-svn: 14041
2004-06-05 08:59:43 +00:00
Chris Lattner
0d63958706
Remove an unused variable.
...
Work around for bogus errors: no those static functions don't need to
be executed to be initialized!
llvm-svn: 14040
2004-06-05 01:05:19 +00:00
Chris Lattner
0a5f63d5f4
Macros are baaad.
...
llvm-svn: 14039
2004-06-05 00:54:11 +00:00
Chris Lattner
28461fa83c
Don't #include <unistd.h> directly, go through the config files
...
llvm-svn: 14038
2004-06-05 00:27:38 +00:00
Chris Lattner
c5e0be647c
Add missing #include
...
llvm-svn: 14037
2004-06-05 00:24:59 +00:00
Chris Lattner
61bd8b3810
Work around VS bug
...
llvm-svn: 14036
2004-06-05 00:22:04 +00:00
Chris Lattner
2e7ceee89f
Warning foo
...
llvm-svn: 14035
2004-06-05 00:17:13 +00:00
Chris Lattner
708ee9d965
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. :(
llvm-svn: 14034
2004-06-05 00:11:27 +00:00
Chris Lattner
5c391ce004
Remove unused var
...
llvm-svn: 14033
2004-06-05 00:03:27 +00:00
Chris Lattner
aa6ff271d0
Squelch a warning
...
llvm-svn: 14032
2004-06-04 23:53:20 +00:00
Chris Lattner
42d5b0878b
Delete some unreachable code
...
llvm-svn: 14031
2004-06-04 23:52:36 +00:00
Misha Brukman
21bbdb9533
* 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
llvm-svn: 14030
2004-06-04 21:11:51 +00:00
Misha Brukman
a415858fc2
Revert ostream back to reference: the only user (llvm-tv) no longer needs it.
...
llvm-svn: 14029
2004-06-04 21:10:35 +00:00
Chris Lattner
603b1ca393
Add some constants for VC
...
llvm-svn: 14028
2004-06-04 20:58:34 +00:00
Brian Gaeke
78faa9a9e6
Fix up some spacing & fix a typo in an assertion in cpValue2Value.
...
llvm-svn: 14027
2004-06-04 20:51:40 +00:00
Chris Lattner
dcffa86719
Ugh, apparently there is no common ground here.
...
llvm-svn: 14026
2004-06-04 20:48:51 +00:00
Chris Lattner
214e58ded5
Fix a *really* dumb warning on VC
...
llvm-svn: 14025
2004-06-04 20:47:19 +00:00
Chris Lattner
a429db82bf
Fix more warnings
...
llvm-svn: 14024
2004-06-04 20:39:05 +00:00
Chris Lattner
fd427c1edd
Remove support for printing strings from the cached writer
...
llvm-svn: 14023
2004-06-04 20:34:51 +00:00
Chris Lattner
75019ba397
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
875779a87a
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
1278759a2c
Squish a warning
...
llvm-svn: 14020
2004-06-04 20:14:29 +00:00
Chris Lattner
505b2c6b77
Silence a warning
...
llvm-svn: 14019
2004-06-04 20:10:17 +00:00
Chris Lattner
a36804a2ff
Add ssize_t for VC++
...
llvm-svn: 14018
2004-06-04 20:06:33 +00:00
Chris Lattner
49dc039eeb
<io.h> provides read/write/open/...
...
llvm-svn: 14017
2004-06-04 20:05:35 +00:00
Chris Lattner
5cc1b64528
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
3df4beffa5
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
72e76982f7
Add more needed typedefs
...
llvm-svn: 14014
2004-06-04 19:11:04 +00:00
Chris Lattner
b80110f667
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
5034a983ff
Make this work with VC++
...
llvm-svn: 14012
2004-06-04 19:01:49 +00:00
Chris Lattner
1d79ba7edb
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
aff10d0461
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
57c586cf78
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
881cc1549f
Fix extraneous tag
...
llvm-svn: 14008
2004-06-04 00:40:53 +00:00
Chris Lattner
a7fac9566d
New doc
...
llvm-svn: 14007
2004-06-04 00:40:11 +00:00
Chris Lattner
b4e5664f98
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
add9f29fdf
This file is obsolete
...
llvm-svn: 14005
2004-06-04 00:15:21 +00:00
Brian Gaeke
2948d2e724
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
1d3b7a3f52
Fix broken internal link; add stub for missing subsection.
...
llvm-svn: 14003
2004-06-03 23:47:34 +00:00
Misha Brukman
3155159ef9
Fix broken internal link.
...
llvm-svn: 14002
2004-06-03 23:42:24 +00:00
Misha Brukman
d72c7f9fc9
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
18a94d6f21
Fix more broken links as a result of the llvm namespace.
...
llvm-svn: 14000
2004-06-03 23:35:54 +00:00