Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add support for vcall generation for vtables for virtual bases. WIP. | Mike Stump | 2009-08-06 | 1 | -1/+2 | |
| | | | | llvm-svn: 78357 | |||||
* | Also generate the rtti field for virtual bases for vtables. Turn on | Mike Stump | 2009-08-06 | 1 | -1/+4 | |
| | | | | | | | rtti so we can properly test it. Refactor code a little. Still a work in progress. llvm-svn: 78343 | |||||
* | More layout for virtual tables for virtual bases. Still in progress. | Mike Stump | 2009-08-06 | 1 | -0/+2 | |
| | | | | llvm-svn: 78314 | |||||
* | Update for LLVM API change. | Owen Anderson | 2009-08-05 | 1 | -1/+1 | |
| | | | | llvm-svn: 78259 | |||||
* | Add beginnigs of rtti generation, wire up more of -fno-exceptions. | Mike Stump | 2009-07-31 | 1 | -0/+1 | |
| | | | | llvm-svn: 77751 | |||||
* | Add code to setup the vtable pointer in the constructor. Work in progress. | Mike Stump | 2009-07-31 | 1 | -0/+2 | |
| | | | | llvm-svn: 77699 | |||||
* | Patch for future ir-gen for destructor calls. | Fariborz Jahanian | 2009-07-30 | 1 | -1/+6 | |
| | | | | llvm-svn: 77608 | |||||
* | Some code cleanup. | Fariborz Jahanian | 2009-07-28 | 1 | -2/+2 | |
| | | | | llvm-svn: 77339 | |||||
* | More work toward data member access ir-gen. | Fariborz Jahanian | 2009-07-28 | 1 | -0/+8 | |
| | | | | llvm-svn: 77332 | |||||
* | Early ir-gen for constructor prologue. This is on going. | Fariborz Jahanian | 2009-07-20 | 1 | -0/+2 | |
| | | | | llvm-svn: 76493 | |||||
* | Avoid generation of dead code in a few more situations. | Daniel Dunbar | 2009-07-19 | 1 | -1/+19 | |
| | | | | | | | | | | | | | - 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 | -1/+1 | |
| | | | | llvm-svn: 75705 | |||||
* | Update for LLVM API change. | Owen Anderson | 2009-07-13 | 1 | -0/+4 | |
| | | | | llvm-svn: 75446 | |||||
* | Implemented memmove_collectable API for Next runtime | Fariborz Jahanian | 2009-07-08 | 1 | -0/+5 | |
| | | | | | | | when struct variables with GC'able members are copied into. Will provide a test case later. llvm-svn: 74984 | |||||
* | Add PushConditionalTempDestruction/PopConditionalTempDestruction. | Anders Carlsson | 2009-06-04 | 1 | -0/+19 | |
| | | | | llvm-svn: 72835 | |||||
* | More temporary work. | Anders Carlsson | 2009-06-03 | 1 | -2/+3 | |
| | | | | llvm-svn: 72796 | |||||
* | Store more information about live temporaries. No functionality change for now. | Anders Carlsson | 2009-06-03 | 1 | -1/+24 | |
| | | | | llvm-svn: 72793 | |||||
* | Add a new function for emitting new functions. | Anders Carlsson | 2009-05-31 | 1 | -0/+2 | |
| | | | | llvm-svn: 72656 | |||||
* | Emit destructors correctly for temporaries. | Anders Carlsson | 2009-05-31 | 1 | -0/+4 | |
| | | | | llvm-svn: 72655 | |||||
* | Add lvalue irgen support for CXXBindTemporaryExpr. | Anders Carlsson | 2009-05-30 | 1 | -0/+1 | |
| | | | | llvm-svn: 72649 | |||||
* | More temporary support. | Anders Carlsson | 2009-05-30 | 1 | -1/+6 | |
| | | | | llvm-svn: 72648 | |||||
* | Add code for emitting C++ destructors. Not used yet. | Anders Carlsson | 2009-05-29 | 1 | -0/+4 | |
| | | | | llvm-svn: 72591 | |||||
* | Fixup the rest of the trivial cases of the codegen of volatile. If | Mike Stump | 2009-05-29 | 1 | -2/+5 | |
| | | | | | | | any body can spot codegen bugs with volatile, or knows of any in the bug database, let me know. llvm-svn: 72572 | |||||
* | Handle operator call expressions where the callee is a member function. | Anders Carlsson | 2009-05-27 | 1 | -0/+3 | |
| | | | | llvm-svn: 72458 | |||||
* | Rename an EmitCallExpr function to EmitCall to make it clear that it doesn't ↵ | Anders Carlsson | 2009-05-27 | 1 | -7/+5 | |
| | | | | | | emit an expr. llvm-svn: 72446 | |||||
* | Fixup codegen for volatile structs in the trivial cases (a a=a and a=a=a). | Mike Stump | 2009-05-26 | 1 | -2/+5 | |
| | | | | llvm-svn: 72439 | |||||
* | Track volatile aggregate copies better. I'm hoping someone else will decide | Mike Stump | 2009-05-23 | 1 | -1/+5 | |
| | | | | | | how to get the backend to know that the operation is volatile. llvm-svn: 72348 | |||||
* | Add EmitReferenceBindingToExpr. Have EmitCallArg use it for now. Doesn't ↵ | Anders Carlsson | 2009-05-20 | 1 | -0/+4 | |
| | | | | | | support anything but at least we don't crash ;) llvm-svn: 72147 | |||||
* | Pass the destination QualType to EmitStoreOfScalar. No functionality change. | Anders Carlsson | 2009-05-19 | 1 | -1/+1 | |
| | | | | llvm-svn: 72118 | |||||
* | Factor code that's common to EmitCXXMemberCallExpr and ↵ | Anders Carlsson | 2009-05-11 | 1 | -0/+7 | |
| | | | | | | EmitCXXConstructorCall out into a EmitCXXMemberCall function. llvm-svn: 71514 | |||||
* | Remove unnecessary copy of constraint info. | Daniel Dunbar | 2009-05-04 | 1 | -1/+2 | |
| | | | | llvm-svn: 70835 | |||||
* | Make codegen for constructors work again. | Anders Carlsson | 2009-05-03 | 1 | -3/+1 | |
| | | | | llvm-svn: 70785 | |||||
* | split ObjC and C++ Statements out into their own headers. | Chris Lattner | 2009-04-26 | 1 | -0/+4 | |
| | | | | llvm-svn: 70105 | |||||
* | fix PR4067: [Linux kernel] cannot aggregate codegen stmtexpr as lvalue | Chris Lattner | 2009-04-25 | 1 | -1/+2 | |
| | | | | llvm-svn: 70067 | |||||
* | the logic for computing __func__ and friends is really broken: | Chris Lattner | 2009-04-23 | 1 | -2/+4 | |
| | | | | | | | | | the type assigned by sema (and is visible with sizeof(__func__) for example) has nothing to do with what codegen ends up producing. We should eventually add a method on PredefinedExpr to handle this. In the meantime, just set up some framework and add some fixme's. llvm-svn: 69872 | |||||
* | Make ObjCInterfaceDecl's const in some more places. | Daniel Dunbar | 2009-04-22 | 1 | -1/+1 | |
| | | | | llvm-svn: 69775 | |||||
* | Kill ASTContext::[gs]etFieldForDecl, instead we just lookup things | Daniel Dunbar | 2009-04-21 | 1 | -1/+0 | |
| | | | | | | | | when we need them -- which is exactly what some code was already doing! - No intended functionality change. llvm-svn: 69648 | |||||
* | Silence gcc warning. | Eli Friedman | 2009-04-19 | 1 | -1/+1 | |
| | | | | llvm-svn: 69541 | |||||
* | Make CodeGenFunction::EmitCallArgs a template function that takes a generic ↵ | Anders Carlsson | 2009-04-18 | 1 | -6/+38 | |
| | | | | | | "Type Info" parameter. The type info parameter knows how to iterate over its arguments. llvm-svn: 69469 | |||||
* | Implement basic code generation of constructor calls. We can now compile: | Anders Carlsson | 2009-04-17 | 1 | -0/+10 | |
| | | | | | | | | | | | | struct S { S(int, int); }; void f() { S s(10, 10); } llvm-svn: 69330 | |||||
* | Support code generation of 'this' exprs | Anders Carlsson | 2009-04-14 | 1 | -0/+4 | |
| | | | | llvm-svn: 69050 | |||||
* | Remove asserts that weren't really useful, and that would fire in case the ↵ | Anders Carlsson | 2009-04-10 | 1 | -5/+0 | |
| | | | | | | CleanupEntries vector needed to be reallocated. llvm-svn: 68835 | |||||
* | Add code for emitting call arguments (not used yet). | Anders Carlsson | 2009-04-08 | 1 | -0/+11 | |
| | | | | llvm-svn: 68639 | |||||
* | Add some basic support for generating C++ member functions. | Anders Carlsson | 2009-04-04 | 1 | -0/+4 | |
| | | | | llvm-svn: 68425 | |||||
* | Add support for calling C++ member functions. | Anders Carlsson | 2009-04-03 | 1 | -0/+1 | |
| | | | | llvm-svn: 68412 | |||||
* | Fix a subtle bug where the cleanup scope entries had a dangling block reference | Daniel Dunbar | 2009-04-01 | 1 | -0/+5 | |
| | | | | | | | | | - <rdar://problem/6732143> Crash when generating @synchronize for zero-cost exception - Thanks to Anders for helping track down the problem. llvm-svn: 68186 | |||||
* | remove some obsolete comments, use an AssertingVH. | Chris Lattner | 2009-03-31 | 1 | -8/+5 | |
| | | | | llvm-svn: 68151 | |||||
* | Fixup codegen for block literals that bleed copy/dispose information | Mike Stump | 2009-03-25 | 1 | -1/+2 | |
| | | | | | | from previous block literals. llvm-svn: 67696 | |||||
* | Support member reference on ?: of struct type. | Daniel Dunbar | 2009-03-24 | 1 | -0/+1 | |
| | | | | llvm-svn: 67603 | |||||
* | Fix codegen for support for super inside block literal expressions. | Mike Stump | 2009-03-20 | 1 | -1/+4 | |
| | | | | llvm-svn: 67406 |