OSDN Git Service
Bob Wilson [Fri, 26 Jun 2009 18:23:29 +0000 (18:23 +0000)]
Swap order of arguments to vst[34]* intrinsics. This matches the order
used by both the user-visible intrinsics defined by ARM and the
corresponding GCC builtins.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74300
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Fri, 26 Jun 2009 18:21:54 +0000 (18:21 +0000)]
Spell Count as count.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74298
91177308-0d34-0410-b5e6-
96231b3b80d8
David Goodwin [Fri, 26 Jun 2009 18:10:30 +0000 (18:10 +0000)]
Add Thumb-2 tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74295
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Fri, 26 Jun 2009 18:09:03 +0000 (18:09 +0000)]
Use atomic operations for accessing this global counter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74294
91177308-0d34-0410-b5e6-
96231b3b80d8
David Goodwin [Fri, 26 Jun 2009 18:07:25 +0000 (18:07 +0000)]
ADC used to implement adde should use "adcs" opcode instead of "adc".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74293
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Fri, 26 Jun 2009 16:46:15 +0000 (16:46 +0000)]
Get rid of unnecessary global variables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74291
91177308-0d34-0410-b5e6-
96231b3b80d8
David Goodwin [Fri, 26 Jun 2009 16:20:06 +0000 (16:20 +0000)]
ORN and BIC tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74289
91177308-0d34-0410-b5e6-
96231b3b80d8
David Goodwin [Fri, 26 Jun 2009 16:10:07 +0000 (16:10 +0000)]
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74288
91177308-0d34-0410-b5e6-
96231b3b80d8
Douglas Gregor [Fri, 26 Jun 2009 15:37:00 +0000 (15:37 +0000)]
Fix linking of llvm-ld and lli with CMake, from Xerxes Rånby
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74285
91177308-0d34-0410-b5e6-
96231b3b80d8
Douglas Gregor [Fri, 26 Jun 2009 14:35:43 +0000 (14:35 +0000)]
CMake: add configure checks for pthread_rwlock_init and pthread_getspecific
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74284
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Fri, 26 Jun 2009 08:48:03 +0000 (08:48 +0000)]
Fix compilation without pthreads.
Patch by Xerxes Ranby.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74283
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Fri, 26 Jun 2009 07:05:57 +0000 (07:05 +0000)]
Fix tests: Count -> count.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74282
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Fri, 26 Jun 2009 06:57:16 +0000 (06:57 +0000)]
Indentation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74281
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Fri, 26 Jun 2009 06:10:18 +0000 (06:10 +0000)]
Simplify predicate CarryDefIsUsed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74277
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Fri, 26 Jun 2009 05:59:16 +0000 (05:59 +0000)]
Fix a CodeGenDAGPatterns bug. Check if top level predicates match when it's looking for duplicates.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74276
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 26 Jun 2009 05:56:49 +0000 (05:56 +0000)]
fix a pasto.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74275
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 26 Jun 2009 05:55:43 +0000 (05:55 +0000)]
dot graph viewing is apparently not using SDNode::print_details, this is bad,
but in the meantime lets print targetflags on node labels.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74274
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 26 Jun 2009 05:52:14 +0000 (05:52 +0000)]
propagate target operand flags from dag nodes into MachineOperands.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74273
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 26 Jun 2009 05:51:45 +0000 (05:51 +0000)]
propagate target operand flags through addressing mode selection.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74272
91177308-0d34-0410-b5e6-
96231b3b80d8
Shantonu Sen [Fri, 26 Jun 2009 05:44:53 +0000 (05:44 +0000)]
Clarify how to configure llvm-gcc-4.2 for use with
test suite. Remove documentation for --with-f2c, which
is no longer supported. Remove information about obtaining
tcl/expect, which ship with Mac OS X by default since
10.4.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74271
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 26 Jun 2009 05:39:02 +0000 (05:39 +0000)]
fit in 80 cols
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74270
91177308-0d34-0410-b5e6-
96231b3b80d8
Nick Lewycky [Fri, 26 Jun 2009 04:33:37 +0000 (04:33 +0000)]
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!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74265
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Fri, 26 Jun 2009 02:30:49 +0000 (02:30 +0000)]
NewNightlyTest: Pull most VERBOSE handling into RunLoggedCommand function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74256
91177308-0d34-0410-b5e6-
96231b3b80d8
Devang Patel [Fri, 26 Jun 2009 02:26:12 +0000 (02:26 +0000)]
Let's ignore MDStrings also!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74255
91177308-0d34-0410-b5e6-
96231b3b80d8
Devang Patel [Fri, 26 Jun 2009 02:25:46 +0000 (02:25 +0000)]
Remove unnecessary includes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74254
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Fri, 26 Jun 2009 02:03:52 +0000 (02:03 +0000)]
Fix may-be-used-uninitialized warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74253
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Fri, 26 Jun 2009 01:53:05 +0000 (01:53 +0000)]
NewNightlyTest: Factor out LLVM{Src,Obj,Test} variables.
- They can be overriden on the command line as well.
Add -teelogs option, which will also print the various logs on stdout.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74252
91177308-0d34-0410-b5e6-
96231b3b80d8
Devang Patel [Fri, 26 Jun 2009 01:49:18 +0000 (01:49 +0000)]
Remove debug info anchors - llvm.dbg.compile_units, llvm.dbg.subprograms
and llvm.dbg.global_variables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74251
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Fri, 26 Jun 2009 01:34:35 +0000 (01:34 +0000)]
Fix unused variable warnings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74250
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Fri, 26 Jun 2009 01:33:02 +0000 (01:33 +0000)]
Fix spelling of 'count'
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74249
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Fri, 26 Jun 2009 00:51:20 +0000 (00:51 +0000)]
Fix error in the Win32 implementation pointed out by Howard Su.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74248
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 26 Jun 2009 00:43:52 +0000 (00:43 +0000)]
start adding logic in isel to determine asm printer semantics, step N of M.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74246
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Fri, 26 Jun 2009 00:35:12 +0000 (00:35 +0000)]
Change this code to a form about which VC++ reportedly isn't unhappy.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74243
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Fri, 26 Jun 2009 00:31:13 +0000 (00:31 +0000)]
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74242
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Fri, 26 Jun 2009 00:28:48 +0000 (00:28 +0000)]
Add a note about commuting conditional move.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74241
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Fri, 26 Jun 2009 00:26:03 +0000 (00:26 +0000)]
Minor code simplification.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74240
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Fri, 26 Jun 2009 00:25:27 +0000 (00:25 +0000)]
These are done / no longer applicable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74239
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Fri, 26 Jun 2009 00:19:44 +0000 (00:19 +0000)]
Mark a bunch of instructions commutable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74237
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Fri, 26 Jun 2009 00:19:07 +0000 (00:19 +0000)]
tst is also commutable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74236
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Fri, 26 Jun 2009 00:17:05 +0000 (00:17 +0000)]
Committed the wrong version in my last commit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74235
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Fri, 26 Jun 2009 00:15:27 +0000 (00:15 +0000)]
Privatize a static variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74234
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Fri, 26 Jun 2009 00:06:28 +0000 (00:06 +0000)]
Guards for the compiler driver plugin list.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74230
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 25 Jun 2009 23:34:10 +0000 (23:34 +0000)]
Select ADC, SBC, and RSC instead of the ADCS, SBCS, and RSCS when the carry bit def is not used.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74228
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Thu, 25 Jun 2009 23:31:33 +0000 (23:31 +0000)]
Support thread-local pretty stack traces.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74227
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Thu, 25 Jun 2009 23:31:18 +0000 (23:31 +0000)]
Add support for const thread locals.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74226
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Thu, 25 Jun 2009 23:28:28 +0000 (23:28 +0000)]
Fix typo in assertion.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74225
91177308-0d34-0410-b5e6-
96231b3b80d8
David Goodwin [Thu, 25 Jun 2009 23:11:21 +0000 (23:11 +0000)]
Use MVN for ~t2_so_imm immediates.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74223
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Thu, 25 Jun 2009 23:10:26 +0000 (23:10 +0000)]
Add a configure test for pthread_getspecific, and use it when building ThreadLocal.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74222
91177308-0d34-0410-b5e6-
96231b3b80d8
David Goodwin [Thu, 25 Jun 2009 22:49:55 +0000 (22:49 +0000)]
Add Def/Use of CPSR for Thumb-1 instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74219
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Thu, 25 Jun 2009 22:44:51 +0000 (22:44 +0000)]
MC: Parse .org directives.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74218
91177308-0d34-0410-b5e6-
96231b3b80d8
Devang Patel [Thu, 25 Jun 2009 22:36:02 +0000 (22:36 +0000)]
Simplify.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74215
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 25 Jun 2009 22:04:44 +0000 (22:04 +0000)]
Unbreak mingw build. Patch by Viktor Kutuzov.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74212
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Thu, 25 Jun 2009 21:59:32 +0000 (21:59 +0000)]
Don't grep the -debug output. This isn't the way to test changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74211
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Thu, 25 Jun 2009 21:58:34 +0000 (21:58 +0000)]
Update cmake build files.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74210
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Thu, 25 Jun 2009 21:58:01 +0000 (21:58 +0000)]
Add a class for supporting platform independent thread-local storage.
Windows people, please double-check/patch this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74209
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Thu, 25 Jun 2009 21:56:11 +0000 (21:56 +0000)]
MC: Parse .set and assignments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74208
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 25 Jun 2009 21:48:17 +0000 (21:48 +0000)]
down with unwind info :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74206
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 25 Jun 2009 21:35:31 +0000 (21:35 +0000)]
add targetflags to jump tables and constant pool entries.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74204
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 25 Jun 2009 21:21:14 +0000 (21:21 +0000)]
allow setting target operand flags on TargetGlobalAddress nodes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74203
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Thu, 25 Jun 2009 21:03:18 +0000 (21:03 +0000)]
MC: Truncate values when printing, to keep 'as' happy.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74201
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 25 Jun 2009 20:59:23 +0000 (20:59 +0000)]
ISD::ADDE / ISD::SUBE updates the carry bit so they should isle to ADCS and SBCS / RSCS.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74200
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 25 Jun 2009 18:45:50 +0000 (18:45 +0000)]
start bringing targetoperand flags into isel, first up, ExternalSymbol.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74199
91177308-0d34-0410-b5e6-
96231b3b80d8
Mikhail Glushenkov [Thu, 25 Jun 2009 18:21:34 +0000 (18:21 +0000)]
Better error message.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74193
91177308-0d34-0410-b5e6-
96231b3b80d8
Mikhail Glushenkov [Thu, 25 Jun 2009 18:21:10 +0000 (18:21 +0000)]
Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74192
91177308-0d34-0410-b5e6-
96231b3b80d8
Mikhail Glushenkov [Thu, 25 Jun 2009 18:20:44 +0000 (18:20 +0000)]
Update documentation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74191
91177308-0d34-0410-b5e6-
96231b3b80d8
Mikhail Glushenkov [Thu, 25 Jun 2009 18:20:10 +0000 (18:20 +0000)]
Make -save-temps behave like in GCC 4.5.
The -save-temps option now behaves like described in GCC 4.5 release notes
(you can specify output directory for temporary files with -save-temps=obj
-o $DIRNAME). I do not have GCC 4.5 installed, so if there are any
inconsistencies between llvmc and GCC in the implementation of this
feature, please let me know.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74190
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Thu, 25 Jun 2009 18:13:04 +0000 (18:13 +0000)]
Privatize this map.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74189
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Thu, 25 Jun 2009 18:12:44 +0000 (18:12 +0000)]
Guard dynamic library loading.
I did my best at implementing this for Win32, but I don't have a way to test it.
Can someone with access to a Win32 machine test/fix this?
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74188
91177308-0d34-0410-b5e6-
96231b3b80d8
Sanjiv Gupta [Thu, 25 Jun 2009 18:12:06 +0000 (18:12 +0000)]
Added floating point conditional operations support via libcalls.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74187
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 25 Jun 2009 17:58:52 +0000 (17:58 +0000)]
simplify shouldPrintPLT
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74186
91177308-0d34-0410-b5e6-
96231b3b80d8
David Goodwin [Thu, 25 Jun 2009 17:52:32 +0000 (17:52 +0000)]
Test commit
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74185
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 25 Jun 2009 17:38:33 +0000 (17:38 +0000)]
Use target-specific machine operand flags to eliminate a gross hack
from the asmprinter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74184
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 25 Jun 2009 17:28:07 +0000 (17:28 +0000)]
just eliminate the code entirely!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74183
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 25 Jun 2009 17:21:32 +0000 (17:21 +0000)]
Clone target flags when copying mbb operands.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74181
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Thu, 25 Jun 2009 17:09:00 +0000 (17:09 +0000)]
Provide guards for this shared structure. I'm not sure this actually needs
to be shared, but how/where to privatize it is not immediately clear to me.
If any SelectionDAG experts see a better solution, please share!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74180
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Thu, 25 Jun 2009 16:55:32 +0000 (16:55 +0000)]
Privatize some more debug-related static data.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74179
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Thu, 25 Jun 2009 16:32:45 +0000 (16:32 +0000)]
Use a more correct atomic increment style. This isn't really necessary in
this case, but it should help avoid issues in the future.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74178
91177308-0d34-0410-b5e6-
96231b3b80d8
Bob Wilson [Thu, 25 Jun 2009 16:03:07 +0000 (16:03 +0000)]
Revert 74164. We'll want to use this method later.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74176
91177308-0d34-0410-b5e6-
96231b3b80d8
Sanjiv Gupta [Thu, 25 Jun 2009 11:03:14 +0000 (11:03 +0000)]
Identify unconditional gotos and generate a page sel instructions before them.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74172
91177308-0d34-0410-b5e6-
96231b3b80d8
Bruno Cardoso Lopes [Thu, 25 Jun 2009 07:36:24 +0000 (07:36 +0000)]
Support Constant Pool Sections
Add section symbols to the symbol table
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74170
91177308-0d34-0410-b5e6-
96231b3b80d8
Bob Wilson [Thu, 25 Jun 2009 05:20:31 +0000 (05:20 +0000)]
Remove unused hasV6T2Ops method. We already have a separate feature to
identify Thumb2.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74164
91177308-0d34-0410-b5e6-
96231b3b80d8
Douglas Gregor [Thu, 25 Jun 2009 05:03:06 +0000 (05:03 +0000)]
Add missing dependencies to the CMake build system.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74161
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 25 Jun 2009 04:29:08 +0000 (04:29 +0000)]
add file to cmake
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74159
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 25 Jun 2009 02:08:06 +0000 (02:08 +0000)]
Change thumb2 instruction definitions so if-converter so add predicate operands and / or flip the 's' bit to set the condition flag.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74158
91177308-0d34-0410-b5e6-
96231b3b80d8
Jeffrey Yasskin [Thu, 25 Jun 2009 02:04:04 +0000 (02:04 +0000)]
Add a JITEventListener interface that gets called back when a new function is
emitted or the machine code for a function is freed. Chris mentioned that we
may also want a notification when a stub is emitted, but that'll be a future
change. I intend to use this to tell oprofile where functions are emitted and
what lines correspond to what addresses.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74157
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 25 Jun 2009 01:21:30 +0000 (01:21 +0000)]
Add thumb2 add sp.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74156
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 25 Jun 2009 01:16:22 +0000 (01:16 +0000)]
ad MachineInstrBuilder support for target flags on operands.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74155
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 25 Jun 2009 01:15:47 +0000 (01:15 +0000)]
fix comments to be correct.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74154
91177308-0d34-0410-b5e6-
96231b3b80d8
Mikhail Glushenkov [Thu, 25 Jun 2009 01:07:00 +0000 (01:07 +0000)]
Remove duplication.
Factor out common preprocessor-related bits to Makefile.rules.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74153
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 25 Jun 2009 01:05:06 +0000 (01:05 +0000)]
Some reorg and additional comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74152
91177308-0d34-0410-b5e6-
96231b3b80d8
Devang Patel [Thu, 25 Jun 2009 00:47:42 +0000 (00:47 +0000)]
No need to code gen MDNodes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74150
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Thu, 25 Jun 2009 00:32:48 +0000 (00:32 +0000)]
My guess is that RegInfo should only call the Allocator.Deallocator if it's not
null.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74147
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Thu, 25 Jun 2009 00:22:44 +0000 (00:22 +0000)]
Reword a few comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74146
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Thu, 25 Jun 2009 00:09:57 +0000 (00:09 +0000)]
Add a getUniqueExitBlock utility function, similar to getExitBlock,
but for getUniqueExitBlocks.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74145
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Thu, 25 Jun 2009 00:04:15 +0000 (00:04 +0000)]
Now with EVEN FEWER statics!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74143
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Wed, 24 Jun 2009 23:47:58 +0000 (23:47 +0000)]
Add Thumb2 pc relative add.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74141
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Wed, 24 Jun 2009 23:41:44 +0000 (23:41 +0000)]
Fewer static variables, part 3 of many.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74140
91177308-0d34-0410-b5e6-
96231b3b80d8
Daniel Dunbar [Wed, 24 Jun 2009 23:30:00 +0000 (23:30 +0000)]
Basic .s parsing for .asci[iz], .fill, .space, {.byte, .short, ... }
- Includes some DG tests in test/MC/AsmParser, which are rather primitive since
we don't have a -verify mode yet.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74139
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Wed, 24 Jun 2009 23:14:45 +0000 (23:14 +0000)]
80 col violation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74138
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Wed, 24 Jun 2009 23:13:56 +0000 (23:13 +0000)]
Down with _even more_ statics!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74137
91177308-0d34-0410-b5e6-
96231b3b80d8