summaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/virt.cpp
Commit message (Collapse)AuthorAge
...
* Testcase for an almost recent checkin.Mike Stump2009-08-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@80189 91177308-0d34-0410-b5e6-96231b3b80d8
* Fixup codegen for static dispatch to a virtual function that wasMike Stump2009-08-26
| | | | | | | almost correct. :-) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@80181 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement virtual dispatch. :-) This is self-consistent with clang,Mike Stump2009-08-26
| | | | | | | | but not yet necessarily perfectly consistent with gcc. Also addressed Doug and John's comments. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@80137 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert r80064 since it broke the build.Anders Carlsson2009-08-26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@80066 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement virtual dispatch. :-) This is self-consistent with clang, but ↵Mike Stump2009-08-26
| | | | | | | | | not yet necessarily perfectly consistent with gcc. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@80064 91177308-0d34-0410-b5e6-96231b3b80d8
* Testcase for a recent checkin.Mike Stump2009-08-21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79646 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix typo.Mike Stump2009-08-21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79632 91177308-0d34-0410-b5e6-96231b3b80d8
* We now support overriding base functions in vtables. WIP.Mike Stump2009-08-21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79587 91177308-0d34-0410-b5e6-96231b3b80d8
* Refine vbase offsets for the inductive case. Things are now startingMike Stump2009-08-20
| | | | | | | to come together nicely. Still a WIP. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79521 91177308-0d34-0410-b5e6-96231b3b80d8
* Ensure we don't output repeated vbase offsets. I have a testcase forMike Stump2009-08-20
| | | | | | | | this, but need to fixup the actual offset value before I can check it in. WIP. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79506 91177308-0d34-0410-b5e6-96231b3b80d8
* Update for recent improvements.Mike Stump2009-08-19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79421 91177308-0d34-0410-b5e6-96231b3b80d8
* Restore vbase offsets for classes without a primary.Mike Stump2009-08-19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79402 91177308-0d34-0410-b5e6-96231b3b80d8
* Refine vcalls a little.Mike Stump2009-08-19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79400 91177308-0d34-0410-b5e6-96231b3b80d8
* Refine vbase offset calculations. WIP.Mike Stump2009-08-16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79198 91177308-0d34-0410-b5e6-96231b3b80d8
* Use the -NEXT feature of FileCheck.Mike Stump2009-08-16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79166 91177308-0d34-0410-b5e6-96231b3b80d8
* Cleanups and fixups for calculating the virtual base offsets. WIP.Mike Stump2009-08-16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79156 91177308-0d34-0410-b5e6-96231b3b80d8
* Testcase for a recent checkin.Mike Stump2009-08-14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78974 91177308-0d34-0410-b5e6-96231b3b80d8
* Testcase for recent checkin.Mike Stump2009-08-14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78973 91177308-0d34-0410-b5e6-96231b3b80d8
* Testcase for a recent checkin.Mike Stump2009-08-14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78972 91177308-0d34-0410-b5e6-96231b3b80d8
* Add testcase for recent work.Mike Stump2009-08-13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78959 91177308-0d34-0410-b5e6-96231b3b80d8
* Refine vtable layout for virtual bases and keep better track ofMike Stump2009-08-13
| | | | | | | primaries. WIP. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78950 91177308-0d34-0410-b5e6-96231b3b80d8
* Refine virtual base layout. WIP.Mike Stump2009-08-13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78873 91177308-0d34-0410-b5e6-96231b3b80d8
* Refine primary vbase selection ordering. WIP.Mike Stump2009-08-12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78844 91177308-0d34-0410-b5e6-96231b3b80d8
* Improve the secondary vtables to not include vbase offsets. WIP.Mike Stump2009-08-12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78831 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement more of the inductive case for vtable layout involvingMike Stump2009-08-11
| | | | | | | | | | | | | | | | | | | | | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78638 91177308-0d34-0410-b5e6-96231b3b80d8
* Add vbase offsets to the vtable. Wow, having an rbegin was soMike Stump2009-08-07
| | | | | | | fortuitous. WIP. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78413 91177308-0d34-0410-b5e6-96231b3b80d8
* Add ability to generate vcall offsets for primary virtual base.Mike Stump2009-08-07
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78396 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for vcall generation for vtables for virtual bases. WIP.Mike Stump2009-08-06
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78357 91177308-0d34-0410-b5e6-96231b3b80d8
* Almost forgot to turn on 32-bit test.Mike Stump2009-08-06
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78346 91177308-0d34-0410-b5e6-96231b3b80d8
* Testcase for recent checkin.Mike Stump2009-08-06
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78344 91177308-0d34-0410-b5e6-96231b3b80d8
* Also generate the rtti field for virtual bases for vtables. Turn onMike Stump2009-08-06
| | | | | | | | rtti so we can properly test it. Refactor code a little. Still a work in progress. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78343 91177308-0d34-0410-b5e6-96231b3b80d8
* Layout the primary base first in the vtable.Mike Stump2009-08-06
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78327 91177308-0d34-0410-b5e6-96231b3b80d8
* More layout for virtual tables for virtual bases. Still in progress.Mike Stump2009-08-06
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78314 91177308-0d34-0410-b5e6-96231b3b80d8
* Let's remember we want better codegen for these.Mike Stump2009-08-06
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78310 91177308-0d34-0410-b5e6-96231b3b80d8
* Testcase for a recent checkin for vbase layout ordering. I hate toMike Stump2009-08-06
| | | | | | | | optimize and check for non-optimal code, but until the frontend is as powerful as fold... git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78309 91177308-0d34-0410-b5e6-96231b3b80d8
* Layout virtual bases. Work in progress.Mike Stump2009-08-06
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78308 91177308-0d34-0410-b5e6-96231b3b80d8
* Fixup object layout when we have a primary base (it goes first). Start ↵Mike Stump2009-08-06
| | | | | | | | | preping for virtual base layout. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78265 91177308-0d34-0410-b5e6-96231b3b80d8
* Add another test for a recent checkin.Mike Stump2009-08-05
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78253 91177308-0d34-0410-b5e6-96231b3b80d8
* Calculate the primary base class better and use that when laying downMike Stump2009-08-05
| | | | | | | the vtable. Still a work in progress. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78252 91177308-0d34-0410-b5e6-96231b3b80d8
* vtable building for simple inheritance. Still in progress.Mike Stump2009-08-04
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78110 91177308-0d34-0410-b5e6-96231b3b80d8
* Test cases for some recent work.Mike Stump2009-08-04
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78100 91177308-0d34-0410-b5e6-96231b3b80d8
* Add ability to layout the vtable pointer in trivial cases. I noticedMike Stump2009-07-30
that we would silently do bad things with virtual bases in the layout code, so, we just turn them off. When people do better things with them, we can turn them back on. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77556 91177308-0d34-0410-b5e6-96231b3b80d8