- Oct 23, 2012
-
-
Douglas Gregor authored
llvm-svn: 166497
-
- Oct 17, 2012
-
-
John McCall authored
has ivars that require destruction, but none that require anything except zero-initialization. This is common in ARC and (when true throughout a class hierarchy) permits the elimination of an unnecessary message-send during allocation. llvm-svn: 166088
-
Nico Weber authored
llvm-svn: 166080
-
- Oct 16, 2012
-
-
Joerg Sonnenberger authored
don't try the normal GetOrCreateLLVM. The latter could drop the weak atrtibute on the second reference, if there is no explicit declaration of the aliasee. llvm-svn: 166032
-
- Oct 15, 2012
-
-
Bill Wendling authored
llvm-svn: 165925
-
Bill Wendling authored
Convert the uses of the Attributes class over to the new format. The Attributes::get method call now takes an LLVM context so that the attributes object can be uniquified and stored. llvm-svn: 165918
-
- Oct 14, 2012
-
-
Bill Wendling authored
llvm-svn: 165900
-
- Oct 13, 2012
-
-
Nico Weber authored
llvm-svn: 165885
-
- Oct 11, 2012
-
-
Nico Weber authored
llvm-svn: 165710
-
- Oct 10, 2012
-
-
Jordan Rose authored
This more accurately reflects its use: this flag is set when a method matches the getter or setter name for a property in the same class, and does not actually specify whether or not the definition of the method will be synthesized (either implicitly or explicitly with @synthesize). This renames the setter and backing field as well, and changes the (soon-to-be-obsolete?) XML dump format to use 'property_accessor' instead of 'synthesized'. llvm-svn: 165626
-
Bill Wendling authored
Have 'addFnAttr' take the attribute enum value. Then have it build the attribute object and add it appropriately. No functionality change. llvm-svn: 165596
-
- Oct 09, 2012
-
-
Bill Wendling authored
opaque layer is responsible for knowing where that specific attribute is stored. llvm-svn: 165489
-
- Oct 08, 2012
-
-
Micah Villmow authored
llvm-svn: 165395
-
- Oct 06, 2012
-
-
Alex Rosenberg authored
llvm-svn: 165343
-
- Sep 29, 2012
-
-
Richard Smith authored
observe their addresses (taking their address gives the vtable slot) so we are free to merge their definitions. llvm-svn: 164864
-
- Sep 28, 2012
-
-
Dan Gohman authored
struct assignment. llvm-svn: 164853
-
- Sep 26, 2012
-
-
Bill Wendling authored
llvm-svn: 164726
-
- Sep 06, 2012
-
-
Roman Divacky authored
llvm-svn: 163325
-
- Aug 24, 2012
-
-
Benjamin Kramer authored
No functionality change. llvm-svn: 162552
-
- Aug 22, 2012
-
-
Benjamin Kramer authored
llvm-svn: 162361
-
- Aug 21, 2012
-
-
Kostya Serebryany authored
[asan] If we are compiling with ASan, add metadata indicating dynamically initialized globals. Patch by Reid Watson, reviewed by Richard Smith llvm-svn: 162259
-
- Aug 10, 2012
-
-
Joerg Sonnenberger authored
llvm-svn: 161659
-
- Jul 20, 2012
-
-
Eric Christopher authored
previous ResetObjCLayout calls since this is now handled in Sema. Part of rdar://11842763 llvm-svn: 160527
-
- Jul 12, 2012
-
-
John McCall authored
llvm-svn: 160102
-
- Jul 03, 2012
-
-
David Chisnall authored
runtime to gnustep from gnu. Fix EH for the GCC runtime. llvm-svn: 159684
-
- Jul 02, 2012
-
-
Eli Friedman authored
When we're looking for redeclarations which might provide a definition in CodeGen, make sure we examine all the redeclarations. PR13252. llvm-svn: 159586
-
- Jun 28, 2012
-
-
Hans Wennborg authored
This allows for setting the default TLS model. (PR9788) llvm-svn: 159336
-
- Jun 26, 2012
-
-
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
-
- 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
-
- Jun 20, 2012
-
-
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
-
- Jun 18, 2012
-
-
Michael J. Spencer authored
__forceinline is a combination of the inline keyword and __attribute__((always_inline)) llvm-svn: 158653
-
- Jun 10, 2012
-
-
Richard Smith authored
initialization, and use that information to produce the right kind of initialization during template instantiation. llvm-svn: 158288
-
- Jun 06, 2012
-
-
David Blaikie authored
In addition, I've made the pointer and reference typedef 'void' rather than T* just so they can't get misused. I would've omitted them entirely but std::distance likes them to be there even if it doesn't use them. This rolls back r155808 and r155869. Review by Doug Gregor incorporating feedback from Chandler Carruth. llvm-svn: 158104
-
- May 28, 2012
-
-
Chris Lattner authored
llvm-svn: 157557
-
- May 20, 2012
-
-
Peter Collingbourne authored
Because in CUDA types do not have associated address spaces, globals are declared in their "native" address space, and accessed by bitcasting the pointer to address space 0. This relies on address space 0 being a unified address space. llvm-svn: 157167
-
- May 12, 2012
-
-
Benjamin Kramer authored
Currently cold functions are marked with the "optsize" attribute in CodeGen so they are always optimized for size. The hot attribute is just ignored, LLVM doesn't have a way to express hotness at the moment. llvm-svn: 156723
-
- May 04, 2012
-
-
Alexey Samsonov authored
It reduces the amount of emitted debug information: 1) DIEs in .debug_info have types DW_TAG_compile_unit, DW_TAG_subprogram, DW_TAG_inlined_subroutine (for opt builds) and DW_TAG_lexical_block only. 2) .debug_str contains only function names. 3) No debug data for types/namespaces/variables is emitted. 4) The data in .debug_line is enough to produce valid stack traces with function names and line numbers. Reviewed by Eric Christopher. llvm-svn: 156160
-
- Apr 30, 2012
-
-
David Blaikie authored
filter_decl_iterator had a weird mismatch where both op* and op-> returned T* making it difficult to generalize this filtering behavior into a reusable library of any kind. This change errs on the side of value, making op-> return T* and op* return T&. (reviewed by Richard Smith) llvm-svn: 155808
-
- Apr 27, 2012
-
-
Alexey Samsonov authored
llvm-svn: 155697
-