[PATCH] D40176: [CodeGen] Collect information about sizes of accesses and access types for TBAA

Ivan Kosarev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 17 07:12:26 PST 2017


kosarev created this revision.
kosarev added a project: clang.

The information about access and type sizes is necessary for producing TBAA metadata in the new size-aware format. With this patch, https://reviews.llvm.org/D39955 and https://reviews.llvm.org/D39956 in place we should be able to change CodeGenTBAA::createScalarTypeNode() and CodeGenTBAA::getBaseTypeInfo() to generate metadata in the new format under the -new-struct-path-tbaa command-line option. For now, this new information remains unused.


Repository:
  rL LLVM

https://reviews.llvm.org/D40176

Files:
  lib/CodeGen/CGClass.cpp
  lib/CodeGen/CodeGenModule.cpp
  lib/CodeGen/CodeGenModule.h
  lib/CodeGen/CodeGenTBAA.cpp
  lib/CodeGen/CodeGenTBAA.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40176.123333.patch
Type: text/x-patch
Size: 16026 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171117/08a58c2f/attachment-0001.bin>


More information about the cfe-commits mailing list