Gordon Henriksen
613afce430
CollectorMetadata abstractly describes stack maps for a function.
...
It includes:
- location and of each safe point in machine code (identified by a
label)
- location of each root within the stack frame (identified by an
offset), including the metadata tag provided to llvm.gcroot in
the user program
- size of the stack frame (for collectors which want to cheat on
stack crawling :)
- and eventually will include liveness
It is to be populated by back-ends during code-generation.
CollectorModuleMetadata aggregates this information across the
entire module.
llvm-svn: 42418
2007-09-27 22:18:46 +00:00
Evan Cheng
99dc695da5
Use GR64 in 64-bit mode.
...
llvm-svn: 42417
2007-09-27 21:50:05 +00:00
Gordon Henriksen
658c57eb66
My previous Registry.h header, as well as Collectors.h, which is the
...
registry for dynamically-loaded garbage collection compiler plugins.
llvm-svn: 42415
2007-09-27 19:34:27 +00:00
Gordon Henriksen
0076a6727e
GarbageCollection.html is expanded to encompass the coming
...
capabilities. This is a major rewrite and is easier to read en toto
rather than patchwise.
llvm-svn: 42414
2007-09-27 19:31:36 +00:00
Evan Cheng
5a71402be6
Doh. Calls clobber EFLAGS.
...
llvm-svn: 42413
2007-09-27 19:01:55 +00:00
Evan Cheng
e6f92253f5
Avoid inserting a live register more than once.
...
llvm-svn: 42410
2007-09-27 18:46:06 +00:00
Tanya Lattner
0d675ee06e
Couple of fixes to mention bunzip2 and make instructions more clear.
...
llvm-svn: 42407
2007-09-27 18:14:33 +00:00
Devang Patel
f68d3e1a0d
While searching for appropriate place for temporaries, do not over-incerement iterator.
...
llvm-svn: 42406
2007-09-27 18:02:47 +00:00
Devang Patel
11611f876e
Mention Loop Index Split
...
llvm-svn: 42405
2007-09-27 17:32:04 +00:00
Chris Lattner
d2bc9d8c77
new testcase for PR1708
...
llvm-svn: 42398
2007-09-27 15:47:16 +00:00
Daniel Berlin
a447de7065
Ignore redundant constraints
...
llvm-svn: 42397
2007-09-27 15:42:23 +00:00
Nick Lewycky
3934961878
Build the correct range for loops with unusual bounds. Fix from Jay Foad.
...
llvm-svn: 42394
2007-09-27 14:12:54 +00:00
Bill Wendling
c9a8c74d28
No, really, it *is* SSSE3. ;-)
...
llvm-svn: 42393
2007-09-27 08:47:31 +00:00
Duncan Sands
a1779909ff
SSSE3 -> SSE3. Reported by Alex Kellett.
...
llvm-svn: 42392
2007-09-27 08:24:36 +00:00
Duncan Sands
2f060736e2
Grammer fix reported by Alex Kellett.
...
llvm-svn: 42391
2007-09-27 08:24:02 +00:00
Evan Cheng
75439b3b78
Silence a compiler warning.
...
llvm-svn: 42389
2007-09-27 07:35:39 +00:00
Evan Cheng
bde499be60
Boogs.
...
llvm-svn: 42388
2007-09-27 07:29:27 +00:00
Evan Cheng
1ec79b41db
Be smarter about which node to force schedule. Reduce # of duplications + copies; Added statistics.
...
llvm-svn: 42387
2007-09-27 07:09:03 +00:00
Gordon Henriksen
eb42c4e221
Remove debugging.
...
llvm-svn: 42385
2007-09-27 02:47:27 +00:00
Evan Cheng
cfd5f82890
Backtracking only when it won't create a cycle.
...
llvm-svn: 42384
2007-09-27 00:25:29 +00:00
Dale Johannesen
34aa41c475
Make temporaries explicit to avoid premature
...
destruction of compiler-created ones.
llvm-svn: 42383
2007-09-26 23:20:33 +00:00
Gordon Henriksen
43b66447f4
Updating LLVM.xcodeproj.
...
llvm-svn: 42382
2007-09-26 22:44:45 +00:00
Evan Cheng
478134e5f4
Oops. Forgot this.
...
llvm-svn: 42377
2007-09-26 21:38:03 +00:00
Evan Cheng
8e136a9dc4
- Move getPhysicalRegisterRegClass() from ScheduleDAG to MRegisterInfo.
...
- Added ability to emit cross class register copies to the BBRU scheduler.
- More aggressive backtracking.
llvm-svn: 42375
2007-09-26 21:36:17 +00:00
Neil Booth
0fa3ea79ac
Whitespace cleanup.
...
llvm-svn: 42374
2007-09-26 21:35:05 +00:00
Neil Booth
9acbf5aaf9
Whitespace and compiler warning cleanup.
...
llvm-svn: 42373
2007-09-26 21:33:42 +00:00
Evan Cheng
8728c3376a
- Added MRegisterInfo::getCrossCopyRegClass() hook. For register classes where reg to reg copies are not possible, this returns another register class which registers in the specified register class can be copied to (and copy back from).
...
- X86 copyRegToReg() now supports copying between EFLAGS and GR32 / GR64 registers.
llvm-svn: 42372
2007-09-26 21:31:07 +00:00
Evan Cheng
b93de587cb
Some assemblers do not recognize aliases pushfd, pushfq, popfd, and popfq. Just emit them as pushf and popf.
...
llvm-svn: 42371
2007-09-26 21:28:00 +00:00
Dale Johannesen
b805d35d16
Modernize fabs.ll, add long double. Add tests
...
for direct codegen of fsin/fcos.
llvm-svn: 42369
2007-09-26 21:12:10 +00:00
Dale Johannesen
b6d56401aa
Enable codegen for long double abs, sin, cos
...
llvm-svn: 42368
2007-09-26 21:10:55 +00:00
Gordon Henriksen
c23b66c58b
Added C and Ocaml bindings for functions, basic blocks, and
...
instruction creation. No support yet for instruction introspection.
Also eliminated allocas from the Ocaml bindings for portability,
and avoided unnecessary casts.
llvm-svn: 42367
2007-09-26 20:56:12 +00:00
Dale Johannesen
f04d37d3a9
Fix f80 UNDEF.
...
llvm-svn: 42359
2007-09-26 17:26:49 +00:00
Duncan Sands
755d9306a3
X86 -> X86-32 in appropriate places.
...
llvm-svn: 42357
2007-09-26 16:24:52 +00:00
Duncan Sands
47fc0a2a5f
Various cleanups. Especially, EH is turned on by default!
...
llvm-svn: 42356
2007-09-26 15:59:54 +00:00
Chris Lattner
f13af33221
ok ok we get it. CBE and vectors don't like each other yet.
...
llvm-svn: 42355
2007-09-26 15:50:21 +00:00
Chris Lattner
4480f42166
be less redundantly redundant.
...
llvm-svn: 42354
2007-09-26 15:48:33 +00:00
Duncan Sands
0bcbceb647
Test the C front-end, not the C++ front-end.
...
llvm-svn: 42350
2007-09-26 07:28:20 +00:00
Chris Lattner
31d319dce7
make old crappy browsers produce less crappy output :)
...
llvm-svn: 42349
2007-09-26 06:38:59 +00:00
Evan Cheng
b4b352656a
Typos: POPQ -> POPFQ, POPD -> POPFD.
...
llvm-svn: 42348
2007-09-26 06:38:29 +00:00
Chris Lattner
c9e7b8ec50
move PR1160 here.
...
llvm-svn: 42347
2007-09-26 06:29:31 +00:00
Evan Cheng
c1e4e3743b
Allow copyRegToReg to emit cross register classes copies.
...
Tested with "make check"!
llvm-svn: 42346
2007-09-26 06:25:56 +00:00
Chris Lattner
fef69f5b4a
move PR1264 here.
...
llvm-svn: 42345
2007-09-26 06:15:48 +00:00
Chris Lattner
d0382a8550
noone uses etags. Connected to PR1601
...
llvm-svn: 42344
2007-09-26 06:10:47 +00:00
Chris Lattner
828eb3b91f
we support attribute(noinline) now :)
...
llvm-svn: 42343
2007-09-26 06:04:15 +00:00
Chris Lattner
8e06116b8a
update bugs list
...
llvm-svn: 42342
2007-09-26 06:01:35 +00:00
Chris Lattner
4734a358fd
now with more prose.
...
llvm-svn: 42341
2007-09-26 05:44:21 +00:00
Duncan Sands
9b626f0ada
Test that local variables are aligned as the user requested.
...
llvm-svn: 42338
2007-09-26 04:04:29 +00:00
Evan Cheng
0a6f47cff9
Add pushf{d|q}, popf{d|q} to push and pop EFLAGS register.
...
llvm-svn: 42335
2007-09-26 01:29:06 +00:00
Evan Cheng
9b7f0e6eb4
translateX86CC updates the last two operands.
...
llvm-svn: 42333
2007-09-26 00:45:55 +00:00
Anton Korobeynikov
e291f727e3
Correctly restore stack pointer after realignment in main() on Cygwin/Mingw32
...
llvm-svn: 42332
2007-09-26 00:13:34 +00:00