Chris Lattner
|
76b3c06793
|
minor cleanup/framework changes.
llvm-svn: 74316
|
2009-06-26 20:00:05 +00:00 |
Owen Anderson
|
304d85be8c
|
Privatize some variables.
llvm-svn: 74315
|
2009-06-26 19:48:37 +00:00 |
Chris Lattner
|
2ed6a9d7bd
|
move magic for PIC constantpool references from asmprinter to isel.
llvm-svn: 74313
|
2009-06-26 19:22:52 +00:00 |
Chris Lattner
|
08d734448e
|
use jump table operand flags in asm printer instead of "magic predicates"
llvm-svn: 74310
|
2009-06-26 18:55:01 +00:00 |
David Goodwin
|
5960e6d974
|
ADC used to implement adde should use "adcs" opcode instead of "adc".
llvm-svn: 74293
|
2009-06-26 18:07:25 +00:00 |
David Goodwin
|
0377f737ff
|
Currently there is a pattern for the thumb-2 MOV 16-bit immediate instruction. That instruction cannot write the flags so it should use T2I instead of T2sI.
Also, added a pattern for the thumb-2 MOV of shifted immediate since that can encode immediates not encodable by the 16-bit immediate.
llvm-svn: 74288
|
2009-06-26 16:10:07 +00:00 |
Evan Cheng
|
1eda63715f
|
Simplify predicate CarryDefIsUsed.
llvm-svn: 74277
|
2009-06-26 06:10:18 +00:00 |
Chris Lattner
|
1d3b65a6ae
|
fix a pasto.
llvm-svn: 74275
|
2009-06-26 05:56:49 +00:00 |
Chris Lattner
|
bd7e26db16
|
propagate target operand flags through addressing mode selection.
llvm-svn: 74272
|
2009-06-26 05:51:45 +00:00 |
Nick Lewycky
|
2dbc6476cb
|
Escape the name of the module since it comes from the file name and may include
invalid characters like backslashes on Windows. Patch by James Abbatiello!
llvm-svn: 74265
|
2009-06-26 04:33:37 +00:00 |
Devang Patel
|
2cc6d183b2
|
Let's ignore MDStrings also!
llvm-svn: 74255
|
2009-06-26 02:26:12 +00:00 |
Daniel Dunbar
|
e7d42501c2
|
Fix may-be-used-uninitialized warning.
llvm-svn: 74253
|
2009-06-26 02:03:52 +00:00 |
Chris Lattner
|
2aaad91bbe
|
start adding logic in isel to determine asm printer semantics, step N of M.
llvm-svn: 74246
|
2009-06-26 00:43:52 +00:00 |
Evan Cheng
|
e2c4d35f3e
|
Add a note about commuting conditional move.
llvm-svn: 74241
|
2009-06-26 00:28:48 +00:00 |
Evan Cheng
|
cf661fc12a
|
These are done / no longer applicable.
llvm-svn: 74239
|
2009-06-26 00:25:27 +00:00 |
Evan Cheng
|
5bf9011c2d
|
Mark a bunch of instructions commutable.
llvm-svn: 74237
|
2009-06-26 00:19:44 +00:00 |
Evan Cheng
|
9643ba8123
|
tst is also commutable.
llvm-svn: 74236
|
2009-06-26 00:19:07 +00:00 |
Owen Anderson
|
b99db00b64
|
Committed the wrong version in my last commit.
llvm-svn: 74235
|
2009-06-26 00:17:05 +00:00 |
Owen Anderson
|
1efcb40c0f
|
Privatize a static variable.
llvm-svn: 74234
|
2009-06-26 00:15:27 +00:00 |
Evan Cheng
|
97727a61f9
|
Select ADC, SBC, and RSC instead of the ADCS, SBCS, and RSCS when the carry bit def is not used.
llvm-svn: 74228
|
2009-06-25 23:34:10 +00:00 |
David Goodwin
|
16f357cccf
|
Use MVN for ~t2_so_imm immediates.
llvm-svn: 74223
|
2009-06-25 23:11:21 +00:00 |
David Goodwin
|
e85169cd1b
|
Add Def/Use of CPSR for Thumb-1 instructions.
llvm-svn: 74219
|
2009-06-25 22:49:55 +00:00 |
Evan Cheng
|
7e687191fd
|
Unbreak mingw build. Patch by Viktor Kutuzov.
llvm-svn: 74212
|
2009-06-25 22:04:44 +00:00 |
Evan Cheng
|
c7ea8df67e
|
ISD::ADDE / ISD::SUBE updates the carry bit so they should isle to ADCS and SBCS / RSCS.
llvm-svn: 74200
|
2009-06-25 20:59:23 +00:00 |
Owen Anderson
|
3f76e6f835
|
Privatize this map.
llvm-svn: 74189
|
2009-06-25 18:13:04 +00:00 |
Sanjiv Gupta
|
78bd40ee89
|
Added floating point conditional operations support via libcalls.
llvm-svn: 74187
|
2009-06-25 18:12:06 +00:00 |
Chris Lattner
|
83992b19e4
|
simplify shouldPrintPLT
llvm-svn: 74186
|
2009-06-25 17:58:52 +00:00 |
David Goodwin
|
e892e8bfaf
|
Test commit
llvm-svn: 74185
|
2009-06-25 17:52:32 +00:00 |
Chris Lattner
|
852739b46f
|
Use target-specific machine operand flags to eliminate a gross hack
from the asmprinter.
llvm-svn: 74184
|
2009-06-25 17:38:33 +00:00 |
Chris Lattner
|
1927844ebf
|
just eliminate the code entirely!
llvm-svn: 74183
|
2009-06-25 17:28:07 +00:00 |
Bob Wilson
|
8f74c88cb6
|
Revert 74164. We'll want to use this method later.
llvm-svn: 74176
|
2009-06-25 16:03:07 +00:00 |
Sanjiv Gupta
|
1a20d2ab98
|
Identify unconditional gotos and generate a page sel instructions before them.
llvm-svn: 74172
|
2009-06-25 11:03:14 +00:00 |
Bob Wilson
|
350abb9799
|
Remove unused hasV6T2Ops method. We already have a separate feature to
identify Thumb2.
llvm-svn: 74164
|
2009-06-25 05:20:31 +00:00 |
Douglas Gregor
|
2042c3519d
|
Add missing dependencies to the CMake build system.
llvm-svn: 74161
|
2009-06-25 05:03:06 +00:00 |
Evan Cheng
|
d76f0be844
|
Change thumb2 instruction definitions so if-converter so add predicate operands and / or flip the 's' bit to set the condition flag.
llvm-svn: 74158
|
2009-06-25 02:08:06 +00:00 |
Evan Cheng
|
6ea7ad0351
|
Add thumb2 add sp.
llvm-svn: 74156
|
2009-06-25 01:21:30 +00:00 |
Chris Lattner
|
ea7422e7bf
|
fix comments to be correct.
llvm-svn: 74154
|
2009-06-25 01:15:47 +00:00 |
Evan Cheng
|
b566ab7b97
|
Some reorg and additional comments.
llvm-svn: 74152
|
2009-06-25 01:05:06 +00:00 |
Devang Patel
|
9d68302e48
|
No need to code gen MDNodes
llvm-svn: 74150
|
2009-06-25 00:47:42 +00:00 |
Evan Cheng
|
83f979a48b
|
Add Thumb2 pc relative add.
llvm-svn: 74141
|
2009-06-24 23:47:58 +00:00 |
Evan Cheng
|
4c048fe5ad
|
80 col violation.
llvm-svn: 74138
|
2009-06-24 23:14:45 +00:00 |
Chris Lattner
|
6544289af3
|
move some functions, add a FIXME, use PrintPICBaseSymbol to print the
picbase instead of inlining it.
llvm-svn: 74111
|
2009-06-24 19:44:36 +00:00 |
Chris Lattner
|
9b4aaef9d4
|
reimplement getPICLabelString as PrintPICBaseSymbol to eliminate std::string heap thrashing.
llvm-svn: 74105
|
2009-06-24 19:19:16 +00:00 |
Chris Lattner
|
1fd5888294
|
sink management of DwarfWriter & MachineModuleInfo into the AsmPrinter base class.
llvm-svn: 74101
|
2009-06-24 19:09:55 +00:00 |
Chris Lattner
|
70413126b6
|
sink dwarf finalization out of each target into AsmPrinter::doFinalization
llvm-svn: 74097
|
2009-06-24 18:54:37 +00:00 |
Chris Lattner
|
2981dc1742
|
eliminate the ExtWeakSymbols set from AsmPrinter. This eliminates
a bunch of code from all the targets, and eliminates nondeterministic
ordering of directives being emitted in the output.
llvm-svn: 74096
|
2009-06-24 18:52:01 +00:00 |
Chris Lattner
|
a297e0c9b1
|
only emit one .align for all the hidden gv stubs instead of one for each.
llvm-svn: 74094
|
2009-06-24 18:24:42 +00:00 |
Chris Lattner
|
f094f09b76
|
inline print*Stub and rearrange function stub printing to more closely match
gv and hiddengv stub printing.
llvm-svn: 74093
|
2009-06-24 18:24:09 +00:00 |
Chris Lattner
|
13fb0bef1c
|
remove dead code now that personality functions don't print stubs directly.
llvm-svn: 74092
|
2009-06-24 18:19:01 +00:00 |
Chris Lattner
|
e8ad3f13fa
|
remove now-dead argument.
llvm-svn: 74091
|
2009-06-24 18:17:56 +00:00 |