- Jun 29, 2012
-
-
Chandler Carruth authored
llvm-svn: 159422
-
Bill Wendling authored
llvm-svn: 159415
-
Timur Iskhodzhanov authored
llvm-svn: 159405
-
- Jun 28, 2012
-
-
Benjamin Kramer authored
The tablegen'd code does the same thing without this egregious duplication. In my limited testing everything seems to work, however there can be differences if the clang and llvm builtin definitions don't match. llvm-svn: 159371
-
Benjamin Kramer authored
The generated code uncovered an invalid prototype for __builtin_mips_shilo, fix it along the way. llvm-svn: 159368
-
Simon Atanasyan authored
This patch was reviewed in the llvm-commits list by Jim Grosbach. llvm-svn: 159366
-
Rafael Espindola authored
llvm-svn: 159360
-
Rafael Espindola authored
for tracking this. llvm-svn: 159351
-
Rafael Espindola authored
handy. It can be done, but we would have to build a derived-to-base cast during codegen to compute the correct this pointer. I will handle covariant returns next. llvm-svn: 159350
-
Hans Wennborg authored
This allows for setting the default TLS model. (PR9788) llvm-svn: 159336
-
Rafael Espindola authored
the correct this pointer. There is some potential for sharing a bit more code with canDevirtualizeMemberFunctionCalls, but that can be done in an independent patch. llvm-svn: 159326
-
Eric Christopher authored
llvm-svn: 159321
-
Bill Wendling authored
llvm-svn: 159315
-
- Jun 27, 2012
-
-
Eli Friedman authored
llvm-svn: 159295
-
Rafael Espindola authored
being updated. Will fix that in a second. llvm-svn: 159280
-
- Jun 26, 2012
-
-
Rafael Espindola authored
the member expression is qualified, call the method specified in the code, not the most derived one we can find. llvm-svn: 159219
-
Rafael Espindola authored
to see if we had an underlying final class or method, but we would then use the cast type to do the call, resulting in a direct call to the wrong method. llvm-svn: 159212
-
Fariborz Jahanian authored
literal helper functions. All helper functions (global and locals) use block_invoke as their prefix. Local literal helper names are prefixed by their enclosing mangled function names. Blocks in non-local initializers (e.g. a global variable or a C++11 field) are prefixed by their mangled variable name. The descriminator number added to end of the name starts off with blank (for first block) and _<N> (for the N+2-th block). llvm-svn: 159206
-
Kostya Serebryany authored
llvm-svn: 159191
-
Manman Ren authored
Revert r136662 which disables ARM byval. llvm-svn: 159168
-
- Jun 24, 2012
-
-
Charles Davis authored
llvm-svn: 159091
-
- Jun 23, 2012
-
-
Hans Wennborg authored
This adds support for the tls_model attribute. This allows the user to choose a TLS model that is better than what LLVM would select by default. For example, a variable might be declared as: __thread int x __attribute__((tls_model("initial-exec"))); if it will not be used in a shared library that is dlopen'ed. This depends on LLVM r159077. llvm-svn: 159078
-
Nico Weber authored
Heavily based on a patch from Aaron Wishnick <aaron.s.wishnick@gmail.com>. I'll clean up the duplicated function in CodeGen as a follow-up, later today or tomorrow. llvm-svn: 159060
-
- Jun 22, 2012
-
-
Nuno Lopes authored
revert CodeGen support for the alloc_size attribute until we finish the design of a more generic metadata node llvm-svn: 159016
-
James Dennett authored
llvm-svn: 158982
-
James Dennett authored
llvm-svn: 158974
-
- Jun 21, 2012
-
-
Chandler Carruth authored
express library-level dependencies within Clang. This is no more verbose really, and plays nicer with the rest of the CMake facilities. It should also have no change in functionality. llvm-svn: 158888
-
- Jun 20, 2012
-
-
Chad Rosier authored
error was asserting on anything that included Windows.h. MS-style inline asm is still dropped, but at least now we're not completely silent about it. llvm-svn: 158833
-
Benjamin Kramer authored
CreateEnumType doesn't participate in caching so the descriptor for the enum gets recomputed for every reference of an element of an enum, only to get discarded when it gets turned into an MDNode. No functionality change except performance. llvm-svn: 158832
-
Chad Rosier authored
llvm-svn: 158830
-
John McCall authored
target Objective-C runtime down to the frontend: break this down into a single target runtime kind and version, and compute all the relevant information from that. This makes it relatively painless to add support for new runtimes to the compiler. Make the new -cc1 flag, -fobjc-runtime=blah-x.y.z, available at the driver level as a better and more general alternative to -fgnu-runtime and -fnext-runtime. This new concept of an Objective-C runtime also encompasses what we were previously separating out as the "Objective-C ABI", so fragile vs. non-fragile runtimes are now really modelled as different kinds of runtime, paving the way for better overall differentiation. As a sort of special case, continue to accept the -cc1 flag -fobjc-runtime-has-weak, as a sop to PLCompatibilityWeak. I won't go so far as to say "no functionality change", even ignoring the new driver flag, but subtle changes in driver semantics are almost certainly not intended. llvm-svn: 158793
-
James Dennett authored
llvm-svn: 158778
-
- Jun 19, 2012
-
-
Fariborz Jahanian authored
initializer need be null initialized before initializer takes hold, just like any other initialized retainable object pointer. // rdar://11016025 llvm-svn: 158738
-
Rafael Espindola authored
option. On the driver, check if we are using libraries from gcc 4.7 or newer and if so pass -fuse-init-array to the frontend. The crtbegin*.o files in gcc 4.7 no longer call the constructors listed in .ctors, so we have to use .init_array. llvm-svn: 158694
-
- Jun 18, 2012
-
-
Michael J. Spencer authored
__forceinline is a combination of the inline keyword and __attribute__((always_inline)) llvm-svn: 158653
-
- Jun 16, 2012
-
-
Eli Friedman authored
Fix Sema and IRGen for atomic compound assignment so it has the right semantics when promotions are involved. (As far as I can tell, this only affects some edge cases.) llvm-svn: 158591
-
Eli Friedman authored
Make the ".*" operator work correctly when the base is a prvalue and the field has a non-trivial copy constructor. PR13097. llvm-svn: 158578
-
James Dennett authored
* Escaped Objective-C @keywords in Doxygen comments; * Documented more accurate \params; * Exposed some more summaries using \brief. llvm-svn: 158559
-
- Jun 15, 2012
-
-
James Dennett authored
llvm-svn: 158511
-
James Dennett authored
llvm-svn: 158501
-