Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Created __builtin___NSStringMakeConstantString() builtin, which generates ↵ | David Chisnall | 2010-01-23 | 1 | -3/+3 |
| | | | | | | constant Objective-C strings. llvm-svn: 94274 | ||||
* | Remove some dead variables clang-analyzer found. | Benjamin Kramer | 2009-12-25 | 1 | -5/+1 |
| | | | | llvm-svn: 92162 | ||||
* | Pass ReturnValueSlot to EmitCall. No functionality change yet. | Anders Carlsson | 2009-12-24 | 1 | -2/+2 |
| | | | | llvm-svn: 92138 | ||||
* | Patch to fix 32-bit @try failure with internal assertion when compiling | Fariborz Jahanian | 2009-12-14 | 1 | -2/+5 |
| | | | | | | an Objective-C rethrow nested inside another try/catch block. (fixes radar 7466728). llvm-svn: 91335 | ||||
* | patch to add a property from a protocol to a class that adopts the protocol. | Fariborz Jahanian | 2009-12-12 | 1 | -0/+34 |
| | | | | | | (fixes radar 7466494). llvm-svn: 91227 | ||||
* | (objc2 nonfragile-abi specific). If the translation unit includes an ↵ | Fariborz Jahanian | 2009-12-01 | 1 | -11/+10 |
| | | | | | | | | | implementation of a subclass (direct or indirect) of a weak_import root class, emit a weak reference for the root class's metaclass (should complete radar 6815425). llvm-svn: 90249 | ||||
* | Don't pass false (default) for isVolatile parameter to CreateLoad. | Daniel Dunbar | 2009-11-29 | 1 | -11/+10 |
| | | | | llvm-svn: 90098 | ||||
* | This patch finalizes implementatin of weak_import | Fariborz Jahanian | 2009-11-17 | 1 | -0/+6 |
| | | | | | | objective-c2 classes (radar 6815425). llvm-svn: 89157 | ||||
* | More cases for weak_import objective-c2 classes. | Fariborz Jahanian | 2009-11-17 | 1 | -0/+3 |
| | | | | | | (still radar 6815425). llvm-svn: 89152 | ||||
* | More support for weak_import objective-c2 class. | Fariborz Jahanian | 2009-11-17 | 1 | -0/+27 |
| | | | | | | (radar 6815425). llvm-svn: 89146 | ||||
* | Generate the old API when sending message to super | Fariborz Jahanian | 2009-11-14 | 1 | -1/+4 |
| | | | | | | in a category implementation (objc 32bit api related). llvm-svn: 88741 | ||||
* | Fix a code gen bug in i386-apple-darwin (objc fragile abi), sending | Fariborz Jahanian | 2009-11-12 | 1 | -6/+38 |
| | | | | | | message to 'super'. Fixes radar 7205866. llvm-svn: 87017 | ||||
* | Avoid std::string concatenation. | Daniel Dunbar | 2009-10-19 | 1 | -16/+10 |
| | | | | llvm-svn: 84458 | ||||
* | PR5218: Replace IdentifierInfo::getName with StringRef version, now that clients | Daniel Dunbar | 2009-10-18 | 1 | -5/+5 |
| | | | | | | are updated. llvm-svn: 84447 | ||||
* | Twinify CGObjCMac, this simplifies the code and should reduce std::string | Daniel Dunbar | 2009-10-18 | 1 | -97/+86 |
| | | | | | | trashing. llvm-svn: 84439 | ||||
* | There is now only one version of eh.selector and eh.typeid.for. | Duncan Sands | 2009-10-14 | 1 | -8/+8 |
| | | | | | | Fix the clang build. llvm-svn: 84107 | ||||
* | Simplify pointer creation with the new Type::getInt*Ptr methods. | Benjamin Kramer | 2009-10-13 | 1 | -6/+5 |
| | | | | llvm-svn: 83964 | ||||
* | Patch fixes a code gen. bug in generation of objc_assign_ivar | Fariborz Jahanian | 2009-09-24 | 1 | -11/+17 |
| | | | | | | (objc GC's API). llvm-svn: 82724 | ||||
* | Refactor the representation of qualifiers to bring ExtQualType out of the | John McCall | 2009-09-24 | 1 | -14/+16 |
| | | | | | | | | Type hierarchy. Demote 'volatile' to extended-qualifier status. Audit our use of qualifiers and fix a few places that weren't dealing with qualifiers quite right; many more remain. llvm-svn: 82705 | ||||
* | Change all the Type::getAsFoo() methods to specializations of Type::getAs(). | John McCall | 2009-09-21 | 1 | -6/+6 |
| | | | | | | | | | | | Several of the existing methods were identical to their respective specializations, and so have been removed entirely. Several more 'leaf' optimizations were introduced. The getAsFoo() methods which imposed extra conditions, like getAsObjCInterfacePointerType(), have been left in place. llvm-svn: 82501 | ||||
* | Make clang stop relying on ConstantStruct::get's default value for isPacked | Nick Lewycky | 2009-09-19 | 1 | -10/+10 |
| | | | | | | which will be going away (ie. it's becoming a required parameter) later today. llvm-svn: 82323 | ||||
* | IRgen/ObjC: Correctly construct the function info for variadic message sends. | Daniel Dunbar | 2009-09-17 | 1 | -3/+2 |
| | | | | | | | | This fixes some bad -O0 codegen and the unnecessary clearing of al on entry to objc_msgSend for most message sends. <rdar://problem/7102824> [irgen] unnecessary xorb on calls to objc_msgSend on x86_64 llvm-svn: 82118 | ||||
* | IRgen/ObjC: Make the target method decl available to GenerateMessageSendSuper. | Daniel Dunbar | 2009-09-17 | 1 | -26/+31 |
| | | | | llvm-svn: 82117 | ||||
* | patch for generating objc'2 objc_assign_ivar. WIP. | Fariborz Jahanian | 2009-09-16 | 1 | -1/+0 |
| | | | | llvm-svn: 82090 | ||||
* | Fixes a regression in objc GC layout bitmap involving | Fariborz Jahanian | 2009-09-11 | 1 | -1/+1 |
| | | | | | | block pointer ivars. llvm-svn: 81535 | ||||
* | Get the size of object to pass to objc_memmove_collectable() | Fariborz Jahanian | 2009-09-10 | 1 | -2/+2 |
| | | | | | | from correct field of TypeInfo. llvm-svn: 81446 | ||||
* | Remove tabs, and whitespace cleanups. | Mike Stump | 2009-09-09 | 1 | -39/+24 |
| | | | | llvm-svn: 81346 | ||||
* | Remove unnecessary #include <sstream>. | Benjamin Kramer | 2009-09-07 | 1 | -1/+0 |
| | | | | llvm-svn: 81147 | ||||
* | Use a SetVector for tracking some Obj-C metadata, to ensure deterministic | Daniel Dunbar | 2009-09-07 | 1 | -20/+23 |
| | | | | | | | output. - Also, cleanup code to output inline asm references. llvm-svn: 81139 | ||||
* | Re-implemented generation of objc_memmove_collectable | Fariborz Jahanian | 2009-08-31 | 1 | -4/+10 |
| | | | | | | API for copying GC'able aggregates (Next runtime only). llvm-svn: 80607 | ||||
* | Fix ivar layout map generation (hopefully). | Anders Carlsson | 2009-08-25 | 1 | -1/+6 |
| | | | | llvm-svn: 79968 | ||||
* | Remove #ifdef'out code. | Fariborz Jahanian | 2009-08-24 | 1 | -7/+0 |
| | | | | llvm-svn: 79956 | ||||
* | Remove ivarlayout bitmap optimization, instead if all zeros, | Fariborz Jahanian | 2009-08-24 | 1 | -1/+3 |
| | | | | | | put out the bitmap when all objects are scanned. llvm-svn: 79947 | ||||
* | Fix build of clang with gcc-4.4: #include <cstdio> was missing. | Torok Edwin | 2009-08-24 | 1 | -0/+1 |
| | | | | llvm-svn: 79916 | ||||
* | Introduce DeclaratorDecl and pass DeclaratorInfo through the Decl/Sema ↵ | Argyrios Kyrtzidis | 2009-08-19 | 1 | -4/+4 |
| | | | | | | | | | | | | interfaces. DeclaratorDecl contains a DeclaratorInfo* to keep type source info. Subclasses of DeclaratorDecl are FieldDecl, FunctionDecl, and VarDecl. EnumConstantDecl still inherits from ValueDecl since it has no need for DeclaratorInfo. Decl/Sema interfaces accept a DeclaratorInfo as parameter but no DeclaratorInfo is created yet. llvm-svn: 79392 | ||||
* | Update for LLVM API change. | Owen Anderson | 2009-08-13 | 1 | -8/+8 |
| | | | | llvm-svn: 78957 | ||||
* | Update for LLVM API change. | Owen Anderson | 2009-08-13 | 1 | -35/+38 |
| | | | | llvm-svn: 78946 | ||||
* | Update for LLVM API change. | Owen Anderson | 2009-08-05 | 1 | -36/+41 |
| | | | | llvm-svn: 78259 | ||||
* | When generating cleanup blocks for Obj-C @finally, mark them as catch all blocks | Daniel Dunbar | 2009-08-03 | 1 | -1/+4 |
| | | | | | | | | from the perspective of LLVM exception handling. Otherwise the C++ personality function may decide not to run them, if it only detects cleanup handlers. - Test case for this is exceptions.m in llvm-test. llvm-svn: 77999 | ||||
* | Formatting fixes (trailing whitespace, 80-cols, indentation). | Daniel Dunbar | 2009-08-03 | 1 | -1081/+1088 |
| | | | | llvm-svn: 77972 | ||||
* | Update for LLVM API change. | Owen Anderson | 2009-07-31 | 1 | -42/+42 |
| | | | | llvm-svn: 77722 | ||||
* | Update for LLVM API change. | Owen Anderson | 2009-07-31 | 1 | -4/+4 |
| | | | | llvm-svn: 77686 | ||||
* | Canonicalize else spacing. | Mike Stump | 2009-07-30 | 1 | -32/+15 |
| | | | | llvm-svn: 77629 | ||||
* | Eliminate an unused-variable warning | Douglas Gregor | 2009-07-29 | 1 | -1/+0 |
| | | | | llvm-svn: 77518 | ||||
* | Update for LLVM API change. | Owen Anderson | 2009-07-29 | 1 | -126/+126 |
| | | | | llvm-svn: 77514 | ||||
* | Change uses of: | Ted Kremenek | 2009-07-29 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | Type::getAsReferenceType() -> Type::getAs<ReferenceType>() Type::getAsRecordType() -> Type::getAs<RecordType>() Type::getAsPointerType() -> Type::getAs<PointerType>() Type::getAsBlockPointerType() -> Type::getAs<BlockPointerType>() Type::getAsLValueReferenceType() -> Type::getAs<LValueReferenceType>() Type::getAsRValueReferenceType() -> Type::getAs<RValueReferenceType>() Type::getAsMemberPointerType() -> Type::getAs<MemberPointerType>() Type::getAsReferenceType() -> Type::getAs<ReferenceType>() Type::getAsTagType() -> Type::getAs<TagType>() And remove Type::getAsReferenceType(), etc. This change is similar to one I made a couple weeks ago, but that was partly reverted pending some additional design discussion. With Doug's pending smart pointer changes for Types, it seemed natural to take this approach. llvm-svn: 77510 | ||||
* | Update for LLVM API change. | Owen Anderson | 2009-07-29 | 1 | -31/+31 |
| | | | | llvm-svn: 77492 | ||||
* | Update for LLVM API change. | Owen Anderson | 2009-07-28 | 1 | -18/+18 |
| | | | | llvm-svn: 77349 | ||||
* | add some fixme's | Chris Lattner | 2009-07-28 | 1 | -2/+2 |
| | | | | llvm-svn: 77343 | ||||
* | Patch for objc's zero-const exception to not assume | Fariborz Jahanian | 2009-07-27 | 1 | -11/+10 |
| | | | | | | | that @catch(...) cathces all exceptions (c++ objects are not cought by that). llvm-svn: 77270 |