]> granicus.if.org Git - clang/commit
CodeGen: New vtable group representation: struct of vtable arrays.
authorPeter Collingbourne <peter@pcc.me.uk>
Tue, 13 Dec 2016 20:40:39 +0000 (20:40 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Tue, 13 Dec 2016 20:40:39 +0000 (20:40 +0000)
commit3382b3d8014580d448579116843bfd6c26d9e286
treec374cf6b870e821c35796f48525f345d50902b78
parent531f88b4809c3d4154ee7d1f664805fe15709701
CodeGen: New vtable group representation: struct of vtable arrays.

In a future change, this representation will allow us to use the new inrange
annotation on getelementptr to allow the optimizer to split vtable groups.

Differential Revision: https://reviews.llvm.org/D22296

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@289584 91177308-0d34-0410-b5e6-96231b3b80d8
41 files changed:
include/clang/AST/VTableBuilder.h
include/clang/Basic/LLVM.h
lib/AST/VTableBuilder.cpp
lib/CodeGen/CGCXX.cpp
lib/CodeGen/CGVTT.cpp
lib/CodeGen/CGVTables.cpp
lib/CodeGen/CGVTables.h
lib/CodeGen/ItaniumCXXABI.cpp
lib/CodeGen/MicrosoftCXXABI.cpp
test/CodeGenCXX/PR26569.cpp
test/CodeGenCXX/apple-kext-indirect-call-2.cpp
test/CodeGenCXX/apple-kext-indirect-call.cpp
test/CodeGenCXX/apple-kext-indirect-virtual-dtor-call.cpp
test/CodeGenCXX/cfi-cross-dso.cpp
test/CodeGenCXX/const-init-cxx11.cpp
test/CodeGenCXX/constructor-init.cpp
test/CodeGenCXX/copy-constructor-synthesis-2.cpp
test/CodeGenCXX/copy-constructor-synthesis.cpp
test/CodeGenCXX/ctor-dtor-alias.cpp
test/CodeGenCXX/dllexport.cpp
test/CodeGenCXX/dllimport-rtti.cpp
test/CodeGenCXX/dllimport.cpp
test/CodeGenCXX/invariant.group-for-vptrs.cpp
test/CodeGenCXX/key-function-vtable.cpp
test/CodeGenCXX/microsoft-abi-constexpr-vs-inheritance.cpp
test/CodeGenCXX/microsoft-abi-extern-template.cpp
test/CodeGenCXX/microsoft-abi-multiple-nonvirtual-inheritance.cpp
test/CodeGenCXX/microsoft-abi-structors.cpp
test/CodeGenCXX/microsoft-abi-vftables.cpp
test/CodeGenCXX/microsoft-abi-virtual-inheritance.cpp
test/CodeGenCXX/microsoft-abi-vtables-return-thunks.cpp
test/CodeGenCXX/microsoft-abi-vtables-single-inheritance.cpp
test/CodeGenCXX/microsoft-abi-vtables-virtual-inheritance.cpp
test/CodeGenCXX/microsoft-interface.cpp
test/CodeGenCXX/microsoft-no-rtti-data.cpp
test/CodeGenCXX/skip-vtable-pointer-initialization.cpp
test/CodeGenCXX/strict-vtable-pointers.cpp
test/CodeGenCXX/vtable-align.cpp
test/CodeGenCXX/vtable-assume-load.cpp
test/CodeGenCXX/vtable-pointer-initialization.cpp
test/CodeGenCXX/vtt-layout.cpp