| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Move more blocks CodeGenFunction code up and out. | Mike Stump | 2009-03-04 | 2 | -23/+23 | 
| | | | | | llvm-svn: 66049 | ||||
| * | Move some of the CodeGenFunction blocks code up and out. No | Mike Stump | 2009-03-04 | 4 | -7/+12 | 
| | | | | | | | functionality change. llvm-svn: 66048 | ||||
| * | Move more of the blocks code up and out. | Mike Stump | 2009-03-04 | 4 | -10/+16 | 
| | | | | | llvm-svn: 66046 | ||||
| * | Refactor code. | Devang Patel | 2009-03-04 | 1 | -12/+24 | 
| | | | | | llvm-svn: 66043 | ||||
| * | Move more of blocks codegen out of CodeGenModule and into the | Mike Stump | 2009-03-04 | 5 | -38/+73 | 
| | | | | | | | | | | 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 | ||||
| * | Support "asm" renaming of external symbols. | Daniel Dunbar | 2009-03-04 | 1 | -0/+6 | 
| | | | | | | | - PR3698. llvm-svn: 66038 | ||||
| * | 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 | ||||
| * | Start the migration of more of the blocks code out of sight for most | Mike Stump | 2009-03-04 | 2 | -32/+4 | 
| | | | | | | | people. De-duplicates BLOCK_NEEDS_FREE and friends. llvm-svn: 66034 | ||||
| * | Add __block codegen testcase. We introduce a temporary flag to enable | Mike Stump | 2009-03-04 | 1 | -1/+13 | 
| | | | | | | | | codegen, until such time as codegen is complete enough to turn on with -fblocks. llvm-svn: 66031 | ||||
| * | Minor cleanup for choose expressions: add a helper that returns the | Eli Friedman | 2009-03-04 | 3 | -10/+3 | 
| | | | | | | | chosen sub-expression, rather than just evaluating the condition. llvm-svn: 66018 | ||||
| * | add a special case for codegen that improves the case where we have | Chris Lattner | 2009-03-04 | 1 | -1/+24 | 
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | multiple sequential cases to a) not create tons of fall-through basic blocks and b) not recurse deeply. This fixes codegen on 100K deep cases, and improves codegen on moderate cases from this: switch i32 %tmp, label %sw.epilog [ i32 1000, label %sw.bb i32 1001, label %sw.bb1 i32 1002, label %sw.bb2 i32 1003, label %sw.bb3 i32 1004, label %sw.bb4 ... sw.bb: ; preds = %entry br label %sw.bb1 sw.bb1: ; preds = %entry, %sw.bb br label %sw.bb2 sw.bb2: ; preds = %entry, %sw.bb1 br label %sw.bb3 sw.bb3: ; preds = %entry, %sw.bb2 br label %sw.bb4 to: switch i32 %tmp, label %sw.epilog [ i32 1000, label %sw.bb i32 1001, label %sw.bb i32 1002, label %sw.bb i32 1003, label %sw.bb i32 1004, label %sw.bb sw.bb: ;; many preds llvm-svn: 66015 | ||||
| * | Continuation of PR3687: fix more places to use the right type for | Eli Friedman | 2009-03-04 | 1 | -5/+5 | 
| | | | | | | | booleans. llvm-svn: 66012 | ||||
| * | Comment fix: change a question to an answer. | Eli Friedman | 2009-03-04 | 1 | -5/+3 | 
| | | | | | llvm-svn: 66010 | ||||
| * | Attempt to fix PR3709: when converting from an integer to a pointer, | Eli Friedman | 2009-03-04 | 1 | -1/+8 | 
| | | | | | | | first extend the integer to the correct width. llvm-svn: 66009 | ||||
| * | Improved ABI compliance for __block variables. No testcases yet as we | Mike Stump | 2009-03-04 | 5 | -65/+264 | 
| | | | | | | | | still give an unsupported error for them due to the fact this is a work in progress. llvm-svn: 66007 | ||||
| * | Fix <rdar://problem/6640991> Exception handling executes wrong clause ↵ | Steve Naroff | 2009-03-03 | 1 | -19/+17 | 
| | | | | | | | | | | | | (Daniel, please verify). Also necessary to fix: <rdar://problem/6632061> [sema] non object types should not be allowed in @catch statements <rdar://problem/6252237> [sema] qualified id should be disallowed in @catch statements llvm-svn: 65964 | ||||
| * | Fixed an ir-gen bug in syntheszing a getter function | Fariborz Jahanian | 2009-03-03 | 1 | -3/+7 | 
| | | | | | | | | with property type which does not match its ivar and in -fobjc-gc-only mode! llvm-svn: 65955 | ||||
| * | Return 0 if the ConstExprEmitter can't handle an expression. | Anders Carlsson | 2009-03-03 | 1 | -3/+1 | 
| | | | | | llvm-svn: 65951 | ||||
| * | Fix for PR3687: use the memory representation for booleans when a | Eli Friedman | 2009-03-03 | 2 | -5/+13 | 
| | | | | | | | | sub-type describes a memory location, like the pointee type of a pointer or the element type of an array. llvm-svn: 65925 | ||||
| * | inline asm calls should be nounwind. Chris, please review. | Anders Carlsson | 2009-03-02 | 1 | -1/+4 | 
| | | | | | llvm-svn: 65866 | ||||
| * | Enable Objective-C interface debug info. | Devang Patel | 2009-03-02 | 1 | -1/+2 | 
| | | | | | llvm-svn: 65850 | ||||
| * | Avoid crash when child iterator gives null result. | Daniel Dunbar | 2009-03-02 | 1 | -1/+2 | 
| | | | | | llvm-svn: 65812 | ||||
| * | First cut at zero-cost EH support. | Daniel Dunbar | 2009-03-02 | 1 | -72/+210 | 
| | | | | | | | | | | | | - Still manually generates the EH code; the parts related to cleanup need to be integrated into the cleanup stack (for proper interaction with VLAs, etc.). - Some differences vs gcc in corner cases; I believe our behavior is correct but need to verify/file bugs vs gcc. llvm-svn: 65809 | ||||
| * | Make sure to invoke (not call) to objc_exception_throw if necessary. | Daniel Dunbar | 2009-03-02 | 1 | -2/+11 | 
| | | | | | llvm-svn: 65808 | ||||
| * | Fix completely broken thinko in GetClassGlobal. | Daniel Dunbar | 2009-03-02 | 1 | -1/+1 | 
| | | | | | llvm-svn: 65807 | ||||
| * | Don't set nounwind on functions when in using the new Obj-C ABI. | Daniel Dunbar | 2009-03-02 | 1 | -1/+1 | 
| | | | | | llvm-svn: 65806 | ||||
| * | Cleanup handling of function attributes in calls. | Daniel Dunbar | 2009-03-02 | 1 | -35/+27 | 
| | | | | | | | - No intended functionality change. llvm-svn: 65805 | ||||
| * | Push checking down, also, give the user a hit as to which part of the | Mike Stump | 2009-03-02 | 2 | -39/+11 | 
| | | | | | | | | block literal is causing the problem, instead of the vague reference to the entire block literal. llvm-svn: 65798 | ||||
| * | Add BLOCK_HAS_DESCRIPTOR to global blocks. | Anders Carlsson | 2009-03-01 | 1 | -1/+2 | 
| | | | | | llvm-svn: 65788 | ||||
| * | Be sure to mark blocks with no imports as being global. | Mike Stump | 2009-03-01 | 1 | -0/+4 | 
| | | | | | llvm-svn: 65784 | ||||
| * | simplify some code. | Chris Lattner | 2009-03-01 | 1 | -9/+5 | 
| | | | | | llvm-svn: 65782 | ||||
| * | Obj-C non fragile ABI: Use GetClassGlobal in one more instance I missed. | Daniel Dunbar | 2009-03-01 | 1 | -12/+1 | 
| | | | | | llvm-svn: 65762 | ||||
| * | Obj-C non fragile ABI: Add GetInterfaceEHType for getting the Obj-C | Daniel Dunbar | 2009-03-01 | 1 | -3/+73 | 
| | | | | | | | | exception typeinfo metadata, and a few other EH related types/functions. - No functionality change. llvm-svn: 65761 | ||||
| * | NeXT: Unify code for creating a class global. | Daniel Dunbar | 2009-03-01 | 1 | -85/+27 | 
| | | | | | | | - No functionality change. llvm-svn: 65760 | ||||
| * | ObjCAtCatchStmt's ParamStmt is always a DeclStmt. | Daniel Dunbar | 2009-03-01 | 1 | -2/+1 | 
| | | | | | llvm-svn: 65759 | ||||
| * | Remove debugging code. | Anders Carlsson | 2009-03-01 | 1 | -2/+0 | 
| | | | | | llvm-svn: 65753 | ||||
| * | Emit errors about unsupported blocks features. | Anders Carlsson | 2009-03-01 | 1 | -0/+41 | 
| | | | | | llvm-svn: 65751 | ||||
| * | Initialize NSConcreteStackBlock | Anders Carlsson | 2009-03-01 | 1 | -2/+2 | 
| | | | | | llvm-svn: 65749 | ||||
| * | Do some blocks cleanup and simplification. Fix a crash, and add a test case. | Anders Carlsson | 2009-03-01 | 3 | -16/+48 | 
| | | | | | llvm-svn: 65746 | ||||
| * | Obscure code gen bug related to sending | Fariborz Jahanian | 2009-02-28 | 4 | -7/+40 | 
| | | | | | | | | message to 'super' in a class method declared in cateogy (darwin specific). llvm-svn: 65709 | ||||
| * | improve compatibility with the VC++'08 C++ compiler. Patch by | Chris Lattner | 2009-02-28 | 2 | -7/+7 | 
| | | | | | | | Niklas Larsson! llvm-svn: 65706 | ||||
| * | brain thinking memcpy, fingers thinking memset :) | Chris Lattner | 2009-02-28 | 1 | -2/+2 | 
| | | | | | llvm-svn: 65701 | ||||
| * | after going around in circles a few times, finally cave and emit structure | Chris Lattner | 2009-02-28 | 1 | -2/+11 | 
| | | | | | | | | | copies with memcpy instead of memmove. This matches what GCC does and if it causes a problem with a particular libc we can always fix it with a target hook. llvm-svn: 65699 | ||||
| * | First cut CodeGen support for __block variables. | Mike Stump | 2009-02-28 | 5 | -76/+129 | 
| | | | | | llvm-svn: 65688 | ||||
| * | Eliminate CXXRecordType | Douglas Gregor | 2009-02-28 | 2 | -2/+0 | 
| | | | | | llvm-svn: 65671 | ||||
| * | Alignment of pointers in __objc_classlist must be on their | Fariborz Jahanian | 2009-02-28 | 1 | -0/+2 | 
| | | | | | | | | natural alignment. Otherwise, the excess hole confuses the objc2 runtime (this is darwin specific). llvm-svn: 65666 | ||||
| * | Fix enumeration in switch warnings. No behavior change. | Eli Friedman | 2009-02-27 | 1 | -0/+6 | 
| | | | | | llvm-svn: 65659 | ||||
| * | Fix PR3612. We ensure that we add builtins to the GlobalDeclMap and | Mike Stump | 2009-02-27 | 2 | -5/+14 | 
| | | | | | | | | | | 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 | ||||
| * | Change the AST generated for offsetof a bit so that it looks like a | Eli Friedman | 2009-02-27 | 1 | -40/+2 | 
| | | | | | | | | | normal expression, and change Evaluate and IRGen to evaluate it like a normal expression. This simplifies the code significantly, and fixes PR3396. llvm-svn: 65622 | ||||
| * | Change the way clang generates union types a bit so it plays well | Eli Friedman | 2009-02-27 | 1 | -1/+6 | 
| | | | | | | | with the LLVM C backend. llvm-svn: 65615 | ||||

