summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGCXX.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Improved on ir-gen for synthesis of non-trivial defaultFariborz Jahanian2009-08-151-0/+23
| | | | | | | constructor body whose class has non-static data-members which required non-trivial construction. llvm-svn: 79125
* ir-gen for generation of trvial copy constructorFariborz Jahanian2009-08-141-0/+13
| | | | | | call. llvm-svn: 79034
* Deconflate virtual base offsets from non-virtual base offsets.Mike Stump2009-08-141-3/+10
| | | | | | Deconflate a virtual base primary from a non-virtual base. llvm-svn: 78971
* Fixed a bug in ir-gen for copy assignment synthesis.Fariborz Jahanian2009-08-141-1/+4
| | | | | | | | Fixed a bug when evaluating those copy-assignments which need by lazily syntheized. A test case for these. llvm-svn: 78965
* Refine vtable layout for virtual bases and keep better track ofMike Stump2009-08-131-11/+23
| | | | | | primaries. WIP. llvm-svn: 78950
* Update for LLVM API change.Owen Anderson2009-08-131-16/+16
| | | | llvm-svn: 78946
* Patch to force synthesis of copy assignment operatorFariborz Jahanian2009-08-131-0/+12
| | | | | | | | function in the order according to c++03. ir-gen for copy assignment in the trivial case and the first test case. llvm-svn: 78938
* Minor cleanups.Mike Stump2009-08-131-3/+2
| | | | llvm-svn: 78927
* Prep for vbase layout refinements. WIP.Mike Stump2009-08-131-1/+1
| | | | llvm-svn: 78882
* Minor refactoring of copy assign operator ir-gen. SWIP.Fariborz Jahanian2009-08-131-18/+21
| | | | llvm-svn: 78875
* More toward synthesizing copy assignments. SWIP.Fariborz Jahanian2009-08-121-4/+96
| | | | llvm-svn: 78861
* Cleanup.Mike Stump2009-08-121-8/+8
| | | | llvm-svn: 78858
* Refactor. WIP. Eventually, this will all go into a vtable builder class.Mike Stump2009-08-121-16/+18
| | | | llvm-svn: 78857
* Cleanup.Mike Stump2009-08-121-3/+1
| | | | llvm-svn: 78855
* Refactor.Mike Stump2009-08-121-19/+19
| | | | llvm-svn: 78854
* Refactor.Mike Stump2009-08-121-2/+5
| | | | llvm-svn: 78851
* Patch for synthesizing copy assignment operator.Fariborz Jahanian2009-08-121-0/+26
| | | | | | WIP. llvm-svn: 78841
* Improve the secondary vtables to not include vbase offsets. WIP.Mike Stump2009-08-121-13/+15
| | | | llvm-svn: 78831
* Refine vtable building for the secondary vtables to exclude yet moreMike Stump2009-08-121-6/+12
| | | | | | | cases where a virtual base was already used as a primary base class. WIP. llvm-svn: 78820
* ir-gen support for anonymous union data memberFariborz Jahanian2009-08-111-9/+10
| | | | | | | copying in copy constructors and used in default constructor's initializer list. llvm-svn: 78700
* Implement more of the inductive case for vtable layout involvingMike Stump2009-08-111-26/+45
| | | | | | | | | | | | | | | | | | | | | | | | virtual base primaries and improve the layout of classes with virtual bases. WIP. Hey, I've decided I want a change to FileCheck, I need to ensure that the group is together, nothing in between. Can we change it to check the match line is from the line immediately following the last matched line, if the source for the matched line is immediately after the source for the previously matched line? // CHECK: 1 // CHECK: 2 // CHECK: 3 // CHECK: 4 // CHECK: 5 // CHECK: 6 would require 1 2 and 3 to be continuous in the output, and 4 5 and 6 to be continuous. llvm-svn: 78638
* Support for anonymous union in ctor's initializer andFariborz Jahanian2009-08-101-6/+9
| | | | | | bunch of FIXMEs for their is-gen. llvm-svn: 78623
* minor refactoring. No change otherwise.Fariborz Jahanian2009-08-101-1/+12
| | | | llvm-svn: 78582
* ir-gen for generating copying of scalar data members inFariborz Jahanian2009-08-101-1/+5
| | | | | | a synthesized copy constructor. llvm-svn: 78580
* Fixed a ir-gen bug in synthesizing copy constructors.Fariborz Jahanian2009-08-101-1/+1
| | | | llvm-svn: 78570
* Older GCCs don't have vector::data().Benjamin Kramer2009-08-081-1/+1
| | | | llvm-svn: 78519
* ir-gen for initialization, in synthesize copy constructor, Fariborz Jahanian2009-08-081-12/+14
| | | | | | of base/field which have trivial copy constructor. llvm-svn: 78516
* Add support for global initializers.Anders Carlsson2009-08-081-0/+35
| | | | llvm-svn: 78515
* Refactor some code and implement support for global destructors for static ↵Anders Carlsson2009-08-081-12/+70
| | | | | | variables. llvm-svn: 78507
* Refactoring of copy ctor ir-gen. No change in functionality.Fariborz Jahanian2009-08-081-3/+7
| | | | llvm-svn: 78489
* Remove use of uninitized variable.Fariborz Jahanian2009-08-081-2/+1
| | | | llvm-svn: 78448
* Synthesize copying of non-static data members withFariborz Jahanian2009-08-081-12/+32
| | | | | | non-trivial copy constructors. llvm-svn: 78445
* Synthesized copy constructor now generates code forFariborz Jahanian2009-08-071-16/+48
| | | | | | | copying non-virtual base classes which have non-trivial constructor. Work in progress. llvm-svn: 78436
* Add vbase offsets to the vtable. Wow, having an rbegin was soMike Stump2009-08-071-0/+12
| | | | | | fortuitous. WIP. llvm-svn: 78413
* More synthesis of copy constructors. Work in progress.Fariborz Jahanian2009-08-071-0/+47
| | | | llvm-svn: 78402
* Fix typo.Mike Stump2009-08-071-1/+1
| | | | llvm-svn: 78401
* Add ability to generate vcall offsets for primary virtual base.Mike Stump2009-08-071-1/+3
| | | | llvm-svn: 78396
* Fix some const_cast issues. This is the beginning of the rabbit hole.Mike Stump2009-08-071-6/+2
| | | | llvm-svn: 78393
* Add support for vcall generation for vtables for virtual bases. WIP.Mike Stump2009-08-061-4/+24
| | | | llvm-svn: 78357
* Also generate the rtti field for virtual bases for vtables. Turn onMike Stump2009-08-061-29/+40
| | | | | | | rtti so we can properly test it. Refactor code a little. Still a work in progress. llvm-svn: 78343
* Set and use Elidable in elimination of copy ctors.Fariborz Jahanian2009-08-061-9/+3
| | | | llvm-svn: 78331
* Layout the primary base first in the vtable.Mike Stump2009-08-061-21/+14
| | | | llvm-svn: 78327
* More layout for virtual tables for virtual bases. Still in progress.Mike Stump2009-08-061-9/+26
| | | | llvm-svn: 78314
* Layout virtual bases. Work in progress.Mike Stump2009-08-061-3/+1
| | | | llvm-svn: 78308
* Patch to optimize away copy constructor call whenFariborz Jahanian2009-08-061-1/+14
| | | | | | appropriate. llvm-svn: 78267
* Refactor some bits.Mike Stump2009-08-051-1/+1
| | | | llvm-svn: 78254
* Calculate the primary base class better and use that when laying downMike Stump2009-08-051-11/+36
| | | | | | the vtable. Still a work in progress. llvm-svn: 78252
* vtable building for simple inheritance. Still in progress.Mike Stump2009-08-041-1/+18
| | | | llvm-svn: 78110
* Will I ever get used to CamelCase? Will I ever like capitols forMike Stump2009-08-041-7/+5
| | | | | | | | | random variables? --This line, and those below, will be ignored-- M lib/CodeGen/CGCXX.cpp llvm-svn: 78094
* Add beginnigs of rtti generation, wire up more of -fno-exceptions.Mike Stump2009-07-311-5/+36
| | | | llvm-svn: 77751
OpenPOWER on IntegriCloud