Jim Grosbach
eab1c0d09c
Clean up the ARM asm parser a bit.
...
No intendeded functional change. Just cleaning up a bit to make things more
self-consistent in layout and style.
llvm-svn: 136095
2011-07-26 17:10:22 +00:00
Benjamin Kramer
632500cb85
Eliminate a bunch of temporary strings.
...
llvm-svn: 136092
2011-07-26 16:59:25 +00:00
Jim Grosbach
ddeda0fad3
ARM fix asm parsing range check for [0,31] immediates.
...
llvm-svn: 136091
2011-07-26 16:44:05 +00:00
Jim Grosbach
f16378479b
ARM parsing and encoding for SVC instruction.
...
llvm-svn: 136090
2011-07-26 16:24:27 +00:00
Jim Grosbach
2c374c4fb6
ARM assembly parsing and encoding tests for SUB instruction.
...
llvm-svn: 136089
2011-07-26 15:44:05 +00:00
Jim Grosbach
dc45f00cf5
Update ARM STM tests. Fix check: prefix for diagnostic tests.
...
llvm-svn: 136088
2011-07-26 15:41:22 +00:00
Duncan Sands
fe44f67d43
Teach the Triple class about kfreebsd (FreeBSD kernel with
...
a GNU userspace).
llvm-svn: 136085
2011-07-26 15:30:04 +00:00
Douglas Gregor
ea777403f9
Add new libclang API, clang_codeCompleteGetObjCSelector(), which
...
provides the partial Objective-C selector used in a code
completion. From Connor Wakamo!
llvm-svn: 136084
2011-07-26 15:24:30 +00:00
Rafael Espindola
b84dc6bca8
Add LLVMAddAlwaysInlinerPass to the C API.
...
llvm-svn: 136083
2011-07-26 15:23:23 +00:00
Rafael Espindola
be2fe29f9c
LLVM 3.0 is here, remove old do nothing method.
...
llvm-svn: 136082
2011-07-26 15:17:32 +00:00
Douglas Gregor
72912fb9a4
When we decide not to rebuild an instantiated C++ 'new' expression
...
that allocates an array of objects with a non-trivial destructor, be
sure to mark the destructor is "used". Fixes PR10480 /
<rdar://problem/9834317>.
llvm-svn: 136081
2011-07-26 15:11:03 +00:00
Duncan Sands
3ac1836540
SrcDef is only written and never read. Remove it.
...
llvm-svn: 136080
2011-07-26 15:05:06 +00:00
Duncan Sands
c1c92719a4
Add helper function for getting true/false constants in a uniform
...
way for i1 and vector of i1 types. Use these to make some code
more self-documenting.
llvm-svn: 136079
2011-07-26 15:03:53 +00:00
Douglas Gregor
a4f2b430e0
Objective-C++ ARC: When performing template argument deduction for a
...
lifetime-qualified template parameter, ensure that the deduced
template argument is a lifetime type. Fixes <rdar://problem/9828157>.
llvm-svn: 136078
2011-07-26 14:53:44 +00:00
Bill Wendling
16b867416f
Clean up the HTML here a bit.
...
llvm-svn: 136074
2011-07-26 10:41:15 +00:00
Jay Foad
6a51402a8a
Fix typo in comment.
...
llvm-svn: 136068
2011-07-26 09:36:52 +00:00
Nick Lewycky
1fcd0f1581
Don't try to dereference syms[0] on an empty vector. Reported by Todd Jackson
...
and Jeffrey Bosboom!
llvm-svn: 136066
2011-07-26 08:40:36 +00:00
Bill Wendling
ee61946783
The compact unwinding offsets are divided by 8 on 64-bit machines.
...
llvm-svn: 136065
2011-07-26 08:03:49 +00:00
Bill Wendling
dd7805a24d
Describe the reasoning for compact unwind in better terms. Thanks to Nick Kledzik for the description.
...
llvm-svn: 136064
2011-07-26 07:58:09 +00:00
Chad Rosier
99ee7829ff
After further discussion it has been determined that alignof should report
...
the preferred alignment. Thus, revert r135934, r135935, and r135940.
llvm-svn: 136062
2011-07-26 07:03:04 +00:00
Chandler Carruth
c22845abe2
Cleanup the stray comments and variables I could dig out of Sema to
...
refer to 'expansion' instead of 'instantiation'.
llvm-svn: 136060
2011-07-26 05:40:03 +00:00
Chandler Carruth
0b5cf7c863
Fix a stray instantiation comment in Parse.
...
llvm-svn: 136059
2011-07-26 05:19:46 +00:00
Chandler Carruth
64ee782e2f
Clean up as many of the comments in Basic I can find to talk in terms of
...
'expansion' rather than 'instantiation' for macro source locations.
llvm-svn: 136058
2011-07-26 05:17:23 +00:00
Chandler Carruth
ee4c1d1298
Migrate 'Instantiation' data and API bits of SLocEntry to 'Expansion'
...
etc. With this I think essentially all of the SourceManager APIs are
converted. Comments and random other bits of cleanup should be all thats
left.
llvm-svn: 136057
2011-07-26 04:56:51 +00:00
Chandler Carruth
73ee5d7fae
Convert InstantiationInfo and much of the related code to ExpansionInfo
...
and various other 'expansion' based terms. I've tried to reformat where
appropriate and catch as many references in comments but I'm going to do
several more passes. Also I've tried to expand parameter names to be
more clear where appropriate.
llvm-svn: 136056
2011-07-26 04:41:47 +00:00
Jason Molenda
26a27fb832
RNBRemote.cpp, RNBRemote.h: Add a new qGetPid packet which returns
...
the pid of the process currently being debugged by debugserer in
hex, or 0 if unavailable.
This is effectively the same as the qC packet but that packet is
not clear in either its documentation or implementation (in gdb et al)
as to whether it is intended to return a pid or a thread id. qGetPid
is unambiguous.
If qGetPid is unimplemented in the remote debugserver, the debugger may
try qC and see what kind of value is returned..
llvm-svn: 136055
2011-07-26 03:34:52 +00:00
Chandler Carruth
115b077f30
Rename create(MacroArg)InstantiationLoc to create(MacroArg)ExpansionLoc.
...
llvm-svn: 136054
2011-07-26 03:03:05 +00:00
Chandler Carruth
aa63153ff7
Rename SourceManager (and InstantiationInfo) isMacroArgInstantiation API
...
to isMacroArgExpansion.
llvm-svn: 136053
2011-07-26 03:03:00 +00:00
Jim Ingham
5c4df7a4d6
Indent the frames in the "thread.GetStatus" frame listing. Also put the same space after each thread listing for "thread backtrace all" as "thread backtrace 1 3 5"
...
llvm-svn: 136052
2011-07-26 02:39:59 +00:00
Bruno Cardoso Lopes
d600a0f878
Add 256-bit isel for movsldup/movshdup
...
llvm-svn: 136051
2011-07-26 02:39:32 +00:00
Bruno Cardoso Lopes
d77b383199
More movsldup/movshdup cleanup. Rewrite the mask matching function and add
...
support for 256-bit versions (but no instruction selection yet, coming next).
llvm-svn: 136050
2011-07-26 02:39:28 +00:00
Bruno Cardoso Lopes
5b268a4b82
More cleanup, subtarget info isn't used here.
...
llvm-svn: 136049
2011-07-26 02:39:25 +00:00
Bruno Cardoso Lopes
de7aaf5c7f
Add 128-bit AVX versions of movshdup/mosldup
...
llvm-svn: 136048
2011-07-26 02:39:23 +00:00
Bruno Cardoso Lopes
957a6a13e0
Cleanup movsldup/movshdup matching.
...
27 insertions(+), 62 deletions(-)
llvm-svn: 136047
2011-07-26 02:39:13 +00:00
Kaelyn Uhrain
980bdb9dfb
Expand array bounds checking to work in the presence of unary & and *,
...
and to work with pointer arithmetic in addition to array indexing.
The new pointer arithmetic porition of the array bounds checking can be
turned on by -Warray-bounds-pointer-arithmetic (and is off by default).
llvm-svn: 136046
2011-07-26 01:52:28 +00:00
Evan Cheng
5a7a4ea505
Assembler really doesn't need to create TargetMachine anymore.
...
llvm-svn: 136045
2011-07-26 01:49:26 +00:00
Kaelyn Uhrain
15a67b97df
Test commit
...
llvm-svn: 136044
2011-07-26 01:42:22 +00:00
NAKAMURA Takumi
a2fd936107
test/CodeGen/2003-08-18-SigSetJmp.c: XFAIL: mingw, too!
...
llvm-svn: 136043
2011-07-26 01:40:37 +00:00
Eric Christopher
1c7ea99456
win32 doesn't have sigsetjmp, just xfail this test there.
...
llvm-svn: 136041
2011-07-26 01:32:19 +00:00
Eric Christopher
2da8b9c652
Rework this slightly to work for optimized compilers and remove the
...
optimization from the test.
llvm-svn: 136039
2011-07-26 01:24:10 +00:00
Eric Christopher
6f2a0d7234
These tests use standard headers and so need ms extensions with MSVC headers.
...
Use the driver instead of just clang -cc1.
llvm-svn: 136037
2011-07-26 01:12:27 +00:00
Eric Christopher
ad869153ba
Remove this test, it's more properly an optimizer test.
...
llvm-svn: 136036
2011-07-26 01:11:20 +00:00
Eric Christopher
e6051006ba
Migrate and FileCheck-ize some of:
...
2003-09-18-BitfieldTests.c 2007-04-11-PR1321.c 2003-11-13-TypeSafety.c 2003-08-29-StructLayoutBug.c 2010-05-14-Optimized-VarType.c 2003-10-06-NegateExprType.c 2007-06-05-NoInlineAttribute.c 2011-03-31-ArrayRefFolding.c 2010-07-14-ref-off-end.c Atomics-no64bit.c 2007-05-11-str-const.c 2004-11-27-InvalidConstantExpr.c 2007-04-05-UnPackedStruct.c 2004-03-15-SimpleIndirectGoto.c 2004-01-08-ExternInlineRedefine.c sret2.c 2007-02-07-AddrLabel.c 2002-09-19-StarInLabel.c 2003-11-16-StaticArrayInit.c 2003-08-18-SigSetJmp.c 2007-04-24-VolatileStructCopy.c 2002-07-29-Casts.c 2005-06-15-ExpandGotoInternalProblem.c 2007-09-17-WeakRef.c 2007-04-24-str-const.c 2003-08-30-LargeIntegerBitfieldMember.c inline-asm-mrv.c
from llvm/test/FrontendC.
llvm-svn: 136035
2011-07-26 00:57:50 +00:00
Jakob Stoklund Olesen
5387bd340b
Revert to RA_Assign when a virtreg separates into components.
...
When dead code elimination deletes a PHI value, the virtual register may
split into multiple connected components. In that case, revert each
component to the RS_Assign stage.
The new components are guaranteed to be smaller (the original value
numbers are distributed among the components), so this will always be
making progress. The components are now allowed to evict other live
ranges or be split again.
llvm-svn: 136034
2011-07-26 00:54:56 +00:00
Eric Christopher
06b9d065a2
Migrate over 2009-04-22-UnknownSize.c, 2009-07-17-VoidParameter.c,
...
2009-03-09-WeakDeclarations-1.c, and 2010-05-31-palignr.c from
llvm/test/FrontendC.
llvm-svn: 136033
2011-07-26 00:47:54 +00:00
Evan Cheng
9568f27950
Rename createCodeEmitter to createMCCodeEmitter; createObjectStreamer to createMCObjectStreamer.
...
llvm-svn: 136032
2011-07-26 00:42:40 +00:00
Evan Cheng
3a79225b4c
Rename createCodeEmitter to createMCCodeEmitter; createObjectStreamer to createMCObjectStreamer.
...
llvm-svn: 136031
2011-07-26 00:42:34 +00:00
Chandler Carruth
f1af0902cc
Remove a file from CMakeLists.txt that Evan removed in r136027.
...
llvm-svn: 136030
2011-07-26 00:30:33 +00:00
Evan Cheng
939f809ce9
Rename createAsmParser to createMCAsmParser.
...
llvm-svn: 136029
2011-07-26 00:24:45 +00:00
Johnny Chen
7af9a33d45
Add newline at end of file.
...
llvm-svn: 136028
2011-07-26 00:24:30 +00:00