#
0c5e3132 |
| 21-Mar-2009 |
Chris Lattner <sabre@nondot.org> |
simplify and comment some code better. Make BindRuntimeGlobals more optimistic that it will work (optimizing for the common case).
llvm-svn: 67438
|
#
3637652a |
| 21-Mar-2009 |
Chris Lattner <sabre@nondot.org> |
random code cleanups.
llvm-svn: 67437
|
#
6098e62d |
| 21-Mar-2009 |
Chris Lattner <sabre@nondot.org> |
remove obviously dead code: you can't bitcast a pointer to "Ty" (a function type).
llvm-svn: 67436
|
#
9e8120e0 |
| 21-Mar-2009 |
Chris Lattner <sabre@nondot.org> |
avoid making constant folding logic eliminate obviously dead bitcasts, speeding up PR3810 by ~2%.
llvm-svn: 67434
|
#
725a26b8 |
| 21-Mar-2009 |
Chris Lattner <sabre@nondot.org> |
Add a fast path to CodeGenModule::getMangledName for almost all C functions, speeding up the testcase in PR3810 by 60%.
llvm-svn: 67431
|
#
4e004ed1 |
| 19-Mar-2009 |
Daniel Dunbar <daniel@zuster.org> |
IRgen support for alias of global variable. - PR3818.
llvm-svn: 67297
|
#
3654e65a |
| 18-Mar-2009 |
Fariborz Jahanian <fjahanian@apple.com> |
objc: Implemented variables declared in class interface whose sema decl is at the translation unit.
llvm-svn: 67249
|
#
19184131 |
| 11-Mar-2009 |
Duncan Sands <baldrick@free.fr> |
Adjust for linkage name change.
llvm-svn: 66691
|
#
bdf086f7 |
| 11-Mar-2009 |
Duncan Sands <baldrick@free.fr> |
Correct for change of this name in LLVM.
llvm-svn: 66652
|
#
99d28350 |
| 09-Mar-2009 |
Daniel Dunbar <daniel@zuster.org> |
Backout r66408, we don't want handling of globals to rely on the module symbol table. The root problem inspiring this was fixed in r66316 (and again in r66506).
llvm-svn: 66512
|
#
e3193ff4 |
| 09-Mar-2009 |
Mike Stump <mrs@apple.com> |
Be sure to never create two functions with the same name, instead arrange to reuse the prior one.
llvm-svn: 66408
|
#
4663a336 |
| 07-Mar-2009 |
Eli Friedman <eli.friedman@gmail.com> |
Make constant emission for @encode use the common string emission code. This is a bit cleaner, and also "fixes" bad code that compares the addresses of the string constants.
llvm-svn: 66346
|
#
a6ca3343 |
| 07-Mar-2009 |
Mike Stump <mrs@apple.com> |
Fixup our uses of various linkages to match how llvm now works. I think they are all correct, but an extra set of ObjC eyes would be good.
llvm-svn: 66342
|
#
7aecee99 |
| 06-Mar-2009 |
Daniel Dunbar <daniel@zuster.org> |
(LLVM svn up) Generalize RuntimeFunctions to RuntimeGlobals and add CodeGenModule::CreateRuntimeVariable.
- No real functionality change; although we now assert on silly things like: -- int objc
(LLVM svn up) Generalize RuntimeFunctions to RuntimeGlobals and add CodeGenModule::CreateRuntimeVariable.
- No real functionality change; although we now assert on silly things like: -- int objc_exception_throw; void f0() { @throw(@"A"); } -- instead of accepting it.
llvm-svn: 66292
show more ...
|
#
8e79b849 |
| 06-Mar-2009 |
Daniel Dunbar <daniel@zuster.org> |
IRgen support for weak_import. - <rdar://problem/6652110> clang should support weak_import
llvm-svn: 66270
|
#
f804897e |
| 05-Mar-2009 |
Daniel Dunbar <daniel@zuster.org> |
Don't mangle names of local variables. - For one thing, this adds unneeded overhead; for another, this routine can be used to emit unnamed decls which we shouldn't try to mangle.
llvm-svn: 66
Don't mangle names of local variables. - For one thing, this adds unneeded overhead; for another, this routine can be used to emit unnamed decls which we shouldn't try to mangle.
llvm-svn: 66212
show more ...
|
#
cecc21d2 |
| 05-Mar-2009 |
Eli Friedman <eli.friedman@gmail.com> |
Make IRGen compatible with declaring a function with incomplete return/argument types. (The generated IR isn't ideal, but we can't really do better in general.)
llvm-svn: 66132
|
#
6c39666a |
| 04-Mar-2009 |
Mike Stump <mrs@apple.com> |
Move more of the blocks code up and out.
llvm-svn: 66046
|
#
95435674 |
| 04-Mar-2009 |
Mike Stump <mrs@apple.com> |
Move more of blocks codegen out of CodeGenModule and into the BlockModule. No functionality change. This should help people that don't want to know anything about blocks not be confused by the over
Move more of blocks codegen out of CodeGenModule and into the BlockModule. No functionality change. This should help people that don't want to know anything about blocks not be confused by the overloaded use of the term block or nor want to see all the blocks goop.
llvm-svn: 66042
show more ...
|
#
5b9e9682 |
| 04-Mar-2009 |
Daniel Dunbar <daniel@zuster.org> |
Support "asm" renaming of external symbols. - PR3698.
llvm-svn: 66038
|
Revision tags: llvmorg-2.5.0 |
|
#
0f3403cb |
| 02-Mar-2009 |
Daniel Dunbar <daniel@zuster.org> |
Don't set nounwind on functions when in using the new Obj-C ABI.
llvm-svn: 65806
|
#
a01c21f6 |
| 01-Mar-2009 |
Chris Lattner <sabre@nondot.org> |
simplify some code.
llvm-svn: 65782
|
#
65512999 |
| 01-Mar-2009 |
Anders Carlsson <andersca@mac.com> |
Initialize NSConcreteStackBlock
llvm-svn: 65749
|
#
537abb0d |
| 27-Feb-2009 |
Mike Stump <mrs@apple.com> |
Fix PR3612. We ensure that we add builtins to the GlobalDeclMap and we ensure that things added to the module can be found even when they are not in GlobalDeclMap. The later is for increased flexib
Fix PR3612. We ensure that we add builtins to the GlobalDeclMap and we ensure that things added to the module can be found even when they are not in GlobalDeclMap. The later is for increased flexibility, should someone want to do something tricky like extern "Ada" in the same module.
llvm-svn: 65657
show more ...
|
#
97e070ed |
| 27-Feb-2009 |
Eli Friedman <eli.friedman@gmail.com> |
Minor cleanup: use getDeclAlignInBytes helper.
llvm-svn: 65611
|