summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.h
Commit message (Collapse)AuthorAgeFilesLines
...
* Add support for vcall generation for vtables for virtual bases. WIP.Mike Stump2009-08-061-1/+2
| | | | llvm-svn: 78357
* Also generate the rtti field for virtual bases for vtables. Turn onMike Stump2009-08-061-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 Stump2009-08-061-0/+2
| | | | llvm-svn: 78314
* Update for LLVM API change.Owen Anderson2009-08-051-1/+1
| | | | llvm-svn: 78259
* Add beginnigs of rtti generation, wire up more of -fno-exceptions.Mike Stump2009-07-311-0/+1
| | | | llvm-svn: 77751
* Add code to setup the vtable pointer in the constructor. Work in progress.Mike Stump2009-07-311-0/+2
| | | | llvm-svn: 77699
* Patch for future ir-gen for destructor calls.Fariborz Jahanian2009-07-301-1/+6
| | | | llvm-svn: 77608
* Some code cleanup.Fariborz Jahanian2009-07-281-2/+2
| | | | llvm-svn: 77339
* More work toward data member access ir-gen.Fariborz Jahanian2009-07-281-0/+8
| | | | llvm-svn: 77332
* Early ir-gen for constructor prologue. This is on going.Fariborz Jahanian2009-07-201-0/+2
| | | | llvm-svn: 76493
* Avoid generation of dead code in a few more situations.Daniel Dunbar2009-07-191-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 Anderson2009-07-141-1/+1
| | | | llvm-svn: 75705
* Update for LLVM API change.Owen Anderson2009-07-131-0/+4
| | | | llvm-svn: 75446
* Implemented memmove_collectable API for Next runtimeFariborz Jahanian2009-07-081-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 Carlsson2009-06-041-0/+19
| | | | llvm-svn: 72835
* More temporary work.Anders Carlsson2009-06-031-2/+3
| | | | llvm-svn: 72796
* Store more information about live temporaries. No functionality change for now.Anders Carlsson2009-06-031-1/+24
| | | | llvm-svn: 72793
* Add a new function for emitting new functions.Anders Carlsson2009-05-311-0/+2
| | | | llvm-svn: 72656
* Emit destructors correctly for temporaries.Anders Carlsson2009-05-311-0/+4
| | | | llvm-svn: 72655
* Add lvalue irgen support for CXXBindTemporaryExpr.Anders Carlsson2009-05-301-0/+1
| | | | llvm-svn: 72649
* More temporary support.Anders Carlsson2009-05-301-1/+6
| | | | llvm-svn: 72648
* Add code for emitting C++ destructors. Not used yet.Anders Carlsson2009-05-291-0/+4
| | | | llvm-svn: 72591
* Fixup the rest of the trivial cases of the codegen of volatile. IfMike Stump2009-05-291-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 Carlsson2009-05-271-0/+3
| | | | llvm-svn: 72458
* Rename an EmitCallExpr function to EmitCall to make it clear that it doesn't ↵Anders Carlsson2009-05-271-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 Stump2009-05-261-2/+5
| | | | llvm-svn: 72439
* Track volatile aggregate copies better. I'm hoping someone else will decideMike Stump2009-05-231-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 Carlsson2009-05-201-0/+4
| | | | | | support anything but at least we don't crash ;) llvm-svn: 72147
* Pass the destination QualType to EmitStoreOfScalar. No functionality change.Anders Carlsson2009-05-191-1/+1
| | | | llvm-svn: 72118
* Factor code that's common to EmitCXXMemberCallExpr and ↵Anders Carlsson2009-05-111-0/+7
| | | | | | EmitCXXConstructorCall out into a EmitCXXMemberCall function. llvm-svn: 71514
* Remove unnecessary copy of constraint info.Daniel Dunbar2009-05-041-1/+2
| | | | llvm-svn: 70835
* Make codegen for constructors work again.Anders Carlsson2009-05-031-3/+1
| | | | llvm-svn: 70785
* split ObjC and C++ Statements out into their own headers.Chris Lattner2009-04-261-0/+4
| | | | llvm-svn: 70105
* fix PR4067: [Linux kernel] cannot aggregate codegen stmtexpr as lvalue Chris Lattner2009-04-251-1/+2
| | | | llvm-svn: 70067
* the logic for computing __func__ and friends is really broken:Chris Lattner2009-04-231-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 Dunbar2009-04-221-1/+1
| | | | llvm-svn: 69775
* Kill ASTContext::[gs]etFieldForDecl, instead we just lookup thingsDaniel Dunbar2009-04-211-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 Friedman2009-04-191-1/+1
| | | | llvm-svn: 69541
* Make CodeGenFunction::EmitCallArgs a template function that takes a generic ↵Anders Carlsson2009-04-181-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 Carlsson2009-04-171-0/+10
| | | | | | | | | | | | struct S { S(int, int); }; void f() { S s(10, 10); } llvm-svn: 69330
* Support code generation of 'this' exprsAnders Carlsson2009-04-141-0/+4
| | | | llvm-svn: 69050
* Remove asserts that weren't really useful, and that would fire in case the ↵Anders Carlsson2009-04-101-5/+0
| | | | | | CleanupEntries vector needed to be reallocated. llvm-svn: 68835
* Add code for emitting call arguments (not used yet).Anders Carlsson2009-04-081-0/+11
| | | | llvm-svn: 68639
* Add some basic support for generating C++ member functions.Anders Carlsson2009-04-041-0/+4
| | | | llvm-svn: 68425
* Add support for calling C++ member functions.Anders Carlsson2009-04-031-0/+1
| | | | llvm-svn: 68412
* Fix a subtle bug where the cleanup scope entries had a dangling block referenceDaniel Dunbar2009-04-011-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 Lattner2009-03-311-8/+5
| | | | llvm-svn: 68151
* Fixup codegen for block literals that bleed copy/dispose informationMike Stump2009-03-251-1/+2
| | | | | | from previous block literals. llvm-svn: 67696
* Support member reference on ?: of struct type.Daniel Dunbar2009-03-241-0/+1
| | | | llvm-svn: 67603
* Fix codegen for support for super inside block literal expressions.Mike Stump2009-03-201-1/+4
| | | | llvm-svn: 67406
OpenPOWER on IntegriCloud