- Jun 18, 2013
-
-
Stefanus Du Toit authored
For decoding, keep the current behavior of always decoding these as their REP versions. In the future, this could be improved to recognize the cases where these behave as XACQUIRE and XRELEASE and decode them as such. llvm-svn: 184207
-
Rafael Espindola authored
llvm-svn: 184206
-
Stephen Lin authored
CodeGen: Have 'this'-returning constructors and destructors to take advantage of the new backend 'returned' attribute. The backend will now use the generic 'returned' attribute to form tail calls where possible, as well as avoid save-restores of 'this' in some cases (specifically the cases that matter for the ARM C++ ABI). This patch also reverts a prior front-end only partial implementation of these optimizations, since it's no longer required. llvm-svn: 184205
-
Rafael Espindola authored
llvm-svn: 184204
-
Rafael Espindola authored
llvm-svn: 184203
-
Rafael Espindola authored
llvm-svn: 184202
-
Nadav Rotem authored
llvm-svn: 184201
-
Nadav Rotem authored
llvm-svn: 184200
-
Fariborz Jahanian authored
llvm-svn: 184199
-
Rafael Espindola authored
llvm-svn: 184198
-
Edwin Vane authored
Transforms will now make changes to headers if header modifications have been enabled. FIXME: Only UseNullptr contains a cursory header modification test. Other transforms should have them too. llvm-svn: 184197
-
Rafael Espindola authored
llvm-svn: 184196
-
Fariborz Jahanian authored
in addition of receiver having static type, but also when receiver has dynamic type (of 'id' variety) as well as when receiver is of 'Class' type vareity. // rdar://7853549 llvm-svn: 184195
-
Edwin Vane authored
To make it possible for replacements made to headers as part of transforming one translation unit to not be visible to the transform of other translation units, Transform now handles replacement application as part of its end-of-source handling. Several things were simplified as a result: - The duplicated code in every transform for applying replacements is now gone and replaced with one location in Transform. - RefactoringTool is no longer used since Transform houses the Replacements structure. - RewriterContainer is now a private implementation detail of Transform (also renamed to RewriterManager since its behaviour is slightly different now with respect to lifetime of objects). - There's now no distinction between input and output file state. Misc notes: - Interface changes reflected in unit tests. - Replacements for files other than the main file are assumed to be for headers and stored as such. llvm-svn: 184194
-
Rafael Espindola authored
llvm-svn: 184193
-
Reid Kleckner authored
The CMake build was still using it because I forgot to s/CLANG/LLVM/ in the tablegen() call. The Makefile build is already using llvm-tblgen. llvm-svn: 184192
-
Alexey Samsonov authored
llvm-svn: 184191
-
Kostya Serebryany authored
llvm-svn: 184190
-
Sergey Matveev authored
llvm-svn: 184189
-
Rafael Espindola authored
llvm-svn: 184188
-
Evgeniy Stepanov authored
llvm-svn: 184187
-
Rafael Espindola authored
This allows the compiler to see the enum and warn about it. While in here, fix a switch to not use a default and fix style violations. llvm-svn: 184186
-
Evgeniy Stepanov authored
llvm-svn: 184185
-
Evgeniy Stepanov authored
They are actually the same, but ext2_fs.h header is not available in userspace with newer kernels. llvm-svn: 184184
-
Evgeniy Stepanov authored
Replace hardcoded ioctl request ids with symbolic names. Disable certain ioctls on platforms where such names are not found in the system headers. Fix a bug in ioctl_lookup. Reenable ioctl test on Mac. llvm-svn: 184183
-
Amaury de la Vieuville authored
When using a positive offset, literal loads where encoded as if it was negative, because: - The sign bit was not assigned to an operand - The addrmode_imm12 operand was not encoding the sign bit correctly This patch also makes the assembler look at the .w/.n specifier for loads. llvm-svn: 184182
-
Amaury de la Vieuville authored
llvm-svn: 184181
-
Amaury de la Vieuville authored
This fixes two previous issues: - Negative offsets were not correctly disassembled - The decoded opcodes were not the right one llvm-svn: 184180
-
Amaury de la Vieuville authored
llvm-svn: 184179
-
Timur Iskhodzhanov authored
llvm-svn: 184178
-
Bill Wendling authored
llvm-svn: 184177
-
Bill Wendling authored
llvm-svn: 184176
-
Bill Wendling authored
Someone may want to do something crazy, like replace these objects if they change or something. No functionality change intended. llvm-svn: 184175
-
Nick Lewycky authored
llvm-svn: 184174
-
Bill Wendling authored
llvm-svn: 184173
-
Bill Wendling authored
llvm-svn: 184172
-
rdar://problem/14136459Bob Wilson authored
Some embedded targets use ARM's AAPCS with iOS header files that define size_t as unsigned long, which conflicts with the usual AAPCS definition of size_t as unsigned int. llvm-svn: 184171
-
Chris Lattner authored
These APIs are still used, and the constant APIs are actually really important. Removing these makes -Wdocumentation more useful. llvm-svn: 184170
-
Dmitri Gribenko authored
llvm-svn: 184169
-
Dmitri Gribenko authored
llvm-svn: 184168
-