| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Update for LLVM API change. | Owen Anderson | 2009-08-13 | 1 | -10/+12 | |
| | | | | | llvm-svn: 78946 | |||||
| * | Refactor some code and implement support for global destructors for static ↵ | Anders Carlsson | 2009-08-08 | 1 | -1/+1 | |
| | | | | | | | variables. llvm-svn: 78507 | |||||
| * | Update for LLVM API change. | Owen Anderson | 2009-08-05 | 1 | -1/+1 | |
| | | | | | llvm-svn: 78259 | |||||
| * | assert(nyi) on attempt to destruct an array of objects. | Fariborz Jahanian | 2009-08-03 | 1 | -2/+6 | |
| | | | | | llvm-svn: 77993 | |||||
| * | ir-gen for destructor calls. | Fariborz Jahanian | 2009-08-03 | 1 | -0/+12 | |
| | | | | | llvm-svn: 77991 | |||||
| * | use CodeGenModule::EmitNullConstant in a couple of places. | Anders Carlsson | 2009-08-02 | 1 | -3/+2 | |
| | | | | | llvm-svn: 77915 | |||||
| * | Update for LLVM API change. | Owen Anderson | 2009-07-31 | 1 | -1/+1 | |
| | | | | | llvm-svn: 77722 | |||||
| * | Canonicalize else spacing. | Mike Stump | 2009-07-30 | 1 | -2/+1 | |
| | | | | | llvm-svn: 77629 | |||||
| * | Update for LLVM API change. | Owen Anderson | 2009-07-29 | 1 | -6/+6 | |
| | | | | | llvm-svn: 77514 | |||||
| * | Update for LLVM API change. | Owen Anderson | 2009-07-29 | 1 | -2/+2 | |
| | | | | | llvm-svn: 77492 | |||||
| * | Switch to using llvm::Value::getName() | Daniel Dunbar | 2009-07-26 | 1 | -2/+1 | |
| | | | | | llvm-svn: 77147 | |||||
| * | Update for LLVM API change. | Owen Anderson | 2009-07-24 | 1 | -3/+3 | |
| | | | | | llvm-svn: 77012 | |||||
| * | Fix thinko. | Daniel Dunbar | 2009-07-19 | 1 | -4/+1 | |
| | | | | | llvm-svn: 76362 | |||||
| * | Avoid generation of dead code in a few more situations. | Daniel Dunbar | 2009-07-19 | 1 | -2/+24 | |
| | | | | | | | | | | | | | | - Emit variable declarations as "simple", we want to avoid forcing the creation of a dummy basic block, but still need to make the variable available for later use. - With that, we can now skip IRgen for other unreachable statements (which don't define a label). - Anders, I added two fixmes on calls to EmitVLASize, can you check them? llvm-svn: 76361 | |||||
| * | Update for LLVM API change, and contextify a bunch of related stuff. | Owen Anderson | 2009-07-14 | 1 | -12/+13 | |
| | | | | | llvm-svn: 75705 | |||||
| * | Update for LLVM API change. | Owen Anderson | 2009-07-13 | 1 | -1/+1 | |
| | | | | | llvm-svn: 75446 | |||||
| * | Update for LLVM API change. | Owen Anderson | 2009-07-08 | 1 | -6/+6 | |
| | | | | | llvm-svn: 75028 | |||||
| * | Update for LLVM API change. | Owen Anderson | 2009-07-08 | 1 | -2/+4 | |
| | | | | | llvm-svn: 74986 | |||||
| * | Remove the ASTContext parameter from the attribute-related methods of Decl. | Argyrios Kyrtzidis | 2009-06-30 | 1 | -6/+6 | |
| | | | | | | | | | | The implementations of these methods can Use Decl::getASTContext() to get the ASTContext. This commit touches a lot of files since call sites for these methods are everywhere. I used pre-tokenized "carbon.h" and "cocoa.h" headers to do some timings, and there was no real time difference between before the commit and after it. llvm-svn: 74501 | |||||
| * | typo | Devang Patel | 2009-06-26 | 1 | -1/+1 | |
| | | | | | llvm-svn: 74305 | |||||
| * | Move the static DeclAttrs map into ASTContext. Fixes <rdar://problem/6983177>. | Douglas Gregor | 2009-06-18 | 1 | -6/+6 | |
| | | | | | llvm-svn: 73702 | |||||
| * | As an optimization, we maintain a cache of generated | Mike Stump | 2009-06-05 | 1 | -8/+11 | |
| | | | | | | | | | | | ___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 | |||||
| * | Add IRGen support for local variables of reference type. | Eli Friedman | 2009-05-27 | 1 | -6/+4 | |
| | | | | | llvm-svn: 72462 | |||||
| * | Targets like PIC16 generate Static decls for automatic variables, emit the ↵ | Sanjiv Gupta | 2009-05-22 | 1 | -1/+4 | |
| | | | | | | | appropriate debug descriptor as well in that case. llvm-svn: 72261 | |||||
| * | Pass the destination QualType to EmitStoreOfScalar. No functionality change. | Anders Carlsson | 2009-05-19 | 1 | -2/+3 | |
| | | | | | llvm-svn: 72118 | |||||
| * | Since we miscompile many cases when declaring a variable with a reference ↵ | Anders Carlsson | 2009-05-18 | 1 | -0/+10 | |
| | | | | | | | type, make them unsupported for now. llvm-svn: 72034 | |||||
| * | Fixup debug information for the location information for __block | Mike Stump | 2009-05-15 | 1 | -2/+4 | |
| | | | | | | | | | | | | | | | | | | | | | variables. For this to work, the backend needs to handle more complex forms for locations. A typical utterance would be: %forwarding = getelementptr %0* %use_by_ref, i32 0, i32 1 ; <i8**> [#uses=1] %0 = load i8** %forwarding ; <i8*> [#uses=1] %1 = bitcast i8* %0 to %0* ; <%0*> [#uses=1] %x = getelementptr %0* %1, i32 0, i32 4 ; <i32*> [#uses=1] %2 = bitcast i32* %x to { }* ; <{ }*> [#uses=1] call void @llvm.dbg.declare({ }* %2, { }* bitcast (%llvm.dbg.variable.type* @llvm.dbg.variable to { }*)) Presently when selection finds something it doesn't understand, it just avoids generating any information, which is safe, just incomplete. Radar 6867696 llvm-svn: 71824 | |||||
| * | push GlobalDecl through enough of the CodeGenModule interfaces | Chris Lattner | 2009-05-12 | 1 | -1/+1 | |
| | | | | | | | | | | to allow us to support generation of deferred ctors/dtors. It looks like codegen isn't emitting a call to the dtor in member-functions.cpp:test2, but when it does, its body should get emitted. llvm-svn: 71594 | |||||
| * | When calling the cleanup function specified by __attribute__((cleanup)), ↵ | Anders Carlsson | 2009-04-26 | 1 | -2/+13 | |
| | | | | | | | make sure to bitcast the argument so it has the same type as the first argument of the cleanup function. Fixes <rdar://problem/6827047>. llvm-svn: 70098 | |||||
| * | PR3247: Handle a couple of cases where we weren't emitting VLA sizes (and | Eli Friedman | 2009-04-20 | 1 | -0/+4 | |
| | | | | | | | subsequently crashed). llvm-svn: 69567 | |||||
| * | PR3853: Add CodeGen support for __thread. | Eli Friedman | 2009-04-19 | 1 | -6/+3 | |
| | | | | | llvm-svn: 69545 | |||||
| * | Audit __private_extern__ handling. | Daniel Dunbar | 2009-04-14 | 1 | -6/+7 | |
| | | | | | | | | | | | | | | | - Exposed quite a few Sema issues and a CodeGen crash. - See FIXMEs in test case, and in SemaDecl.cpp (PR3983). I'm skeptical that __private_extern__ should actually be a storage class value. I think that __private_extern__ basically amounts to extern A __attribute__((visibility("hidden"))) and would be better off handled (a) as that, or (b) with an extra bit in the VarDecl. llvm-svn: 69020 | |||||
| * | Update to use hasAttr() instead of getAttr(). | Daniel Dunbar | 2009-04-13 | 1 | -3/+3 | |
| | | | | | | | - No functionality change. llvm-svn: 68987 | |||||
| * | Make messages consistent. | Chris Lattner | 2009-04-10 | 1 | -1/+1 | |
| | | | | | llvm-svn: 68756 | |||||
| * | reject codegen of __thread variables as unimplemented, rdar://6775265 | Chris Lattner | 2009-04-10 | 1 | -0/+4 | |
| | | | | | llvm-svn: 68755 | |||||
| * | Add a destination type argument to EmitConstantExpr. This will be used for ↵ | Anders Carlsson | 2009-04-08 | 1 | -1/+1 | |
| | | | | | | | when the destination has a reference type. (No functionality change yet) llvm-svn: 68593 | |||||
| * | Don't use static globals for params as it confuses the optimzer that their ↵ | Sanjiv Gupta | 2009-04-02 | 1 | -6/+0 | |
| | | | | | | | values are never being used in the function. llvm-svn: 68328 | |||||
| * | When compiling C++ code, always mangle the names of static block var decls. | Anders Carlsson | 2009-04-02 | 1 | -10/+16 | |
| | | | | | llvm-svn: 68280 | |||||
| * | Code gen does not yet supports __asm__ on a variable | Fariborz Jahanian | 2009-03-30 | 1 | -0/+3 | |
| | | | | | | | declaration. Reject it. llvm-svn: 68058 | |||||
| * | don't set the name of a call instruction to "call" in release-asserts | Chris Lattner | 2009-03-22 | 1 | -1/+1 | |
| | | | | | | | build. This shaves another 3% off. llvm-svn: 67460 | |||||
| * | fix CreateTempAlloca to not set a name on the alloca for temporaries | Chris Lattner | 2009-03-22 | 1 | -3/+5 | |
| | | | | | | | | | | in release-assert builds. For automatic variables, explicitly set a name with setName that does not make a temporary std::string. This speeds up -emit-llvm-only -disable-free on PR3810 by 4.6% llvm-svn: 67459 | |||||
| * | Fixup codegen for nested block literals so that we generate | Mike Stump | 2009-03-21 | 1 | -2/+0 | |
| | | | | | | | copy_helpers and dispose_helpers as necessary for them. llvm-svn: 67453 | |||||
| * | Fix codegen for support for super inside block literal expressions. | Mike Stump | 2009-03-20 | 1 | -4/+0 | |
| | | | | | llvm-svn: 67406 | |||||
| * | Mangle param names with .arg. only. | Sanjiv Gupta | 2009-03-07 | 1 | -1/+1 | |
| | | | | | llvm-svn: 66343 | |||||
| * | Remove some FIXMEs for block literals that should be close to working. | Mike Stump | 2009-03-07 | 1 | -2/+5 | |
| | | | | | llvm-svn: 66322 | |||||
| * | Complete __Block_byref_id_object_copy cogegen for block literals. | Mike Stump | 2009-03-06 | 1 | -1/+2 | |
| | | | | | llvm-svn: 66257 | |||||
| * | Finish off __Block_byref_id_object_dispose codegen for block literals. | Mike Stump | 2009-03-06 | 1 | -5/+7 | |
| | | | | | 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/+2 | |
| | | | | | llvm-svn: 66241 | |||||
| * | Framework for codegen for copy/dispose helpers. | Mike Stump | 2009-03-06 | 1 | -2/+2 | |
| | | | | | llvm-svn: 66231 | |||||

