#
47c08962 |
| 24-Oct-2012 |
Douglas Gregor <dgregor@apple.com> |
Remove the HiddenWeakTemplateVTables CodeGen option. It's currently unused.
llvm-svn: 166561
|
#
b0eea8b5 |
| 23-Oct-2012 |
Douglas Gregor <dgregor@apple.com> |
Switch CodeGenOptions over to a .def file, like we do with LangOptions.
llvm-svn: 166497
|
#
0d54a17b |
| 17-Oct-2012 |
John McCall <rjmccall@apple.com> |
Set a special flag in class metadata when an Objective-C class has ivars that require destruction, but none that require anything except zero-initialization. This is common in ARC and (when true thr
Set a special flag in class metadata when an Objective-C class 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
show more ...
|
#
9272407c |
| 17-Oct-2012 |
Nico Weber <nicolasweber@gmx.de> |
"'Might as well make it static const.' -- John McCall" -- Michael Scott
llvm-svn: 166080
|
#
de78bba0 |
| 16-Oct-2012 |
Joerg Sonnenberger <joerg@bec.de> |
When using a symbol with attribute weakref, search for it first and don't try the normal GetOrCreateLLVM. The latter could drop the weak atrtibute on the second reference, if there is no explicit dec
When using a symbol with attribute weakref, search for it first and 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
show more ...
|
#
4f0c080b |
| 15-Oct-2012 |
Bill Wendling <isanbard@gmail.com> |
Use enum values instead of magic numbers for indexing into the attribute list.
llvm-svn: 165925
|
#
311c832f |
| 15-Oct-2012 |
Bill Wendling <isanbard@gmail.com> |
Attributes Rewrite
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 stor
Attributes Rewrite
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
show more ...
|
#
0120167c |
| 14-Oct-2012 |
Bill Wendling <isanbard@gmail.com> |
Remove operator cast method in favor of querying with the correct method.
llvm-svn: 165900
|
#
cc51c2f2 |
| 13-Oct-2012 |
Nico Weber <nicolasweber@gmx.de> |
Simplify. Suggestion by Sean Silva.
llvm-svn: 165885
|
#
cf4ff586 |
| 11-Oct-2012 |
Nico Weber <nicolasweber@gmx.de> |
Add codegen support for __uuidof().
llvm-svn: 165710
|
#
d01e83ab |
| 10-Oct-2012 |
Jordan Rose <jordan_rose@apple.com> |
Rename ObjCMethodDecl::isSynthesized to isPropertyAccessor.
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,
Rename ObjCMethodDecl::isSynthesized to isPropertyAccessor.
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
show more ...
|
#
73e465e1 |
| 10-Oct-2012 |
Bill Wendling <isanbard@gmail.com> |
Have 'addFnAttr' take the attribute enum value. Then have it build the attribute object and add it appropriately. No functionality change.
llvm-svn: 165596
|
#
0597c1e5 |
| 09-Oct-2012 |
Bill Wendling <isanbard@gmail.com> |
We use the enums to query whether an Attributes object has that attribute. The opaque layer is responsible for knowing where that specific attribute is stored.
llvm-svn: 165489
|
#
dd31ca10 |
| 08-Oct-2012 |
Micah Villmow <villmow@gmail.com> |
Move TargetData to DataLayout.
llvm-svn: 165395
|
#
ba036126 |
| 05-Oct-2012 |
Alex Rosenberg <alexr@leftfield.org> |
Propagate calling convention for aliases and weakrefs.
llvm-svn: 165343
|
#
b555a767 |
| 28-Sep-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
PR13941: Mark all virtual functions as unnamed_addr. It's not possible to observe their addresses (taking their address gives the vtable slot) so we are free to merge their definitions.
llvm-svn: 16
PR13941: Mark all virtual functions as unnamed_addr. It's not possible to observe their addresses (taking their address gives the vtable slot) so we are free to merge their definitions.
llvm-svn: 164864
show more ...
|
#
22695fce |
| 28-Sep-2012 |
Dan Gohman <gohman@apple.com> |
Add basic support for adding !tbaa.struct metadata on llvm.memcpy calls for struct assignment.
llvm-svn: 164853
|
#
6fe7b78d |
| 26-Sep-2012 |
Bill Wendling <isanbard@gmail.com> |
Update to new function attribute querying syntax.
llvm-svn: 164726
|
#
e637711a |
| 06-Sep-2012 |
Roman Divacky <rdivacky@freebsd.org> |
Dont cast away const needlessly. Found by gcc48 -Wcast-qual.
llvm-svn: 163325
|
#
c215e76f |
| 24-Aug-2012 |
Benjamin Kramer <benny.kra@googlemail.com> |
Push ArrayRef through the Expr hierarchy.
No functionality change.
llvm-svn: 162552
|
#
fc6eb7d3 |
| 22-Aug-2012 |
Benjamin Kramer <benny.kra@googlemail.com> |
Reduce duplicated hash map lookups.
llvm-svn: 162361
|
#
28a26c8d |
| 21-Aug-2012 |
Kostya Serebryany <kcc@google.com> |
[asan] If we are compiling with ASan, add metadata indicating dynamically initialized globals. Patch by Reid Watson, reviewed by Richard Smith
llvm-svn: 162259
|
#
8c02a241 |
| 10-Aug-2012 |
Joerg Sonnenberger <joerg@bec.de> |
Decrementing std::string::end is not portable, use array access instead.
llvm-svn: 161659
|
#
f8378ca2 |
| 19-Jul-2012 |
Eric Christopher <echristo@apple.com> |
Remove HasSynthBitfield and all callers/writers/etc. Also remove previous ResetObjCLayout calls since this is now handled in Sema.
Part of rdar://11842763
llvm-svn: 160527
|
#
775086e6 |
| 12-Jul-2012 |
John McCall <rjmccall@apple.com> |
Add the ObjFW runtime. Patch by Jonathan Schleifer!
llvm-svn: 160102
|