Sean Callanan
2db103c0ea
Cleanup (style). Thanks to Argyrios for catching
...
this.
llvm-svn: 152158
2012-03-06 23:12:57 +00:00
Jim Grosbach
ed428bc1ce
ARM more NEON VLD/VST composite physical register refactoring.
...
Register pair, all lanes subscripting.
llvm-svn: 152157
2012-03-06 23:10:38 +00:00
Michael Han
c222ced7dd
commit access verified, revert change
...
llvm-svn: 152156
2012-03-06 22:55:51 +00:00
Michael Han
b9929bdb91
test commit access
...
llvm-svn: 152155
2012-03-06 22:53:15 +00:00
NAKAMURA Takumi
66a7e43363
CMake: Fix build to add clangEdit to USED_LIBS.
...
llvm-svn: 152154
2012-03-06 22:32:32 +00:00
Jakob Stoklund Olesen
936656ba2f
Hoist common code out of if statement.
...
llvm-svn: 152153
2012-03-06 22:27:13 +00:00
Greg Clayton
9c76611055
Added the ability to disassembly "count" instructions given a SBAddress.
...
This was done in SBTarget:
lldb::SBInstructionList
lldb::SBTarget::ReadInstructions (lldb::SBAddress base_addr, uint32_t count);
Also cleaned up a few files in the LLDB.framework settings.
llvm-svn: 152152
2012-03-06 22:24:44 +00:00
Argyrios Kyrtzidis
5652716a7a
[objcmt] Add a triple to test/ARCMT/objcmt-subscripting-literals.m
...
llvm-svn: 152151
2012-03-06 22:03:39 +00:00
Jim Grosbach
13a292cc74
ARM refactor more NEON VLD/VST instructions to use composite physregs
...
Register pair VLD1/VLD2 all-lanes instructions. Kill off more of the
pseudos as a result.
llvm-svn: 152150
2012-03-06 22:01:44 +00:00
Sean Callanan
75383bf34d
Added support for calling blocks from expressions,
...
but gated by an #ifdef until we roll LLVM/Clang to
bring in the necessary parser support.
llvm-svn: 152149
2012-03-06 21:56:33 +00:00
Owen Anderson
773642d3d8
Fix support for encodings up to 64-bits in length. TableGen was silently truncating them to 32-bits prior to this.
...
llvm-svn: 152148
2012-03-06 21:48:32 +00:00
Sean Callanan
1249511024
Extended the UnknownAnyTy resolver to handle
...
blocks with unknown return types. This allows
LLDB to call blocks even when their return types
aren't provided in the debug information.
llvm-svn: 152147
2012-03-06 21:34:12 +00:00
Fariborz Jahanian
461b7bb9e6
get rid of an unsued variable warning.
...
llvm-svn: 152146
2012-03-06 21:18:56 +00:00
Chad Rosier
64d6be979f
[driver] What was implemented in r152130 was actually -fno-inline-functions, not
...
-fno-inline.
Part of rdar://10972766
llvm-svn: 152145
2012-03-06 21:17:19 +00:00
Sean Callanan
20a33d5f65
Don't return bare symbols when asked to search
...
inside a namespace. This bypasses local variables.
llvm-svn: 152144
2012-03-06 20:53:06 +00:00
Benjamin Kramer
e1c34e9f43
SmallPtrSet: Provide a more efficient implementation of swap than the default triple-copy std::swap.
...
This currently assumes that both sets have the same SmallSize to keep the implementation simple,
a limitation that can be lifted if someone cares.
llvm-svn: 152143
2012-03-06 20:40:02 +00:00
Benjamin Kramer
ce80ce5fd8
Just use memcpy directly, uninitialized_copy requires an <algorithm> include.
...
Newer libstdc++s don't include it transitively everywhere.
llvm-svn: 152142
2012-03-06 20:39:11 +00:00
Ted Kremenek
f7639e1b4a
Add new code migrator support for migrating existing Objective-C code to use
...
the new Objective-C NSArray/NSDictionary/NSNumber literal syntax.
This introduces a new library, libEdit, which provides a new way to support
migration of code that improves on the original ARC migrator. We now believe
that most of its functionality can be refactored into the existing libraries,
and thus this new library may shortly disappear.
llvm-svn: 152141
2012-03-06 20:06:33 +00:00
Ted Kremenek
d151dde0e6
Enable default @synthesize by default.
...
llvm-svn: 152140
2012-03-06 20:06:15 +00:00
Ted Kremenek
415287d943
Add static analyzer support for new NSArray/NSDictionary/NSNumber literals.
...
llvm-svn: 152139
2012-03-06 20:06:12 +00:00
Ted Kremenek
77006f6875
And libclang cursor/indexing support for new Objective-C NSArray/NSDictionary/NSNumber literals.
...
llvm-svn: 152138
2012-03-06 20:06:06 +00:00
Ted Kremenek
e65b086e07
Add clang support for new Objective-C literal syntax for NSDictionary, NSArray,
...
NSNumber, and boolean literals. This includes both Sema and Codegen support.
Included is also support for new Objective-C container subscripting.
My apologies for the large patch. It was very difficult to break apart.
The patch introduces changes to the driver as well to cause clang to link
in additional runtime support when needed to support the new language features.
Docs are forthcoming to document the implementation and behavior of these features.
llvm-svn: 152137
2012-03-06 20:05:56 +00:00
Eli Friedman
de850676e0
Fix the operand ordering on aliases for shld and shrd. PR12173, part 2.
...
llvm-svn: 152136
2012-03-06 19:58:46 +00:00
Ted Kremenek
e7f7dd9158
Add new load commands for MachO.
...
llvm-svn: 152135
2012-03-06 19:54:44 +00:00
Chad Rosier
9a099ea3eb
Whitespace.
...
llvm-svn: 152134
2012-03-06 19:14:53 +00:00
Daniel Dunbar
7e51b5fd31
build/Darwin: Make it easy to cause all tools to get codesigned (with make CODESIGN_TOOLS=1).
...
- On OS X 10.7+ this is apparently recommended practice. This maybe should
become a configurey thing one day, but I'm not sure it is right to
automatically turn it on.
llvm-svn: 152133
2012-03-06 19:07:38 +00:00
Chad Rosier
94bdf697b2
Minor fix for r152130. Put -fno-inline in f_Group.
...
llvm-svn: 152132
2012-03-06 19:02:54 +00:00
Jim Grosbach
63ee881cd6
Tidy up. Kill some dead code.
...
llvm-svn: 152131
2012-03-06 18:59:19 +00:00
Chad Rosier
806031896d
[driver] Add support for -fno-inline.
...
rdar://10972766
llvm-svn: 152130
2012-03-06 18:49:20 +00:00
Jakob Stoklund Olesen
579e701fd9
Allow the same types in DPair as in QPR.
...
llvm-svn: 152129
2012-03-06 18:44:11 +00:00
Fariborz Jahanian
197c68c856
Undo patch for // rdar://10735698
...
llvm-svn: 152128
2012-03-06 18:41:35 +00:00
Kevin Enderby
520eb3ba8a
Fix a bug in the ARM disassembly of the neon VLD2 all lanes instruction.
...
llvm-svn: 152127
2012-03-06 18:33:12 +00:00
Daniel Dunbar
492488271f
AST: Move several Type::is...Type() functions to be inline.
...
- These functions are both (a) very commonly called and (b) excellent
candidates for CSE in the callers in which they are commonly used.
- That isHalfType() is hot makes me sad, but it is trivially when inlined (and
a huge waste of time when not!!!).
- The extra IsEnumDeclComplete() function is a hack to break the cycle between
Type.h and Decl.h, I'm not sure of how to do this more cleanly, but am open
to ideas.
llvm-svn: 152126
2012-03-06 18:20:20 +00:00
Jim Ingham
f0fd55e631
Fix a little nit with exception breakpoints for C++, the expression parser wants to be
...
more aggressive about trapping exceptions than a user would be. Make it so...
llvm-svn: 152125
2012-03-06 18:10:38 +00:00
Benjamin Kramer
d78f1ec183
NamespaceDecl: Call non-virtual method inside virtual method, not the other way round.
...
Moves the virtual call out of a hot path during lookup, no other functionality change.
llvm-svn: 152124
2012-03-06 18:07:25 +00:00
Fariborz Jahanian
d7a3261dfb
objective-c modern translator. Don't ignore unnamed bitfields
...
when rewriting.
llvm-svn: 152123
2012-03-06 17:16:27 +00:00
Roman Divacky
ef21be2cda
Convert PowerPC to register mask operands.
...
llvm-svn: 152122
2012-03-06 16:41:49 +00:00
Benjamin Kramer
4ed8f3c0a8
Remove excess const, a const_iterator shouldn't be const itself.
...
Fixes 1242 warnings from gcc during clang build.
llvm-svn: 152120
2012-03-06 13:32:36 +00:00
Alexander Potapenko
b780ad9117
Force __asan_handle_no_return into the binary built with ASan.
...
llvm-svn: 152117
2012-03-06 11:45:59 +00:00
Jay Foad
cc5fd3e25d
Change ConstantAggrUniqueMap to use Chandler's new hashing
...
implementation. Patch by Meador Inge
llvm-svn: 152116
2012-03-06 10:43:52 +00:00
Bill Wendling
4fa13ccbec
Add column width.
...
llvm-svn: 152115
2012-03-06 09:23:25 +00:00
Bill Wendling
4af807c59d
Remove short tag marker.
...
llvm-svn: 152114
2012-03-06 09:22:03 +00:00
Bill Wendling
61d5e4d4d5
Appease the HTML validation gods.
...
llvm-svn: 152113
2012-03-06 09:20:59 +00:00
Bill Wendling
23d60acc38
Fix validation errors.
...
llvm-svn: 152112
2012-03-06 09:17:39 +00:00
Bill Wendling
d672d9cd02
Fix validation errors.
...
llvm-svn: 152111
2012-03-06 09:17:04 +00:00
Bill Wendling
4bf1cc8312
Add missing end tags.
...
llvm-svn: 152110
2012-03-06 08:59:13 +00:00
Tobias Grosser
3c2efba7ff
CodeGen: Fix typo 'form' -> 'from'
...
Suggested by: Sebastian Pop <sebpop@gmail.com>
llvm-svn: 152109
2012-03-06 07:38:57 +00:00
Argyrios Kyrtzidis
70b0878c46
Use newly introduced const-goodness of TinyPtrVector.
...
llvm-svn: 152108
2012-03-06 07:15:06 +00:00
Argyrios Kyrtzidis
3031e1c1cf
[TinyPtrVector] Add erase method and const-goodness.
...
llvm-svn: 152107
2012-03-06 07:14:58 +00:00
Argyrios Kyrtzidis
3023bc32f0
PointerUnion::getAddrOf() does not need to be template since we can only
...
use the first pointer type for it. Rename it to getAddrOfPtr1().
llvm-svn: 152106
2012-03-06 07:14:54 +00:00