Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Thread CGFunctionInfo construction through CodeGenTypes. | Daniel Dunbar | 2009-02-02 | 1 | -4/+5 | |
| | | | | | | - Inefficient & leaks memory currently, will be cleaned up subsequently. llvm-svn: 63567 | |||||
* | More ABI API cleanup. | Daniel Dunbar | 2009-02-02 | 1 | -2/+2 | |
| | | | | | | | - Lift CGFunctionInfo creation above ReturnTypeUsesSret and EmitFunction{Epi,Pro}log. llvm-svn: 63553 | |||||
* | ABI handling API changes. | Daniel Dunbar | 2009-02-02 | 1 | -6/+6 | |
| | | | | | | | | | | | - Lift CGFunctionInfo creation up to callers of EmitCall. - Move isVariadic bit out of CGFunctionInfo, take as argument to GetFunctionType instead. No functionality change. llvm-svn: 63550 | |||||
* | Refactored code gen for ivar access in preparation for | Fariborz Jahanian | 2009-02-02 | 1 | -0/+26 | |
| | | | | | | objc2 nonfragile ivar access code gen. llvm-svn: 63541 | |||||
* | Use target alignment API to set objc2's meta-data | Fariborz Jahanian | 2009-01-31 | 1 | -13/+20 | |
| | | | | | | alignment. llvm-svn: 63470 | |||||
* | Kill off CGCallInfo, always use CGFunctionInfo for encapsulating | Daniel Dunbar | 2009-01-31 | 1 | -2/+2 | |
| | | | | | | function/call info. llvm-svn: 63466 | |||||
* | class meta-data belong to __objc_data section (in objc2 | Fariborz Jahanian | 2009-01-31 | 1 | -1/+1 | |
| | | | | | | nonfragile abi). llvm-svn: 63461 | |||||
* | Recognize class's visibility attribute and set its linkage | Fariborz Jahanian | 2009-01-31 | 1 | -6/+18 | |
| | | | | | | to private extern (in objc2 nonfragile abi). llvm-svn: 63460 | |||||
* | Missed another mis-alignment of an objc2 meta-data. | Fariborz Jahanian | 2009-01-30 | 1 | -1/+1 | |
| | | | | llvm-svn: 63453 | |||||
* | Setting correct alignent for objc2 meta-data. | Fariborz Jahanian | 2009-01-30 | 1 | -0/+12 | |
| | | | | llvm-svn: 63445 | |||||
* | add imag_info section and data (for objc2 nonfragile abi). | Fariborz Jahanian | 2009-01-30 | 1 | -6/+17 | |
| | | | | llvm-svn: 63430 | |||||
* | Generate list of implemented classes and categories in their | Fariborz Jahanian | 2009-01-30 | 1 | -1/+56 | |
| | | | | | | own sections (related to objc2 nonfragile abi). llvm-svn: 63418 | |||||
* | Code gen. for @protocol expression in the new nonfragile abi. | Fariborz Jahanian | 2009-01-30 | 1 | -4/+34 | |
| | | | | llvm-svn: 63408 | |||||
* | Bug fixing involving method-list in protocol meta-data | Fariborz Jahanian | 2009-01-30 | 1 | -6/+25 | |
| | | | | | | (objc2 nonfragile-abi). llvm-svn: 63351 | |||||
* | Random bug fix related to protocl metadata in categories in | Fariborz Jahanian | 2009-01-29 | 1 | -5/+6 | |
| | | | | | | non-fragile abi. llvm-svn: 63343 | |||||
* | Set protocol linkage and visibility correctly and | Fariborz Jahanian | 2009-01-29 | 1 | -2/+17 | |
| | | | | | | | build protocol translation table meta-data (objc2 non-fragile abi). llvm-svn: 63329 | |||||
* | Protocol meta-data for objc2's non-fragile abi. | Fariborz Jahanian | 2009-01-29 | 1 | -21/+233 | |
| | | | | | | Lot more to do in this area. llvm-svn: 63326 | |||||
* | Add setter/getter methods to the list of methods | Fariborz Jahanian | 2009-01-28 | 1 | -0/+15 | |
| | | | | | | of class's meta-data (related to objc2 nonfragile abi). llvm-svn: 63251 | |||||
* | property metadata for objc2's nonfragile abi | Fariborz Jahanian | 2009-01-28 | 1 | -15/+30 | |
| | | | | llvm-svn: 63246 | |||||
* | Some refactoring of common code. No change in functionality. | Fariborz Jahanian | 2009-01-28 | 1 | -34/+47 | |
| | | | | llvm-svn: 63218 | |||||
* | Set visibility of ivar offset symbols according to | Fariborz Jahanian | 2009-01-28 | 1 | -4/+13 | |
| | | | | | | | accessibility of the ivar (related to objc2's non-fragile abi). llvm-svn: 63166 | |||||
* | Generation of ivar-offset symbols in objc2's non-fragile abi. | Fariborz Jahanian | 2009-01-28 | 1 | -13/+59 | |
| | | | | | | Changed section names for meta-data (to match current gcc). llvm-svn: 63163 | |||||
* | After talking to our runtime guru, I added a comment. | Fariborz Jahanian | 2009-01-27 | 1 | -0/+5 | |
| | | | | llvm-svn: 63141 | |||||
* | ivar meta-data generation for nonfragile-abi. | Fariborz Jahanian | 2009-01-27 | 1 | -2/+87 | |
| | | | | | | Still more work to do in this area. llvm-svn: 63126 | |||||
* | Added a FIXME. | Fariborz Jahanian | 2009-01-26 | 1 | -0/+2 | |
| | | | | llvm-svn: 63071 | |||||
* | Build method-description-list for category meta-data | Fariborz Jahanian | 2009-01-26 | 1 | -3/+31 | |
| | | | | | | as well (for nonfragile-abi). llvm-svn: 63062 | |||||
* | Method decription meta-data and its setting in class_ro_t | Fariborz Jahanian | 2009-01-26 | 1 | -17/+102 | |
| | | | | | | meta-data. llvm-svn: 63043 | |||||
* | Meta-data for nonfragile-abi's categories | Fariborz Jahanian | 2009-01-26 | 1 | -2/+51 | |
| | | | | llvm-svn: 63020 | |||||
* | Compute instaceStart/instanceSize fields of the class_ro_t meta-data | Fariborz Jahanian | 2009-01-24 | 1 | -2/+41 | |
| | | | | | | for objc2's non-fragile abi. llvm-svn: 62945 | |||||
* | Patch to build class meta-data for each implementation | Fariborz Jahanian | 2009-01-24 | 1 | -9/+44 | |
| | | | | | | of class in objc2's nonfragile abi. llvm-svn: 62935 | |||||
* | This patch builds the meta-class object for each | Fariborz Jahanian | 2009-01-24 | 1 | -75/+171 | |
| | | | | | | implemented class in objc2's nonfrigile abi. llvm-svn: 62929 | |||||
* | Some very early work for new objc's | Fariborz Jahanian | 2009-01-23 | 1 | -11/+208 | |
| | | | | | | meta-data generation. llvm-svn: 62894 | |||||
* | Checked in an oops! | Fariborz Jahanian | 2009-01-23 | 1 | -1/+2 | |
| | | | | llvm-svn: 62853 | |||||
* | Another missing LLVM type for objc2's new abi defined. | Fariborz Jahanian | 2009-01-23 | 1 | -3/+12 | |
| | | | | llvm-svn: 62852 | |||||
* | Define LLVM types for nonfragile abi metadata. | Fariborz Jahanian | 2009-01-23 | 1 | -25/+158 | |
| | | | | llvm-svn: 62830 | |||||
* | Use NonFragileABI as name of new Next abi. More comments | Fariborz Jahanian | 2009-01-22 | 1 | -56/+118 | |
| | | | | | | for the new meta-data. llvm-svn: 62806 | |||||
* | More refactoring of common API to the common class for | Fariborz Jahanian | 2009-01-22 | 1 | -93/+104 | |
| | | | | | | the two Next's objc runtimes. More comments. llvm-svn: 62735 | |||||
* | Moved whole bunch of common APIs to the common class. | Fariborz Jahanian | 2009-01-21 | 1 | -37/+37 | |
| | | | | | | No change in functionality. llvm-svn: 62729 | |||||
* | Refactoring ObjC Next's runtime classes in preparation for | Fariborz Jahanian | 2009-01-21 | 1 | -74/+123 | |
| | | | | | | the new ObjC's abi. llvm-svn: 62721 | |||||
* | Commented objective-c's metadata types. Minor clean up. | Fariborz Jahanian | 2009-01-21 | 1 | -5/+89 | |
| | | | | | | No change in functionality. llvm-svn: 62646 | |||||
* | Remove ScopedDecl, collapsing all of its functionality into Decl, so | Douglas Gregor | 2009-01-20 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | that every declaration lives inside a DeclContext. Moved several things that don't have names but were ScopedDecls (and, therefore, NamedDecls) to inherit from Decl rather than NamedDecl, including ObjCImplementationDecl and LinkageSpecDecl. Now, we don't store empty DeclarationNames for these things, nor do we try to insert them into DeclContext's lookup structure. The serialization tests are temporarily disabled. We'll re-enable them once we've sorted out the remaining ownership/serialiazation issues between DeclContexts and TranslationUnion, DeclGroups, etc. llvm-svn: 62562 | |||||
* | Patch to re-implement ivar-list meta-data generation to fix | Fariborz Jahanian | 2009-01-17 | 1 | -11/+31 | |
| | | | | | | cases of unnamed ivar bitfields. llvm-svn: 62429 | |||||
* | Cleanup DeclContext::addDecl and DeclContext::insert interface, from Piotr Rak | Douglas Gregor | 2009-01-12 | 1 | -8/+4 | |
| | | | | llvm-svn: 62122 | |||||
* | (LLVM up) Match TargetData API change in LLVM TOT. | Daniel Dunbar | 2009-01-12 | 1 | -7/+7 | |
| | | | | llvm-svn: 62101 | |||||
* | Convert property implementation to DeclContext::addDecl(). | Steve Naroff | 2009-01-11 | 1 | -16/+9 | |
| | | | | | | This completes the ObjCContainerDecl AST cleanup (for now). llvm-svn: 62037 | |||||
* | This patch fixes the code gen failures which was a fallout from | Fariborz Jahanian | 2009-01-10 | 1 | -4/+9 | |
| | | | | | | | | not merging protocol properties into the classes which use those protocols. With this patch, all my exceutable test pass again. llvm-svn: 62030 | |||||
* | Provide a new kind of iterator, the specific_decl_iterator, that | Douglas Gregor | 2009-01-09 | 1 | -1/+1 | |
| | | | | | | | | | filters the decls seen by decl_iterator with two criteria: the dynamic type of the declaration and a run-time predicate described by a member function. This simplifies EnumDecl, RecordDecl, and ObjCContainerDecl considerably. It has no measurable performance impact. llvm-svn: 61994 | |||||
* | Move property API's up to ObjCContainerDecl (removing a lot of duplicate code). | Steve Naroff | 2009-01-09 | 1 | -6/+6 | |
| | | | | | | | | | Add isa/cast/dyncast support for ObjCContainerDecl. Renamed classprop_iterator/begin/end to prop_iterator/begin/end (the class prefix was confusing). More simplifications to Sema::ActOnAtEnd()... Added/changed some FIXME's as a result of the above work. llvm-svn: 61988 | |||||
* | Another nasty code gen. bug with trivial fix. Calling class | Fariborz Jahanian | 2009-01-07 | 1 | -1/+3 | |
| | | | | | | | method on 'super' receiver in a category implementation. Other simpler cases were working by accident. llvm-svn: 61880 | |||||
* | More encoding support. This time for | Fariborz Jahanian | 2008-12-19 | 1 | -1/+1 | |
| | | | | | | @encode of classes and bitfields. llvm-svn: 61268 |