#
9793f0e4 |
| 29-Jul-2009 |
Owen Anderson <resistor@mac.com> |
Update for LLVM API change.
llvm-svn: 77514
|
#
c23c7e6a |
| 29-Jul-2009 |
Ted Kremenek <kremenek@apple.com> |
Change uses of: Type::getAsReferenceType() -> Type::getAs<ReferenceType>() Type::getAsRecordType() -> Type::getAs<RecordType>() Type::getAsPointerType() -> Type::getAs<PointerType>() Type::ge
Change uses of: Type::getAsReferenceType() -> Type::getAs<ReferenceType>() Type::getAsRecordType() -> Type::getAs<RecordType>() Type::getAsPointerType() -> Type::getAs<PointerType>() Type::getAsBlockPointerType() -> Type::getAs<BlockPointerType>() Type::getAsLValueReferenceType() -> Type::getAs<LValueReferenceType>() Type::getAsRValueReferenceType() -> Type::getAs<RValueReferenceType>() Type::getAsMemberPointerType() -> Type::getAs<MemberPointerType>() Type::getAsReferenceType() -> Type::getAs<ReferenceType>() Type::getAsTagType() -> Type::getAs<TagType>() And remove Type::getAsReferenceType(), etc.
This change is similar to one I made a couple weeks ago, but that was partly reverted pending some additional design discussion. With Doug's pending smart pointer changes for Types, it seemed natural to take this approach.
llvm-svn: 77510
show more ...
|
#
ade90fd1 |
| 29-Jul-2009 |
Owen Anderson <resistor@mac.com> |
Update for LLVM API change.
llvm-svn: 77492
|
#
47034e17 |
| 28-Jul-2009 |
Owen Anderson <resistor@mac.com> |
Update for LLVM API change.
llvm-svn: 77349
|
#
0e0189d6 |
| 27-Jul-2009 |
Owen Anderson <resistor@mac.com> |
Update for LLVM API change.
llvm-svn: 77267
|
#
b7a2fe6f |
| 24-Jul-2009 |
Owen Anderson <resistor@mac.com> |
Update for LLVM API change.
llvm-svn: 77012
|
#
91ade141 |
| 23-Jul-2009 |
Daniel Dunbar <daniel@zuster.org> |
Output UTF-16 string literals independent of host byte order. - Steve, can you take a look at this? It seems like this code should live elsewhere, and there is a FIXME about having Sema validates
Output UTF-16 string literals independent of host byte order. - Steve, can you take a look at this? It seems like this code should live elsewhere, and there is a FIXME about having Sema validates the UTF-8 to UTF-16 conversion.
llvm-svn: 76915
show more ...
|
#
64509b27 |
| 23-Jul-2009 |
Daniel Dunbar <daniel@zuster.org> |
Factor out map lookup for CFString constants.
llvm-svn: 76908
|
#
2a5b83c7 |
| 23-Jul-2009 |
Daniel Dunbar <daniel@zuster.org> |
Simplify, NFC.
llvm-svn: 76897
|
#
635d481d |
| 23-Jul-2009 |
Daniel Dunbar <daniel@zuster.org> |
Simplify.
llvm-svn: 76885
|
#
f56501ce |
| 17-Jul-2009 |
Chris Lattner <sabre@nondot.org> |
fix objc codegen to not have its own list of things that eventually get into llvm.used, just populate CGM's list directly.
llvm-svn: 76266
|
#
8a286fbd |
| 17-Jul-2009 |
Ted Kremenek <kremenek@apple.com> |
Per offline discussion with Steve Naroff, add back Type::getAsXXXType() methods until Doug Gregor's Type smart pointer code lands (or more discussion occurs). These methods just call the new Type::ge
Per offline discussion with Steve Naroff, add back Type::getAsXXXType() methods until Doug Gregor's Type smart pointer code lands (or more discussion occurs). These methods just call the new Type::getAs<XXX> methods, so we still have reduced implementation redundancy. Having explicit getAsXXXType() methods makes it easier to set breakpoints in the debugger.
llvm-svn: 76193
show more ...
|
#
b825c0dd |
| 17-Jul-2009 |
Ted Kremenek <kremenek@apple.com> |
Replaced Type::getAsLValueReferenceType(), Type::getAsRValueReferenceType(), Type::getAsMemberPointerType(), Type::getAsTagType(), and Type::getAsRecordType() with their Type::getAs<XXX> equivalents.
Replaced Type::getAsLValueReferenceType(), Type::getAsRValueReferenceType(), Type::getAsMemberPointerType(), Type::getAsTagType(), and Type::getAsRecordType() with their Type::getAs<XXX> equivalents.
llvm-svn: 76139
show more ...
|
#
aa64ca28 |
| 16-Jul-2009 |
Chris Lattner <sabre@nondot.org> |
use CreateRuntimeVariable to get __CFConstantStringClassReference instead of doing it manually (which might end up getting auto-renamed), fixing a FIXME. rdar://7065446
llvm-svn: 76079
|
#
3afa3e1d |
| 16-Jul-2009 |
Chris Lattner <sabre@nondot.org> |
codegen string literals using private linkage now like llvm-gcc, eliminating some target hooks.
llvm-svn: 75895
|
#
170229f6 |
| 14-Jul-2009 |
Owen Anderson <resistor@mac.com> |
Update for LLVM API change, and contextify a bunch of related stuff.
llvm-svn: 75705
|
#
9be7b204 |
| 14-Jul-2009 |
Devang Patel <dpatel@apple.com> |
Revert 75648 for now. It is causing test failures.
llvm-svn: 75684
|
#
d6c25669 |
| 14-Jul-2009 |
Devang Patel <dpatel@apple.com> |
Use LLVM mangler to get mangled name for debug info entry.
llvm-svn: 75589
|
#
ae86c19e |
| 13-Jul-2009 |
Owen Anderson <resistor@mac.com> |
Update for LLVM API change.
llvm-svn: 75446
|
#
c10c8d3e |
| 08-Jul-2009 |
Owen Anderson <resistor@mac.com> |
Update for LLVM API change.
llvm-svn: 75028
|
#
9f211fb4 |
| 08-Jul-2009 |
Owen Anderson <resistor@mac.com> |
Update for LLVM API change.
llvm-svn: 74986
|
#
cfbfe78e |
| 30-Jun-2009 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
De-ASTContext-ify DeclContext.
Remove ASTContext parameter from DeclContext's methods. This change cascaded down to other Decl's methods and changes to call sites started "escalating". Timings using
De-ASTContext-ify DeclContext.
Remove ASTContext parameter from DeclContext's methods. This change cascaded down to other Decl's methods and changes to call sites started "escalating". Timings using pre-tokenized "cocoa.h" showed only a ~1% increase in time run between and after this commit.
llvm-svn: 74506
show more ...
|
#
ddcd132a |
| 30-Jun-2009 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
Remove the ASTContext parameter from the getBody() methods of Decl and subclasses.
Timings showed no significant difference before and after the commit.
llvm-svn: 74504
|
#
b4b64ca7 |
| 30-Jun-2009 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
Remove the ASTContext parameter from the attribute-related methods of Decl. The implementations of these methods can Use Decl::getASTContext() to get the ASTContext.
This commit touches a lot of fil
Remove the ASTContext parameter from the attribute-related methods of Decl. The implementations of these methods can Use Decl::getASTContext() to get the ASTContext.
This commit touches a lot of files since call sites for these methods are everywhere. I used pre-tokenized "carbon.h" and "cocoa.h" headers to do some timings, and there was no real time difference between before the commit and after it.
llvm-svn: 74501
show more ...
|
#
e8925dbc |
| 29-Jun-2009 |
Douglas Gregor <dgregor@apple.com> |
Improve code generation for function template specializations: - Track implicit instantiations vs. the not-yet-supported explicit specializations - Give implicit instantiations of function temp
Improve code generation for function template specializations: - Track implicit instantiations vs. the not-yet-supported explicit specializations - Give implicit instantiations of function templates (and member functions of class templates) linkonce_odr linkage. - Improve name mangling for function template specializations, including the template arguments of the instantiation and the return type of the function.
Note that our name-mangling is improved, but not correct: we still don't mangle substitutions, although the manglings we produce can be demangled.
llvm-svn: 74466
show more ...
|