Chris Lattner
|
a56bff5e36
|
minor cleanup/framework changes.
llvm-svn: 74316
|
2009-06-26 20:00:05 +00:00 |
|
Owen Anderson
|
333c8af1b1
|
Privatize some variables.
llvm-svn: 74315
|
2009-06-26 19:48:37 +00:00 |
|
Chris Lattner
|
0a0494b4f9
|
move magic for PIC constantpool references from asmprinter to isel.
llvm-svn: 74313
|
2009-06-26 19:22:52 +00:00 |
|
Chris Lattner
|
0fee902c2d
|
implement DOTGraphTraits<SelectionDAG*>::getNodeLabel in terms of
SDNode::print_details to eliminate a ton of near-duplicate code.
llvm-svn: 74311
|
2009-06-26 19:06:10 +00:00 |
|
Chris Lattner
|
45946d9021
|
use jump table operand flags in asm printer instead of "magic predicates"
llvm-svn: 74310
|
2009-06-26 18:55:01 +00:00 |
|
Owen Anderson
|
1069071612
|
Use atomic operations for accessing this global counter.
llvm-svn: 74294
|
2009-06-26 18:09:03 +00:00 |
|
David Goodwin
|
46eb5a7a2d
|
ADC used to implement adde should use "adcs" opcode instead of "adc".
llvm-svn: 74293
|
2009-06-26 18:07:25 +00:00 |
|
Owen Anderson
|
6448beadc8
|
Get rid of unnecessary global variables.
llvm-svn: 74291
|
2009-06-26 16:46:15 +00:00 |
|
David Goodwin
|
877790aa5f
|
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 |
|
Douglas Gregor
|
6d9b0e8c19
|
Fix linking of llvm-ld and lli with CMake, from Xerxes Rånby
llvm-svn: 74285
|
2009-06-26 15:37:00 +00:00 |
|
Owen Anderson
|
77f965d8b2
|
Fix compilation without pthreads.
Patch by Xerxes Ranby.
llvm-svn: 74283
|
2009-06-26 08:48:03 +00:00 |
|
Evan Cheng
|
b93625f89e
|
Simplify predicate CarryDefIsUsed.
llvm-svn: 74277
|
2009-06-26 06:10:18 +00:00 |
|
Chris Lattner
|
497d0ec530
|
fix a pasto.
llvm-svn: 74275
|
2009-06-26 05:56:49 +00:00 |
|
Chris Lattner
|
05eabf4f95
|
dot graph viewing is apparently not using SDNode::print_details, this is bad,
but in the meantime lets print targetflags on node labels.
llvm-svn: 74274
|
2009-06-26 05:55:43 +00:00 |
|
Chris Lattner
|
3aef0c897e
|
propagate target operand flags from dag nodes into MachineOperands.
llvm-svn: 74273
|
2009-06-26 05:52:14 +00:00 |
|
Chris Lattner
|
93af5249a1
|
propagate target operand flags through addressing mode selection.
llvm-svn: 74272
|
2009-06-26 05:51:45 +00:00 |
|
Chris Lattner
|
181d139bc3
|
fit in 80 cols
llvm-svn: 74270
|
2009-06-26 05:39:02 +00:00 |
|
Nick Lewycky
|
ce25b7e7e6
|
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
|
a7a5664fbb
|
Let's ignore MDStrings also!
llvm-svn: 74255
|
2009-06-26 02:26:12 +00:00 |
|
Daniel Dunbar
|
f7c439154f
|
Fix may-be-used-uninitialized warning.
llvm-svn: 74253
|
2009-06-26 02:03:52 +00:00 |
|
Devang Patel
|
84a8914a4a
|
Remove debug info anchors - llvm.dbg.compile_units, llvm.dbg.subprograms
and llvm.dbg.global_variables.
llvm-svn: 74251
|
2009-06-26 01:49:18 +00:00 |
|
Daniel Dunbar
|
0d9b275e55
|
Fix unused variable warnings.
llvm-svn: 74250
|
2009-06-26 01:34:35 +00:00 |
|
Owen Anderson
|
ba05ead9db
|
Fix error in the Win32 implementation pointed out by Howard Su.
llvm-svn: 74248
|
2009-06-26 00:51:20 +00:00 |
|
Chris Lattner
|
05eb63598b
|
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 |
|
Dan Gohman
|
71b1c43d91
|
Change this code to a form about which VC++ reportedly isn't unhappy.
llvm-svn: 74243
|
2009-06-26 00:35:12 +00:00 |
|
Dan Gohman
|
ba8760719f
|
Fix LCSSA to avoid emitting a PHI node for the unwind destination of
an invoke instruction, since the value isn't really live across that
edge.
llvm-svn: 74242
|
2009-06-26 00:31:13 +00:00 |
|
Evan Cheng
|
2eb1525e2a
|
Add a note about commuting conditional move.
llvm-svn: 74241
|
2009-06-26 00:28:48 +00:00 |
|
Dan Gohman
|
3983d5070b
|
Minor code simplification.
llvm-svn: 74240
|
2009-06-26 00:26:03 +00:00 |
|
Evan Cheng
|
f23c8a5c8a
|
These are done / no longer applicable.
llvm-svn: 74239
|
2009-06-26 00:25:27 +00:00 |
|
Evan Cheng
|
4f0e461e97
|
Mark a bunch of instructions commutable.
llvm-svn: 74237
|
2009-06-26 00:19:44 +00:00 |
|
Evan Cheng
|
e45355b804
|
tst is also commutable.
llvm-svn: 74236
|
2009-06-26 00:19:07 +00:00 |
|
Owen Anderson
|
4aee97b0e3
|
Committed the wrong version in my last commit.
llvm-svn: 74235
|
2009-06-26 00:17:05 +00:00 |
|
Owen Anderson
|
22fb1f445e
|
Privatize a static variable.
llvm-svn: 74234
|
2009-06-26 00:15:27 +00:00 |
|
Owen Anderson
|
40fd8971d3
|
Guards for the compiler driver plugin list.
llvm-svn: 74230
|
2009-06-26 00:06:28 +00:00 |
|
Evan Cheng
|
4ac765118d
|
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 |
|
Owen Anderson
|
5417ad7e3b
|
Support thread-local pretty stack traces.
llvm-svn: 74227
|
2009-06-25 23:31:33 +00:00 |
|
Owen Anderson
|
3a892a63b7
|
Add support for const thread locals.
llvm-svn: 74226
|
2009-06-25 23:31:18 +00:00 |
|
Owen Anderson
|
8d5f9675c7
|
Fix typo in assertion.
llvm-svn: 74225
|
2009-06-25 23:28:28 +00:00 |
|
David Goodwin
|
74414108e9
|
Use MVN for ~t2_so_imm immediates.
llvm-svn: 74223
|
2009-06-25 23:11:21 +00:00 |
|
Owen Anderson
|
59ffd85020
|
Add a configure test for pthread_getspecific, and use it when building ThreadLocal.
llvm-svn: 74222
|
2009-06-25 23:10:26 +00:00 |
|
David Goodwin
|
a0ed5f6847
|
Add Def/Use of CPSR for Thumb-1 instructions.
llvm-svn: 74219
|
2009-06-25 22:49:55 +00:00 |
|
Devang Patel
|
32bbebe82f
|
Simplify.
llvm-svn: 74215
|
2009-06-25 22:36:02 +00:00 |
|
Evan Cheng
|
331e7cc684
|
Unbreak mingw build. Patch by Viktor Kutuzov.
llvm-svn: 74212
|
2009-06-25 22:04:44 +00:00 |
|
Owen Anderson
|
aef431f9cb
|
Update cmake build files.
llvm-svn: 74210
|
2009-06-25 21:58:34 +00:00 |
|
Owen Anderson
|
e716e57779
|
Add a class for supporting platform independent thread-local storage.
Windows people, please double-check/patch this.
llvm-svn: 74209
|
2009-06-25 21:58:01 +00:00 |
|
Chris Lattner
|
6a77e841e8
|
add targetflags to jump tables and constant pool entries.
llvm-svn: 74204
|
2009-06-25 21:35:31 +00:00 |
|
Chris Lattner
|
f94959f1a3
|
allow setting target operand flags on TargetGlobalAddress nodes.
llvm-svn: 74203
|
2009-06-25 21:21:14 +00:00 |
|
Daniel Dunbar
|
3d3f776dc9
|
MC: Truncate values when printing, to keep 'as' happy.
llvm-svn: 74201
|
2009-06-25 21:03:18 +00:00 |
|
Evan Cheng
|
0cced3daa8
|
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 |
|
Chris Lattner
|
55fdaaf6e7
|
start bringing targetoperand flags into isel, first up, ExternalSymbol.
llvm-svn: 74199
|
2009-06-25 18:45:50 +00:00 |
|