Evan Cheng
dc9b5f5fc0
X86 integer register classes naming changes. Make them consistent with FP, vector classes.
...
llvm-svn: 28324
2006-05-16 07:21:53 +00:00
Evan Cheng
d4a056116c
Allow patterns to refer to physical registers that belong to multiple
...
register classes.
llvm-svn: 28323
2006-05-16 07:05:30 +00:00
Reid Spencer
8cceeb438c
Make sure that $(CXX.Flags) is passed to the linker so that the same options
...
with which source is compiled are used when linking. This matters when a
project is using the LLVM makefiles and overrides CXXFLAGS to specify new
flags to use.
llvm-svn: 28322
2006-05-16 06:51:02 +00:00
Chris Lattner
1024577552
Make this print the right start pointer
...
llvm-svn: 28321
2006-05-16 06:45:50 +00:00
Chris Lattner
ba1dfc1da7
Add a chain to FORMAL_ARGUMENTS. This is a minimal port of the X86 backend,
...
it doesn't currently use/maintain the chain properly. Also, make the
X86ISelLowering.cpp file 80-col clean.
llvm-svn: 28320
2006-05-16 06:45:34 +00:00
Chris Lattner
f88654d468
Add a chain to FORMAL_ARGUMENTS.
...
llvm-svn: 28319
2006-05-16 06:43:59 +00:00
Vladimir Prus
15fdb12773
Replace "../whatever.td" with "whatever.td", so that out-of-tree backends
...
can just add lib/Target to TableGen includes.
llvm-svn: 28318
2006-05-16 06:39:36 +00:00
Reid Spencer
f613de1e0b
For PR778:
...
Improve doxygenification of this header file.
llvm-svn: 28317
2006-05-16 06:27:31 +00:00
Reid Spencer
13c40bc806
When linking, make sure the project libraries are linked before the LLVM
...
libraries. This ensures that the project's libraries (which most likely
depend on LLVM libraries) come first on the command line and can thus be
resolved by the LLVM libraries that appear later.
llvm-svn: 28316
2006-05-16 06:25:14 +00:00
Chris Lattner
fdd62b9073
Move function-live-in-handling code from the sdisel code to the scheduler.
...
This code should be emitted after legalize, so it can't be in sdisel.
Note that the EmitFunctionEntryCode hook should be updated to operate on the
DAG. The X86 backend is the only one currently using this hook.
llvm-svn: 28315
2006-05-16 06:10:58 +00:00
Chris Lattner
fa068a16e1
Print the vreg that livein physregs are live in
...
llvm-svn: 28314
2006-05-16 05:55:30 +00:00
Chris Lattner
b79e3f7155
Legalize FORMAL_ARGUMENTS nodes correctly, we don't want to legalize them once
...
for each argument.
llvm-svn: 28313
2006-05-16 05:49:56 +00:00
Vladimir Prus
cdc7aab880
Add my homepage, as a test that commit access works
...
llvm-svn: 28312
2006-05-16 05:36:15 +00:00
Chris Lattner
199f3f6af8
Fit in 80 cols
...
llvm-svn: 28311
2006-05-16 04:20:24 +00:00
Rafael Espindola
c928207091
add an abort after every assert(0)
...
llvm-svn: 28310
2006-05-15 22:34:39 +00:00
Reid Spencer
243aaabbe7
For PR777:
...
Add an additional catch block to ensure that this function can't throw any
exceptions, even one's we're not expecting.
llvm-svn: 28309
2006-05-15 22:12:42 +00:00
Reid Spencer
7ef5ed5021
Upgrade in preparation for doxygen 1.4.4. The config file format changed,
...
there are new/different css styles to support, and the footer was woefully
out of date.
llvm-svn: 28308
2006-05-15 21:36:13 +00:00
Chris Lattner
676c3dfd68
Improve comment, patch provided by Vladimir Prus!
...
llvm-svn: 28307
2006-05-15 18:35:02 +00:00
Chris Lattner
a093e85b00
Update dox, patch by Vladimir Prus!
...
llvm-svn: 28306
2006-05-15 17:26:46 +00:00
Chris Lattner
de8ef53351
Improve comments, patch provided by Vladimir Prus!
...
llvm-svn: 28305
2006-05-15 17:25:05 +00:00
Reid Spencer
f74d63a4ba
Doxygenify the comments, bringing the file level comments down to be attached
...
with the class that it documents. Patch suggested by Vladimir Prus.
llvm-svn: 28304
2006-05-15 16:12:01 +00:00
Chris Lattner
901e7ad557
Remove some dead code, identified by coverity.
...
llvm-svn: 28303
2006-05-15 05:48:32 +00:00
Owen Anderson
318addc009
Add myself to the credits.
...
llvm-svn: 28302
2006-05-15 05:13:07 +00:00
Rafael Espindola
dd49dfc0df
added a skeleton of the ARM backend
...
llvm-svn: 28301
2006-05-14 22:18:28 +00:00
Rafael Espindola
af69110cb7
added myself to CREDITS.TXT
...
llvm-svn: 28300
2006-05-14 20:29:25 +00:00
Chris Lattner
017b3a4335
Free memory allocated by copy_env.
...
llvm-svn: 28299
2006-05-14 19:17:28 +00:00
Chris Lattner
084de55c60
print a nice error if bugpoint gets an error reading inputs. Bug identified
...
by coverity.
llvm-svn: 28298
2006-05-14 19:15:56 +00:00
Chris Lattner
aa818c1cad
Fix a bug found by inspection.
...
llvm-svn: 28297
2006-05-14 19:11:40 +00:00
Chris Lattner
a1577bfac0
improve comment.
...
llvm-svn: 28296
2006-05-14 19:10:22 +00:00
Chris Lattner
e09437b26e
Catch a potentially thrown exception.
...
llvm-svn: 28295
2006-05-14 19:08:39 +00:00
Chris Lattner
96c4ae0fa3
Improve documentation on throwing, it is not complete still though. :(
...
llvm-svn: 28294
2006-05-14 19:07:07 +00:00
Chris Lattner
05311325f1
LoadLibraryPermanently can theoretically throw an exception. Do not propagate
...
it out of 'ExecutionEngine::create'. This fixes a problem reported by coverity.
llvm-svn: 28293
2006-05-14 19:01:55 +00:00
Chris Lattner
d639e0fbce
Bug noticed, by inspection. Filename can be null.
...
llvm-svn: 28292
2006-05-14 19:00:53 +00:00
Chris Lattner
64f0fddc23
This function is not documented as throwing an exception and callers don't
...
handle it. Just silently fail.
llvm-svn: 28291
2006-05-14 18:53:09 +00:00
Chris Lattner
872e3ecaa1
inverted logic, caught by coverity
...
llvm-svn: 28290
2006-05-14 18:46:52 +00:00
Chris Lattner
5aa7f78065
remove some dead code identified by coverity
...
llvm-svn: 28289
2006-05-14 18:45:44 +00:00
Chris Lattner
cf71b13e15
Delete memory allocated by CopyEnv
...
llvm-svn: 28288
2006-05-14 18:38:13 +00:00
Chris Lattner
703a8cf960
remove dead var
...
llvm-svn: 28287
2006-05-14 18:34:36 +00:00
Chris Lattner
4ad747c469
remove dead variables
...
llvm-svn: 28286
2006-05-14 18:33:57 +00:00
Chris Lattner
fa70e32490
Change token to match asmprinter output
...
llvm-svn: 28285
2006-05-14 18:23:06 +00:00
Evan Cheng
111642322d
Backing out last check-in for now. It's causing an infinite loop gccas lencode.
...
llvm-svn: 28284
2006-05-14 06:46:03 +00:00
Chris Lattner
3fe38bf77b
Update comment.
...
llvm-svn: 28283
2006-05-14 02:05:19 +00:00
Chris Lattner
2070effca0
This is a proper fix for the compiler warning. A termination condition is
...
not needed, as it can never be reached: an edge must exist.
llvm-svn: 28282
2006-05-14 02:01:22 +00:00
Reid Spencer
e343483440
Fix an infinite loop bug that Vladimir Prus identified.
...
llvm-svn: 28281
2006-05-13 18:11:32 +00:00
Reid Spencer
0be60af352
Add a #include <cassert> for situations where Casting.h is used standalone.
...
Patch contributed by Vladimir Prus.
llvm-svn: 28280
2006-05-13 17:50:38 +00:00
Evan Cheng
489f9bd68f
Fixing 2006-05-01-SchedCausingSpills.ll; some clean up
...
llvm-svn: 28279
2006-05-13 08:22:24 +00:00
Evan Cheng
7bb257e178
Revert an un-intended change
...
llvm-svn: 28278
2006-05-13 05:53:47 +00:00
Reid Spencer
fa5fca78ee
Don't try to reference uninitialized data. Make sure we can find "nm".
...
llvm-svn: 28277
2006-05-13 02:48:45 +00:00
Reid Spencer
9277db58e9
For PR741:
...
Update documentation to reflect current LLVM reality:
+ LLVMAlpha.o, LLVMIA64.o
- Skeleton, execve, ProfilePaths
Also, regenerate the library dependency information.
llvm-svn: 28276
2006-05-13 02:22:01 +00:00
Chris Lattner
c927dced9e
Add/Sub/Mul are safe to promote here as well. Incrementing a single-bit
...
bitfield now gives this code:
_plus:
lwz r2, 0(r3)
rlwimi r2, r2, 0, 1, 31
xoris r2, r2, 32768
stw r2, 0(r3)
blr
instead of this:
_plus:
lwz r2, 0(r3)
srwi r4, r2, 31
slwi r4, r4, 31
addis r4, r4, -32768
rlwimi r2, r4, 0, 0, 0
stw r2, 0(r3)
blr
this can obviously still be improved.
llvm-svn: 28275
2006-05-13 02:16:08 +00:00