Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add bitmaps for strong / weak ivar layout (GNUstep runtime). | David Chisnall | 2011-10-04 | 1 | -18/+102 | |
| | | | | llvm-svn: 141085 | |||||
* | When performing an @throw in ARC, retain + autorelease | John McCall | 2011-10-01 | 1 | -1/+1 | |
| | | | | | | | the pointer, being sure to do so before running cleanups associated with that full-expression. rdar://10042689 llvm-svn: 140945 | |||||
* | de-tmpify clang. | Benjamin Kramer | 2011-09-27 | 1 | -2/+1 | |
| | | | | llvm-svn: 140637 | |||||
* | Switch assert(0/false) llvm_unreachable. | David Blaikie | 2011-09-23 | 1 | -1/+1 | |
| | | | | llvm-svn: 140367 | |||||
* | Change "ivar" to true for a boolean function argument. Since string ↵ | Richard Trieu | 2011-09-21 | 1 | -2/+3 | |
| | | | | | | literals are cast to true, this should no effect on behavior. llvm-svn: 140231 | |||||
* | Switch LangOptions over to a .def file that describes header of the | Douglas Gregor | 2011-09-13 | 1 | -5/+5 | |
| | | | | | | | | | | language options. Use that .def file to declare the LangOptions class and initialize all of its members, eliminating a source of annoying initialization bugs. AST serialization changes are next up. llvm-svn: 139605 | |||||
* | switch clang to use the new-new way of creating llvm::StructType's. | Chris Lattner | 2011-08-12 | 1 | -2/+1 | |
| | | | | llvm-svn: 137472 | |||||
* | Fix typo so we don't use the wrong function for ending ObjC++ catch blocks ↵ | David Chisnall | 2011-08-08 | 1 | -1/+1 | |
| | | | | | | (GNU runtimes) llvm-svn: 137052 | |||||
* | Fix linkage type for tentative definition of ivar offset variables (GNUstep ↵ | David Chisnall | 2011-08-01 | 1 | -2/+2 | |
| | | | | | | runtime) llvm-svn: 136628 | |||||
* | Remove some unnecessary single element array temporaries. | Jay Foad | 2011-07-29 | 1 | -8/+5 | |
| | | | | llvm-svn: 136461 | |||||
* | remove unneeded llvm:: namespace qualifiers on some core types now that ↵ | Chris Lattner | 2011-07-23 | 1 | -67/+66 | |
| | | | | | | | | LLVM.h imports them into the clang namespace. llvm-svn: 135852 | |||||
* | Add a const overload for ObjCInterfaceDecl::all_declared_ivar_begin. | Jordy Rose | 2011-07-22 | 1 | -14/+10 | |
| | | | | | | | | | This was previously not-const only because it has to lazily construct a chain of ivars the first time it is called (and after the chain is invalidated). In practice, all the clients were just const_casting their const Decls; all those now-unnecessary const_casts have been removed. llvm-svn: 135741 | |||||
* | Convert ConstantExpr::getGetElementPtr and | Jay Foad | 2011-07-21 | 1 | -5/+5 | |
| | | | | | | ConstantExpr::getInBoundsGetElementPtr to use ArrayRef. llvm-svn: 135673 | |||||
* | de-constify llvm::Type, patch by David Blaikie! | Chris Lattner | 2011-07-18 | 1 | -20/+20 | |
| | | | | llvm-svn: 135370 | |||||
* | Convert CallInst and InvokeInst APIs to use ArrayRef. | Jay Foad | 2011-07-15 | 1 | -5/+4 | |
| | | | | llvm-svn: 135265 | |||||
* | De-constify Types in StructType::get() and TargetData::getIntPtrType(). | Jay Foad | 2011-07-11 | 1 | -2/+2 | |
| | | | | llvm-svn: 134893 | |||||
* | clang side to match the LLVM IR type system rewrite patch. | Chris Lattner | 2011-07-09 | 1 | -30/+24 | |
| | | | | llvm-svn: 134831 | |||||
* | If we're using the pure non-fragile ABI, then skip some of the contortions ↵ | David Chisnall | 2011-07-07 | 1 | -9/+30 | |
| | | | | | | required to support the transitional ABI. llvm-svn: 134612 | |||||
* | Set a flag to tell the runtime when we're compiling in ARC mode and use the ↵ | David Chisnall | 2011-07-07 | 1 | -10/+19 | |
| | | | | | | pure-nonfragile ABI for both ARC and GC mode. llvm-svn: 134611 | |||||
* | Add support for weakly imported classes (GNU runtime). | David Chisnall | 2011-06-30 | 1 | -5/+8 | |
| | | | | llvm-svn: 134140 | |||||
* | Add ARC support for the GNUstep runtime. | David Chisnall | 2011-06-29 | 1 | -6/+20 | |
| | | | | llvm-svn: 134065 | |||||
* | Support for catching objc pointer objects in c++ catch-statement | Fariborz Jahanian | 2011-06-23 | 1 | -2/+2 | |
| | | | | | | in fragile abi mode and some other cleanups. // rdar://8940528 llvm-svn: 133747 | |||||
* | Alloa catching Objective-C id's being thrown with C++ throw | Fariborz Jahanian | 2011-06-22 | 1 | -2/+2 | |
| | | | | | | in Darwin's fragile abi mode. // rdar://8940528 llvm-svn: 133639 | |||||
* | Update to match mainline ConstantStruct::get API change. Also, use | Chris Lattner | 2011-06-20 | 1 | -3/+3 | |
| | | | | | | | | | | | ConvertType on InitListExprs as they are being converted. This is needed for a forthcoming patch, and improves the IR generated anyway (see additional type names in testcases). This patch also converts a bunch of std::vector's in CGObjCMac to use C arrays. There are a ton more that should be converted as well. llvm-svn: 133413 | |||||
* | update for api change. | Chris Lattner | 2011-06-18 | 1 | -27/+25 | |
| | | | | llvm-svn: 133365 | |||||
* | Automatic Reference Counting. | John McCall | 2011-06-15 | 1 | -2/+2 | |
| | | | | | | | | | | Language-design credit goes to a lot of people, but I particularly want to single out Blaine Garst and Patrick Beard for their contributions. Compiler implementation credit goes to Argyrios, Doug, Fariborz, and myself, in no particular order. llvm-svn: 133103 | |||||
* | Fix another incorrect type bug. | David Chisnall | 2011-05-30 | 1 | -1/+1 | |
| | | | | llvm-svn: 132311 | |||||
* | Eliminate temporary argument vectors. | Benjamin Kramer | 2011-05-28 | 1 | -15/+8 | |
| | | | | llvm-svn: 132260 | |||||
* | Fix another type mismatch. | David Chisnall | 2011-05-28 | 1 | -2/+2 | |
| | | | | llvm-svn: 132259 | |||||
* | Fix missing cast. | David Chisnall | 2011-05-28 | 1 | -5/+7 | |
| | | | | llvm-svn: 132258 | |||||
* | Remove bitcast to incorrect type. | David Chisnall | 2011-05-25 | 1 | -1/+1 | |
| | | | | llvm-svn: 132077 | |||||
* | Fix bug introduced with r131930. | David Chisnall | 2011-05-23 | 1 | -1/+2 | |
| | | | | llvm-svn: 131935 | |||||
* | Don't omit retain / release / autorelease message sends in hybrid GC mode. | David Chisnall | 2011-05-23 | 1 | -2/+2 | |
| | | | | llvm-svn: 131932 | |||||
* | Fix some problems where functions must be bitcast but we're expecting a ↵ | David Chisnall | 2011-05-23 | 1 | -11/+14 | |
| | | | | | | | | llvm::Function of the right type. PR9994. llvm-svn: 131930 | |||||
* | Provide the runtime with information about the GC compile options (GNU runtimes) | David Chisnall | 2011-05-22 | 1 | -4/+18 | |
| | | | | llvm-svn: 131877 | |||||
* | Patch to fix IR-gen crash generating structure ABI which implements | Fariborz Jahanian | 2011-05-17 | 1 | -0/+4 | |
| | | | | | | | user specified string class via -fconstant-string-class option. pr9914. llvm-svn: 131496 | |||||
* | Simplify code a bit by using CallArgList::add. No intended functionality ↵ | Eli Friedman | 2011-05-02 | 1 | -9/+4 | |
| | | | | | | change. llvm-svn: 130699 | |||||
* | Remove a dead variable flagged by gcc's -Wunused-but-set-variable. No | Nick Lewycky | 2011-05-02 | 1 | -2/+0 | |
| | | | | | | functionality change. llvm-svn: 130672 | |||||
* | Don't crash if the AST doesn't have a sensible ObjC id type. | David Chisnall | 2011-04-29 | 1 | -4/+6 | |
| | | | | llvm-svn: 130500 | |||||
* | Remove unused STL header includes. | Jay Foad | 2011-04-23 | 1 | -1/+0 | |
| | | | | llvm-svn: 130068 | |||||
* | Replace a couple of literal 8s with ASTContext::getCharWidth(). No change in | Ken Dyck | 2011-04-22 | 1 | -4/+8 | |
| | | | | | | functionality intended. llvm-svn: 130002 | |||||
* | PR9214: Convert Metadata API to use ArrayRef. | Jay Foad | 2011-04-21 | 1 | -2/+2 | |
| | | | | llvm-svn: 129929 | |||||
* | fix a bunch of comment typos found by codespell. Patch by | Chris Lattner | 2011-04-15 | 1 | -1/+1 | |
| | | | | | | Luis Felipe Strano Moraes! llvm-svn: 129559 | |||||
* | Fix copy-and-paste bug that I introduced while tidying up the code. | David Chisnall | 2011-04-05 | 1 | -1/+1 | |
| | | | | | | Does anyone want to buy me a new brain? llvm-svn: 128890 | |||||
* | Remove PHINode::reserveOperandSpace(). Instead, add a parameter to | Jay Foad | 2011-03-30 | 1 | -8/+4 | |
| | | | | | | PHINode::Create() giving the (known or expected) number of operands. llvm-svn: 128538 | |||||
* | (Almost) always call reserveOperandSpace() on newly created PHINodes. | Jay Foad | 2011-03-30 | 1 | -0/+4 | |
| | | | | llvm-svn: 128534 | |||||
* | Reformatted doc comments so that they are now difficult to edit in any ↵ | David Chisnall | 2011-03-26 | 1 | -339/+186 | |
| | | | | | | editor that doesn't have explicit doxygen support, as per LLVM style guidelines. llvm-svn: 128335 | |||||
* | Added some doc comments. | David Chisnall | 2011-03-25 | 1 | -14/+263 | |
| | | | | llvm-svn: 128275 | |||||
* | Continuing work on ObjC tidyup: | David Chisnall | 2011-03-25 | 1 | -340/+99 | |
| | | | | | | | | | | | | | | | | - Moved the CGObjCRuntime functions out of CGObjCMac.cpp into CGObjCRuntime.cpp - Added generic functions in CGObjCRuntime for emitting @try and @synchronize blocks, usable by any runtime that uses DWARF exceptions. - Made the GNU runtimes use these functions. It should now be possible to replace the equivalent functions in CGObjCNonFragileABIMac with simple calls to these two functions, providing the runtime functions as arguments. I'll post a diff to the list for review before making any changes to the Mac runtime stuff. llvm-svn: 128274 | |||||
* | Fixed type error in last commit (forgot that now that selectors are not | David Chisnall | 2011-03-23 | 1 | -147/+199 | |
| | | | | | | | | | | | | | accessed via the indirect pointer, they don't need to be pointers to pointers). Finished moving the message lookup code into separate subclasses for each runtime. Also performed a few smallish related tidies. We're now bitcasting the result of the message lookup functions, rather than casting the lookup functions themselves, so the messages.m test needed updating to reflect this. llvm-svn: 128180 |