Chris Lattner
52d9a00288
Predicate things better
...
llvm-svn: 6331
2003-05-25 16:52:41 +00:00
Misha Brukman
3b22d1b247
Do not show errors when moving file. The error is shown the first time anyone
...
runs `utils/cvsupdate' since there is no `cvs.out' file for mv to move, and it
is reported as such.
llvm-svn: 6330
2003-05-25 16:38:24 +00:00
Chris Lattner
fbb45c1b92
Fix problem with last checkin.
...
llvm-svn: 6328
2003-05-25 16:15:32 +00:00
Vikram S. Adve
e3af518f95
Make case of GetNumOfInt/FloatArgRegs functions to be use lower case
...
like all the other functions.
llvm-svn: 6326
2003-05-25 16:02:05 +00:00
Vikram S. Adve
5553ed755a
Add support for compiling varargs functions.
...
llvm-svn: 6325
2003-05-25 15:59:47 +00:00
Misha Brukman
6ffaa5b188
Reword to remove reference to how things worked in the past.
...
llvm-svn: 6323
2003-05-24 01:08:43 +00:00
Misha Brukman
25b8510b7e
Add ability to utilize the code emitter generator (CodeEmitterGen).
...
llvm-svn: 6322
2003-05-24 00:17:12 +00:00
Misha Brukman
be1457481b
First cut at the Code Generator using the TableGen methodology.
...
llvm-svn: 6321
2003-05-24 00:15:53 +00:00
Misha Brukman
b7a0d570a8
Implement the TargetInstrInfo's createNOPinstr() and isNOPinstr() interface.
...
llvm-svn: 6320
2003-05-24 00:09:50 +00:00
Misha Brukman
151f7484ab
NOP instructions are pseudo-instructions. We should not have them explicitly in
...
our representation, since they are usually special cases of already-existing
instructions.
This abstracts away methods that let a pass create and verify a NOP instruction,
without relying on a `NOP' enum to be in existence in the target's instruction
info descriptor.
llvm-svn: 6319
2003-05-24 00:08:39 +00:00
Brian Gaeke
eda6c90c58
Suggest -save-temps instead of -S, -E.
...
llvm-svn: 6318
2003-05-23 21:03:50 +00:00
Brian Gaeke
b9ec46415f
Remove ".bc" from the end of InputFile if it is there, in
...
tools/lli/lli.cpp:main().
llvm-svn: 6317
2003-05-23 20:28:07 +00:00
Brian Gaeke
b599881570
gccld.cpp:
...
Fix typo in header.
Add IsArchive static method.
Roll LoadLibraryFromDirectory() into LoadLibrary(), and factor
LoadLibraryExactName() out of the result. Instead of treating the current
directory specially, just insert it into LibPaths in the beginning of
main().
Make LoadLibrary() take a "search" flag that says whether to search for the
correct library, or just trust that LibName is right.
Make LinkLibrary() take a "search" flag, and pass it to LoadLibrary().
Change the for-loop over InputFilenames to detect ar archives and link them
in as libraries without searching.
Change the for-loop over Libraries to explicitly turn on the "search" flag
to LinkLibrary() that makes LoadLibrary() search for the correct library
(i.e., when processing -lNAME options.)
llvm-svn: 6316
2003-05-23 20:27:07 +00:00
Chris Lattner
500984b918
Fix Bug: Linker/2003-04-26-NullPtrLinkProblem.ll
...
This was a problem with constants having their types resolved to some new type,
but there was already a constant of the new type created. Before, these types
were never merged together, now they are.
llvm-svn: 6314
2003-05-23 20:03:32 +00:00
Chris Lattner
9cdb6fdeaa
Remove some cruft, add some methods to allow implementation of bugfix for
...
Bug: Linker/2003-04-26-NullPtrLinkProblem.ll
llvm-svn: 6313
2003-05-23 20:02:05 +00:00
Misha Brukman
b385c22d80
Cleaned up code layout; no functional changes.
...
llvm-svn: 6312
2003-05-23 19:20:57 +00:00
Chris Lattner
e7c3c48fb4
Minor rewording/cleanups
...
llvm-svn: 6311
2003-05-23 17:13:15 +00:00
Chris Lattner
5c04a4e72c
New testcase identified by Brian Gaeke. Gotta love GCC extensions. :(
...
llvm-svn: 6310
2003-05-23 15:07:31 +00:00
Chris Lattner
7ff0899e95
Fix a problem brian identified.
...
llvm-svn: 6309
2003-05-23 14:49:32 +00:00
Brian Gaeke
5eee0dd116
Clarify BugDriver.cpp:BugDriver::ParseInputFile()'s return values in its
...
explanatory comment.
llvm-svn: 6308
2003-05-23 05:34:32 +00:00
Chris Lattner
aaf60fb906
Remove long dead code
...
llvm-svn: 6307
2003-05-22 22:00:54 +00:00
Chris Lattner
e58f6153f4
Remove using declarations
...
llvm-svn: 6306
2003-05-22 22:00:07 +00:00
Chris Lattner
6751acb59b
Add using declarations
...
llvm-svn: 6305
2003-05-22 21:59:35 +00:00
Misha Brukman
daf2cc3c48
Cleaned up code layout. No functional changes.
...
llvm-svn: 6304
2003-05-22 21:49:18 +00:00
Chris Lattner
1cab8ed666
Remove using declarations and extraneous #includes
...
llvm-svn: 6303
2003-05-22 21:47:17 +00:00
Chris Lattner
2fb982f365
Fix static constructor ordering problem
...
llvm-svn: 6302
2003-05-22 21:31:52 +00:00
Misha Brukman
7d91017b21
Kill `using' directives.
...
llvm-svn: 6301
2003-05-22 21:24:35 +00:00
Chris Lattner
20c876a592
Remove using declarations
...
llvm-svn: 6300
2003-05-22 21:21:43 +00:00
Chris Lattner
1bc2f7de3f
Fix testcase
...
llvm-svn: 6299
2003-05-22 20:43:21 +00:00
Chris Lattner
b9f0eb0468
New testcase
...
llvm-svn: 6298
2003-05-22 20:43:06 +00:00
Chris Lattner
2634635777
Add documentation for the new cl::CommaSeparated modifier
...
llvm-svn: 6297
2003-05-22 20:36:06 +00:00
Chris Lattner
f8e93a7026
add support for an explicit EXPORTED_SYMBOL_LIST
...
llvm-svn: 6296
2003-05-22 20:27:30 +00:00
Chris Lattner
e1d3dfec23
Make the list accept comma separated names
...
llvm-svn: 6295
2003-05-22 20:27:13 +00:00
Chris Lattner
7099c87692
Add new CommaSeparated option modifier
...
llvm-svn: 6294
2003-05-22 20:26:17 +00:00
Chris Lattner
9581bba352
Add support for a new "CommaSeparated" modifier
...
llvm-svn: 6293
2003-05-22 20:25:57 +00:00
Chris Lattner
ea946cf5c1
Kill using declarations
...
llvm-svn: 6292
2003-05-22 20:13:16 +00:00
Chris Lattner
802d657a39
Destroy using declarations
...
llvm-svn: 6291
2003-05-22 20:06:43 +00:00
Chris Lattner
95a6a0aaed
Specify a list of symbols that should be exported by the library
...
llvm-svn: 6290
2003-05-22 19:50:30 +00:00
Chris Lattner
ab034e55b5
* Revert to old behavior of ignoring a module if it doesn't contain a main
...
function and no symbols were explicitly marked to be externalized.
* Add new -internalize-public-api-list option that can be used if the symbol
list is small, and making a new file is annoying.
llvm-svn: 6289
2003-05-22 19:48:00 +00:00
Chris Lattner
f26f3f74a3
Add option to internalize to allow it to read a file to determine which symbols
...
should not be internalized
llvm-svn: 6288
2003-05-22 19:34:49 +00:00
Chris Lattner
eec3d84e72
Update to match typename produced by the C frontend
...
llvm-svn: 6287
2003-05-22 19:30:11 +00:00
Chris Lattner
91c5d68261
Minor cleanups.
...
This hunk:
- } else if (Src->getNumOperands() == 2 && Src->use_size() == 1) {
+ } else if (Src->getNumOperands() == 2) {
Allows GEP folding to be more aggressive, which reduces the number of instructions
and can dramatically speed up BasicAA in some cases.
llvm-svn: 6286
2003-05-22 19:07:21 +00:00
Chris Lattner
0b18a0d886
Fix bug: Assembler/2003-05-03-BytecodeReaderProblem.llx
...
by emitting the type planes before any constants (which could be constant
expressions involving undefined types!)
llvm-svn: 6285
2003-05-22 18:35:38 +00:00
Chris Lattner
f354fef44b
Do not assert fail or crash when a bytecode parse fails!
...
llvm-svn: 6284
2003-05-22 18:26:48 +00:00
Chris Lattner
bb4bd699e0
Eliminate the uchar typedef, use unsigned char explicitly
...
llvm-svn: 6283
2003-05-22 18:08:30 +00:00
Chris Lattner
5a7b3244b7
Make the testcase even more insane
...
llvm-svn: 6280
2003-05-22 15:49:58 +00:00
Chris Lattner
a5f9076ace
New testcase
...
llvm-svn: 6279
2003-05-22 15:33:33 +00:00
Chris Lattner
978bdb056c
New testcase
...
llvm-svn: 6278
2003-05-21 23:01:50 +00:00
Chris Lattner
da20909c1a
New testcase that was killing the CFE
...
llvm-svn: 6277
2003-05-21 23:01:35 +00:00
Chris Lattner
609f9dea47
New document
...
llvm-svn: 6275
2003-05-21 22:21:07 +00:00