summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGVtable.cpp
Commit message (Collapse)AuthorAge
...
* Allow the tracking of address points for construction vtables as well.Mike Stump2009-11-13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@87063 91177308-0d34-0410-b5e6-96231b3b80d8
* Refine which vtbl is refernced in VTTs.Mike Stump2009-11-12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@87043 91177308-0d34-0410-b5e6-96231b3b80d8
* Refine offsets into vtables for the VTT.Mike Stump2009-11-12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@87041 91177308-0d34-0410-b5e6-96231b3b80d8
* Refine vtable pointers for secondary vtables inside VTTs to point toMike Stump2009-11-12
| | | | | | | the right base vtable. WIP. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@87039 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix the offset calculations for non-virtual bases with overrides.Mike Stump2009-11-12
| | | | | | | | | | Refine the VTT entries for virtual bases to refer to the complete object's vtable instead of constructor vtables. Refine the AddressPoint calculations for VTT entries for virtual bases. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@87021 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix ctor vtable name. WIP.Mike Stump2009-11-11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86879 91177308-0d34-0410-b5e6-96231b3b80d8
* Push ctor vtable construction down further. WIP.Mike Stump2009-11-11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86878 91177308-0d34-0410-b5e6-96231b3b80d8
* More VTT work. We now track offsets and use the ctor vtable builderMike Stump2009-11-11
| | | | | | | interface. WIP. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86793 91177308-0d34-0410-b5e6-96231b3b80d8
* Stub out most of the VTT building code. WIP.Mike Stump2009-11-11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86772 91177308-0d34-0410-b5e6-96231b3b80d8
* Only generate a VTT for classes that need a VTT.Mike Stump2009-11-10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86699 91177308-0d34-0410-b5e6-96231b3b80d8
* Add vtable caching to prevent multiple vtables for the same class fromMike Stump2009-11-10
| | | | | | | | | being generated. Add the most derived vtable pointer to the VTT. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86671 91177308-0d34-0410-b5e6-96231b3b80d8
* Be sure to clear out VCall when we clear out VCalls.Mike Stump2009-11-10
| | | | | | | Start implementing VTTs. WIP. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86650 91177308-0d34-0410-b5e6-96231b3b80d8
* Refine the non-virtual this adjustment. Optimize out virtual thisMike Stump2009-11-06
| | | | | | | adjustments of zero. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86300 91177308-0d34-0410-b5e6-96231b3b80d8
* Refine the vcall for a function that is defined in a virtual baseMike Stump2009-11-06
| | | | | | | class that is overridden in a base that isn't morally virtual. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86217 91177308-0d34-0410-b5e6-96231b3b80d8
* Refine codegen for covariant thunks that return references.Mike Stump2009-11-03
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85916 91177308-0d34-0410-b5e6-96231b3b80d8
* Refine vcall/vbase ordering with vtable construction.Mike Stump2009-10-31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85677 91177308-0d34-0410-b5e6-96231b3b80d8
* Refactor a bit.Mike Stump2009-10-28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85424 91177308-0d34-0410-b5e6-96231b3b80d8
* Finish off pure virtual function handling.Mike Stump2009-10-28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85354 91177308-0d34-0410-b5e6-96231b3b80d8
* Prep work for putting ___cxa_pure_virtual in the vtables for pure functions.Mike Stump2009-10-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85345 91177308-0d34-0410-b5e6-96231b3b80d8
* Refactor code a little.Mike Stump2009-10-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85343 91177308-0d34-0410-b5e6-96231b3b80d8
* Switch vtable to linkeonce_odr. Patch by nlewycky.Chandler Carruth2009-10-26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85131 91177308-0d34-0410-b5e6-96231b3b80d8
* Refine non-virtual part of the this adjustment for thunks. RefineMike Stump2009-10-15
| | | | | | | | non-virtual part of the return result adjustments for covariant thunks. WIP. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84178 91177308-0d34-0410-b5e6-96231b3b80d8
* Track the offset to the current virtual base in CurrentVBaseOffset.Mike Stump2009-10-15
| | | | | | | Track path information completely to ensure we get all the overrides. WIP. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84166 91177308-0d34-0410-b5e6-96231b3b80d8
* Shift the vcall slots for non-virtual bases of a virtual base, up intoMike Stump2009-10-14
| | | | | | | | | the virtual base so they can be reused properly. Don't reuse vcall slots across a virtual boundary. WIP. I have a testcase, but there are still things that need to be fixed before the testcase can go in. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84120 91177308-0d34-0410-b5e6-96231b3b80d8
* Refine handling for non-virtual bases in return value adjustments forMike Stump2009-10-13
| | | | | | | covariant thunks. WIP. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84046 91177308-0d34-0410-b5e6-96231b3b80d8
* Ensure we sign extend.Mike Stump2009-10-13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84031 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove FIXME. We construct VBIndex very early, before any calls to ↵Mike Stump2009-10-13
| | | | | | OverrideMethod. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83981 91177308-0d34-0410-b5e6-96231b3b80d8
* Refine handling for return value conversions with respect to virtualMike Stump2009-10-13
| | | | | | | offsets for covariant thunks. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83965 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove dead variable.Benjamin Kramer2009-10-11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83808 91177308-0d34-0410-b5e6-96231b3b80d8
* Move the vtable builder to CGVtable.cpp, general cleanup.Anders Carlsson2009-10-11
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83798 91177308-0d34-0410-b5e6-96231b3b80d8