Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refactor. | Mike Stump | 2009-10-21 | 1 | -10/+4 |
| | | | | llvm-svn: 84769 | ||||
* | Prep work to always preallocate BlockDeclRefExprs so that we can | Mike Stump | 2009-10-21 | 1 | -5/+1 |
| | | | | | | | generate the debug information for the first parameter to the block invoke functions. WIP. llvm-svn: 84737 | ||||
* | Simplify pointer creation with the new Type::getInt*Ptr methods. | Benjamin Kramer | 2009-10-13 | 1 | -2/+1 |
| | | | | llvm-svn: 83964 | ||||
* | Improve debug info generation for __block variables. | Mike Stump | 2009-09-22 | 1 | -9/+11 |
| | | | | llvm-svn: 82508 | ||||
* | Remove tabs, and whitespace cleanups. | Mike Stump | 2009-09-09 | 1 | -5/+5 |
| | | | | llvm-svn: 81346 | ||||
* | Update for LLVM API change. | Owen Anderson | 2009-08-13 | 1 | -1/+2 |
| | | | | llvm-svn: 78946 | ||||
* | LLVMContext is a class now. | Benjamin Kramer | 2009-08-11 | 1 | -1/+1 |
| | | | | llvm-svn: 78691 | ||||
* | Update for LLVM API change. | Owen Anderson | 2009-08-05 | 1 | -1/+1 |
| | | | | llvm-svn: 78259 | ||||
* | Remove ASTContext::isObjCObjectPointerType(). | Steve Naroff | 2009-07-16 | 1 | -1/+1 |
| | | | | | | Convert all clients to use the new predicate on Type. llvm-svn: 76076 | ||||
* | Update for LLVM API change, and contextify a bunch of related stuff. | Owen Anderson | 2009-07-14 | 1 | -1/+7 |
| | | | | llvm-svn: 75705 | ||||
* | As an optimization, we maintain a cache of generated | Mike Stump | 2009-06-05 | 1 | -3/+9 |
| | | | | | | | | | | ___Block_byref_id_object_dispose and ___Block_byref_id_object_copy functions so that we can simply reuse instead of creating a new one. Additionally, add an assert to ensure no one yet tries to align a __block variable beyond the alignment of a pointer as the codegen is incomplete. llvm-svn: 72974 | ||||
* | Skip the asm prefix when storing the name in block info. | Daniel Dunbar | 2009-05-14 | 1 | -2/+6 |
| | | | | | | | | | | | - Otherwise we emit internal names with embedded '\01' characters, which confuses some tools. - Ideally all the code which wants to get a "display name" for the given function should follow one code path, but this should be a monotonic improvement for now. llvm-svn: 71774 | ||||
* | Fixup copy/dispose helpers for Objective-C. Radar 6756504 | Mike Stump | 2009-04-10 | 1 | -0/+2 |
| | | | | llvm-svn: 68837 | ||||
* | Fixup codegen for nested blocks that use copy/dispose in the inner | Mike Stump | 2009-04-10 | 1 | -4/+4 |
| | | | | | | blocks, so that the outer blocks use it as well. Radar 6762279 llvm-svn: 68811 | ||||
* | Codegen support for copy helpers for block literals. | Mike Stump | 2009-03-07 | 1 | -9/+37 |
| | | | | llvm-svn: 66319 | ||||
* | Pass the type of the block literal around to make required temporal ordering ↵ | Mike Stump | 2009-03-06 | 1 | -4/+4 |
| | | | | | | of code clearer. llvm-svn: 66284 | ||||
* | Complete __Block_byref_id_object_copy cogegen for block literals. | Mike Stump | 2009-03-06 | 1 | -4/+6 |
| | | | | llvm-svn: 66257 | ||||
* | Finish off __Block_byref_id_object_dispose codegen for block literals. | Mike Stump | 2009-03-06 | 1 | -3/+3 |
| | | | | llvm-svn: 66247 | ||||
* | Remove extra arg. | Mike Stump | 2009-03-06 | 1 | -1/+1 |
| | | | | llvm-svn: 66243 | ||||
* | More codegen support for the copy/dispose helpers for block literals. | Mike Stump | 2009-03-06 | 1 | -2/+8 |
| | | | | llvm-svn: 66241 | ||||
* | Framework for codegen for copy/dispose helpers. | Mike Stump | 2009-03-06 | 1 | -4/+8 |
| | | | | llvm-svn: 66231 | ||||
* | prep work for copy/destroy helpers for block literals. | Mike Stump | 2009-03-05 | 1 | -0/+9 |
| | | | | llvm-svn: 66159 | ||||
* | Add codegen support for __block variables to call _Block_object_dispose as ↵ | Mike Stump | 2009-03-05 | 1 | -3/+15 |
| | | | | | | necessary. llvm-svn: 66117 | ||||
* | Move more blocks CodeGenFunction code up and out. | Mike Stump | 2009-03-04 | 1 | -0/+23 |
| | | | | llvm-svn: 66049 | ||||
* | Move some of the CodeGenFunction blocks code up and out. No | Mike Stump | 2009-03-04 | 1 | -0/+8 |
| | | | | | | functionality change. llvm-svn: 66048 | ||||
* | Move more of the blocks code up and out. | Mike Stump | 2009-03-04 | 1 | -3/+11 |
| | | | | llvm-svn: 66046 | ||||
* | Move more of blocks codegen out of CodeGenModule and into the | Mike Stump | 2009-03-04 | 1 | -0/+63 |
| | | | | | | | | | 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 | ||||
* | Start the migration of more of the blocks code out of sight for most | Mike Stump | 2009-03-04 | 1 | -0/+54 |
people. De-duplicates BLOCK_NEEDS_FREE and friends. llvm-svn: 66035 |