Matthijs Kooijman
|
bdb215d338
|
Fix indendation.
llvm-svn: 56486
|
2008-09-23 08:54:41 +00:00 |
Owen Anderson
|
4cdc18ad80
|
Add initial support for inserting last minute copies.
llvm-svn: 56485
|
2008-09-23 04:37:10 +00:00 |
Evan Cheng
|
9e9426cb82
|
Support x86 specific inline asm modifier 'J'.
llvm-svn: 56483
|
2008-09-22 23:57:37 +00:00 |
Dale Johannesen
|
a0e1876584
|
Remove silly semicolon.
llvm-svn: 56481
|
2008-09-22 23:28:18 +00:00 |
Dan Gohman
|
e2947e1e07
|
Fix the alignment of loads from constant pool entries when the
load address has an offset from the base of the constant pool
entry.
llvm-svn: 56479
|
2008-09-22 22:40:08 +00:00 |
Dale Johannesen
|
8f8466dc42
|
Remove a compiler warning.
llvm-svn: 56478
|
2008-09-22 22:33:34 +00:00 |
Devang Patel
|
329fe728b5
|
Add hasNote() to check note associated with a function.
llvm-svn: 56477
|
2008-09-22 22:32:29 +00:00 |
Evan Cheng
|
bab5988017
|
Livestacks really does preserve everything.
llvm-svn: 56476
|
2008-09-22 22:26:15 +00:00 |
Evan Cheng
|
962c2cf17a
|
Instead of setPreservesAll, just mark them preseving machine loop info and machine dominators.
llvm-svn: 56475
|
2008-09-22 22:21:38 +00:00 |
Evan Cheng
|
3276416fa4
|
Test case for fp logical instructions.
llvm-svn: 56474
|
2008-09-22 22:19:34 +00:00 |
Owen Anderson
|
97364655dc
|
Significant improvements to the logic for merging live intervals. This code can't
just use LI::MergeValueAsValue, as its behavior in the presence of overlapping ranges
isn't what StrongPHIElimination wants.
llvm-svn: 56472
|
2008-09-22 21:58:58 +00:00 |
Dale Johannesen
|
7a74e71489
|
Make log, log2, log10, exp, exp2 use Expand by
default.
llvm-svn: 56471
|
2008-09-22 21:57:32 +00:00 |
Evan Cheng
|
168f8f3916
|
Mark several codegen passes as preserving all analysis.
llvm-svn: 56469
|
2008-09-22 20:58:04 +00:00 |
Dale Johannesen
|
f1acc4d610
|
More refactoring. Yawn.
llvm-svn: 56468
|
2008-09-22 20:51:30 +00:00 |
Mikhail Glushenkov
|
446c5dcf57
|
Convert llvmc2 plugins to use llvm/Support/Registry.h machinery.
llvm-svn: 56467
|
2008-09-22 20:51:19 +00:00 |
Mikhail Glushenkov
|
53aa586844
|
Move llvmc2 header files under include/llvm/CompilerDriver
llvm-svn: 56466
|
2008-09-22 20:50:40 +00:00 |
Mikhail Glushenkov
|
47afe73081
|
Plugin support for llvmc2 (a-la opt).
llvm-svn: 56465
|
2008-09-22 20:49:34 +00:00 |
Mikhail Glushenkov
|
6f1db3df74
|
Add a 'Debugging' section to the documentation.
llvm-svn: 56464
|
2008-09-22 20:48:48 +00:00 |
Mikhail Glushenkov
|
4825a0bb2f
|
Make comments a little bit more clear.
llvm-svn: 56463
|
2008-09-22 20:48:22 +00:00 |
Mikhail Glushenkov
|
8a2bdc74b2
|
Get rid of GlobalLanguageMap. Global state is evil.
llvm-svn: 56462
|
2008-09-22 20:47:46 +00:00 |
Mikhail Glushenkov
|
632d982a7f
|
Rename our version of ccc to ccc2
llvm-svn: 56461
|
2008-09-22 20:47:09 +00:00 |
Mikhail Glushenkov
|
1c4e084bd2
|
Fix some comments
llvm-svn: 56460
|
2008-09-22 20:46:44 +00:00 |
Mikhail Glushenkov
|
9c13f724fc
|
Add a (forward_as) option property
llvm-svn: 56459
|
2008-09-22 20:46:19 +00:00 |
Mikhail Glushenkov
|
b50080e6cb
|
Delete the file llvmc2/doc/LLVMC-Enhancements.rst + some minor language/spelling fixes.
llvm-svn: 56458
|
2008-09-22 20:45:17 +00:00 |
Dale Johannesen
|
7beddb8680
|
Refactor FP intrinisic setup. Per review feedback.
llvm-svn: 56456
|
2008-09-22 19:51:58 +00:00 |
Oscar Fuentes
|
8807bddf08
|
CMake build system: support for parallel builds.
llvm-svn: 56453
|
2008-09-22 18:21:51 +00:00 |
Evan Cheng
|
13beeeb128
|
Per review feedback: Only perform
(srl x, (trunc (and y, c))) -> (srl x, (and (trunc y), c))
etc. when both "trunc" and "and" have single uses.
llvm-svn: 56452
|
2008-09-22 18:19:24 +00:00 |
Arnold Schwaighofer
|
796a271c5f
|
Change the calling convention used when tail call optimization is enabled from CC_X86_32_TailCall to CC_X86_32_FastCC.
llvm-svn: 56436
|
2008-09-22 14:50:07 +00:00 |
Rafael Espindola
|
73a5406d24
|
Add bound checks in SmallVector
llvm-svn: 56432
|
2008-09-22 10:06:26 +00:00 |
Oscar Fuentes
|
f3d3a0dfca
|
add_partially_linked_object: Replaced nonexistent MESSAGE option in
add_custom_command with COMMENT. It was forcing unconditional command
execution.
llvm-svn: 56425
|
2008-09-22 02:33:43 +00:00 |
Oscar Fuentes
|
a229b3c9a7
|
Initial support for the CMake build system.
llvm-svn: 56419
|
2008-09-22 01:08:49 +00:00 |
Bill Wendling
|
91ef8fcd29
|
Add helper function to get a 32-bit floating point constant. No functionality change.
llvm-svn: 56418
|
2008-09-22 00:44:35 +00:00 |
Chris Lattner
|
4d7445b3a4
|
explain what earlyclobber actually is.
llvm-svn: 56415
|
2008-09-21 23:30:17 +00:00 |
Chris Lattner
|
f1280cf744
|
Fold immediates into X86 shifts with fast isel. This generates:
sarl $3, %ecx
instead of:
movl $3, %ecx
sarl %cl, %edx
This shrinks fast isel 176.gcc by about 2000 instructions (.3%)
llvm-svn: 56413
|
2008-09-21 21:44:29 +00:00 |
Dan Gohman
|
ae9d9f4d3f
|
Factor out code into HandleVirtRegDef, for consistency with
Handle{Virt,Phys}Reg{Def,Use}. Remove a redundant check
for register zero, and redundant checks for isPhysicalRegister.
llvm-svn: 56412
|
2008-09-21 21:11:41 +00:00 |
Dan Gohman
|
dfc19e6c01
|
Instead of building a list and sorting it just to find a maximum element,
compute the maximum element directly.
llvm-svn: 56411
|
2008-09-21 21:01:49 +00:00 |
Owen Anderson
|
df8f1cb995
|
Fetch the starting index of the block when assigning intervals. This gets live-in indices
correct in the presence of things like EH labels.
llvm-svn: 56410
|
2008-09-21 20:43:24 +00:00 |
Chris Lattner
|
43f5449c48
|
don't print GlobalAddressSDNode's with an offset of zero as "foo0".
llvm-svn: 56399
|
2008-09-21 18:38:31 +00:00 |
Chris Lattner
|
9a8eb0d534
|
add a note
llvm-svn: 56391
|
2008-09-20 19:17:53 +00:00 |
Cedric Venet
|
b0f876d55d
|
Update VS projects.
Change some class to struct for coherency.
llvm-svn: 56389
|
2008-09-20 18:02:18 +00:00 |
Dale Johannesen
|
c16067c3df
|
Shorten and rearrange data fields to save a word of memory.
Per review feedback.
llvm-svn: 56388
|
2008-09-20 17:45:21 +00:00 |
Duncan Sands
|
e1dc84be64
|
Implement review feedback from Devang: make use
of mayReadFromMemory and mayWriteToMemory.
llvm-svn: 56387
|
2008-09-20 16:45:58 +00:00 |
Dale Johannesen
|
9af7b3daec
|
Teach coalescer about earlyclobber bits.
Check bits for preferred register.
llvm-svn: 56384
|
2008-09-20 02:03:04 +00:00 |
Evan Cheng
|
c042000649
|
Fix PR2808. When regalloc runs out of register, it spill a physical register around the live interval being allocated. Do not continue to try to spill another register, just grab the physical register and move on.
llvm-svn: 56381
|
2008-09-20 01:28:05 +00:00 |
Evan Cheng
|
65502487b7
|
Clean up the test.
llvm-svn: 56380
|
2008-09-20 01:26:27 +00:00 |
Evan Cheng
|
4730522235
|
No need to print function stubs for Mac OS X 10.5 and up. Linker will handle it.
llvm-svn: 56378
|
2008-09-20 00:13:45 +00:00 |
Evan Cheng
|
9d917beba6
|
80 column violation.
llvm-svn: 56377
|
2008-09-20 00:13:08 +00:00 |
Dan Gohman
|
098786e9f7
|
Fix a FastISel GlobalVariable CSE bug.
llvm-svn: 56376
|
2008-09-19 23:42:04 +00:00 |
Evan Cheng
|
29e4c9192d
|
Continue after removing the current MI.
llvm-svn: 56372
|
2008-09-19 22:49:39 +00:00 |
Dan Gohman
|
9801ba451a
|
Refactor X86SelectConstAddr, folding it into X86SelectAddress. This
results in better code for globals. Also, unbreak the local CSE for
GlobalValue stub loads.
llvm-svn: 56371
|
2008-09-19 22:16:54 +00:00 |