diff options
author | Ivan A. Kosarev <ikosarev@accesssoftek.com> | 2017-10-03 10:52:39 +0000 |
---|---|---|
committer | Ivan A. Kosarev <ikosarev@accesssoftek.com> | 2017-10-03 10:52:39 +0000 |
commit | a511ed75013f049eaf6f1978bff15cb7020524d4 (patch) | |
tree | 9c6b03cf228792b063641ea2a941a43ed6dbeb24 /clang/lib/CodeGen/CodeGenModule.h | |
parent | e093bad472ce7ad1715321abbb3b1fdbf42e2693 (diff) | |
download | bcm5719-llvm-a511ed75013f049eaf6f1978bff15cb7020524d4.tar.gz bcm5719-llvm-a511ed75013f049eaf6f1978bff15cb7020524d4.zip |
[CodeGen] Introduce generic TBAA access descriptors
With this patch we implement a concept of TBAA access descriptors
that are capable of representing both scalar and struct-path
accesses in a generic way.
This is part of D37826 reworked to be a separate patch to
simplify review.
Differential Revision: https://reviews.llvm.org/D38456
llvm-svn: 314780
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h index 1f26be6f2bd..33b622972d9 100644 --- a/clang/lib/CodeGen/CodeGenModule.h +++ b/clang/lib/CodeGen/CodeGenModule.h @@ -658,9 +658,9 @@ public: llvm::MDNode *getTBAAInfoForVTablePtr(); llvm::MDNode *getTBAAStructInfo(QualType QTy); - /// Return the path-aware tag for given base type, access node and offset. - llvm::MDNode *getTBAAStructTagInfo(QualType BaseTy, llvm::MDNode *AccessN, - uint64_t O); + + /// Get path-aware TBAA tag for a given memory access. + llvm::MDNode *getTBAAStructTagInfo(TBAAAccessInfo Info); /// getTBAAMayAliasTypeInfo - Get TBAA information that represents /// may-alias accesses. |