| #
fe883422 |
| 06-Oct-2011 |
Peter Collingbourne <[email protected]> |
CUDA: IR generation support for kernel call expressions
llvm-svn: 141300
|
| #
b8c3aaf4 |
| 03-Oct-2011 |
Argyrios Kyrtzidis <[email protected]> |
Allow getting all source locations of selector identifiers in a ObjCMethodDecl.
Instead of always storing all source locations for the selector identifiers we check whether all the identifiers are i
Allow getting all source locations of selector identifiers in a ObjCMethodDecl.
Instead of always storing all source locations for the selector identifiers we check whether all the identifiers are in a "standard" position; "standard" position is
-Immediately before the arguments: -(id)first:(int)x second:(int)y; -With a space between the arguments: -(id)first: (int)x second: (int)y; -For nullary selectors, immediately before ';': -(void)release;
In such cases we infer the locations instead of storing them.
llvm-svn: 140989
show more ...
|
| #
dfd65706 |
| 03-Oct-2011 |
Argyrios Kyrtzidis <[email protected]> |
Pass from the parser the locations of selector identifiers when creating objc method decls.
They are not stored in the AST yet.
llvm-svn: 140984
|
| #
9b0a7cea |
| 02-Oct-2011 |
John McCall <[email protected]> |
Make -fobjc-nonfragile-abi the -cc1 default, since it's the increasingly prevailing case to the point that new features like ARC don't even support the fragile ABI anymore.
This required a little bi
Make -fobjc-nonfragile-abi the -cc1 default, since it's the increasingly prevailing case to the point that new features like ARC don't even support the fragile ABI anymore.
This required a little bit of reshuffling with exceptions because a check was assuming that ObjCNonFragileABI was only being set in ObjC mode, and that's actually a bit obnoxious to do.
Most, though, it involved a perl script to translate a ton of test cases.
Mostly no functionality change for driver users, although there are corner cases with disabling language-specific exceptions that we should handle more correctly now.
llvm-svn: 140957
show more ...
|
| #
9c902b55 |
| 25-Sep-2011 |
David Blaikie <[email protected]> |
Rename Diagnostic to DiagnosticsEngine as per issue 5397
llvm-svn: 140478
|
| #
83d382b1 |
| 23-Sep-2011 |
David Blaikie <[email protected]> |
Switch assert(0/false) llvm_unreachable.
llvm-svn: 140367
|
| #
2dbb708b |
| 19-Sep-2011 |
Peter Collingbourne <[email protected]> |
OpenCL: introduce support for function scope __local variables
llvm-svn: 140068
|
| #
28a5b326 |
| 19-Sep-2011 |
John McCall <[email protected]> |
In apple-kext mode, use external linkage for explicit template instantiations instead of internal linkage.
llvm-svn: 140030
|
| #
30e4efd4 |
| 13-Sep-2011 |
John McCall <[email protected]> |
Correctly generate IR for casted "builtin" functions, where the builtin is really just a predefined declaration. These are totally valid to cast.
llvm-svn: 139657
|
| #
79a91418 |
| 13-Sep-2011 |
Douglas Gregor <[email protected]> |
Switch LangOptions over to a .def file that describes header of the language options. Use that .def file to declare the LangOptions class and initialize all of its members, eliminating a source of an
Switch LangOptions over to a .def file that describes header of the language options. Use that .def file to declare the LangOptions class and initialize all of its members, eliminating a source of annoying initialization bugs.
AST serialization changes are next up.
llvm-svn: 139605
show more ...
|
| #
5a6b6987 |
| 09-Sep-2011 |
Julien Lerouge <[email protected]> |
Bring llvm.annotation* intrinsics support back to where it was in llvm-gcc: can annotate global, local variables, struct fields, or arbitrary statements (using the __builtin_annotation), rdar://80374
Bring llvm.annotation* intrinsics support back to where it was in llvm-gcc: can annotate global, local variables, struct fields, or arbitrary statements (using the __builtin_annotation), rdar://8037476.
llvm-svn: 139423
show more ...
|
| #
7959fee2 |
| 09-Sep-2011 |
John McCall <[email protected]> |
Treat the weak export of block runtime symbols as a deployment-target feature akin to the ARC runtime checks. Removes a terrible hack where IR gen needed to find the declarations of those symbols in
Treat the weak export of block runtime symbols as a deployment-target feature akin to the ARC runtime checks. Removes a terrible hack where IR gen needed to find the declarations of those symbols in the translation unit.
llvm-svn: 139404
show more ...
|
| #
2169a75a |
| 09-Sep-2011 |
Argyrios Kyrtzidis <[email protected]> |
Do a lookup for the blocks runtime globals to see if they were declared, instead of codegen waiting to consume such a declaration, which won't happen if that decls are coming from a PCH.
Fixes rdar:
Do a lookup for the blocks runtime globals to see if they were declared, instead of codegen waiting to consume such a declaration, which won't happen if that decls are coming from a PCH.
Fixes rdar://10028656.
llvm-svn: 139359
show more ...
|
| #
e8bbc121 |
| 02-Sep-2011 |
Douglas Gregor <[email protected]> |
Extend the ASTContext constructor to delay the initialization of builtin types (When requested). This is another step toward making ASTUnit build the ASTContext as needed when loading an AST file, ra
Extend the ASTContext constructor to delay the initialization of builtin types (When requested). This is another step toward making ASTUnit build the ASTContext as needed when loading an AST file, rather than doing so after the fact. No actual functionality change (yet).
llvm-svn: 138985
show more ...
|
| #
c55efe4f |
| 22-Aug-2011 |
Eli Friedman <[email protected]> |
Make sure we don't inline functions marked with __attribute__((naked)). <rdar://problem/9973228>
llvm-svn: 138310
|
| #
004df6e0 |
| 17-Aug-2011 |
Argyrios Kyrtzidis <[email protected]> |
Mark objc methods that are implicitly declared for properties (not user-declared) as implicit. This results in libclang ignoring such methods.
llvm-svn: 137852
|
| #
ffa30ab2 |
| 16-Aug-2011 |
Devang Patel <[email protected]> |
Finalize debug info after all deferred globals are emitted.
llvm-svn: 137750
|
| #
e24d3247 |
| 15-Aug-2011 |
Devang Patel <[email protected]> |
Use new DIBuilder::finalize() at the end to wrap up debug info encoding for a translation unit.
llvm-svn: 137674
|
| #
636e2006 |
| 09-Aug-2011 |
Douglas Gregor <[email protected]> |
Move the creation of the record type for the state of Objective-C fast enumerations from the ASTContext into CodeGen, so that we don't need to serialize it to AST files. This appears to be the last o
Move the creation of the record type for the state of Objective-C fast enumerations from the ASTContext into CodeGen, so that we don't need to serialize it to AST files. This appears to be the last of the low-hanging fruit for SpecialTypes.
llvm-svn: 137124
show more ...
|
| #
abf4e0df |
| 09-Aug-2011 |
Douglas Gregor <[email protected]> |
Move the construction of the RecordDecl representing the runtime layout of a constant NSString from the ASTContext over to CodeGen, since this is solely CodeGen's responsibility. Eliminates one of th
Move the construction of the RecordDecl representing the runtime layout of a constant NSString from the ASTContext over to CodeGen, since this is solely CodeGen's responsibility. Eliminates one of the unnecessary "special" types that we serialize.
llvm-svn: 137121
show more ...
|
| #
9b24df47 |
| 04-Aug-2011 |
John McCall <[email protected]> |
Emit wide string literals with the appropriate alignment. Patch by Craig Topper and Sundeep!
llvm-svn: 136856
|
| #
625ed88f |
| 03-Aug-2011 |
John McCall <[email protected]> |
When rewriting a call to a K&R function to lead to a well-prototyped function, be sure to drop parameter attributes when dropping their associated arguments. Patch by Aaron Landwehr!
llvm-svn: 1367
When rewriting a call to a K&R function to lead to a well-prototyped function, be sure to drop parameter attributes when dropping their associated arguments. Patch by Aaron Landwehr!
llvm-svn: 136753
show more ...
|
| #
e1d20991 |
| 27-Jul-2011 |
Peter Collingbourne <[email protected]> |
CodeGen: rename CodeGenModule::Runtime to ObjCRuntime
llvm-svn: 136254
|
| #
fb65e592 |
| 27-Jul-2011 |
Douglas Gregor <[email protected]> |
Add support for C++0x unicode string and character literals, from Craig Topper!
llvm-svn: 136210
|
| #
d48db211 |
| 25-Jul-2011 |
Chandler Carruth <[email protected]> |
Rename getInstantiationLineNumber to getExpansionLineNumber in both SourceManager and FullSourceLoc.
llvm-svn: 135969
|