summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorIvan A. Kosarev <ikosarev@accesssoftek.com>2017-10-13 18:40:18 +0000
committerIvan A. Kosarev <ikosarev@accesssoftek.com>2017-10-13 18:40:18 +0000
commit0e528202b85c80b0d027d19bf82dc09ae4b7a7e3 (patch)
treed929ea170f664b7766508aecb763bfdb026fe1ca /clang/lib/CodeGen/CodeGenModule.h
parent8a8d945df7aa1b1f6d13bf72691b6628068488e4 (diff)
downloadbcm5719-llvm-0e528202b85c80b0d027d19bf82dc09ae4b7a7e3.tar.gz
bcm5719-llvm-0e528202b85c80b0d027d19bf82dc09ae4b7a7e3.zip
[CodeGen] EmitPointerWithAlignment() to generate TBAA info along with LValue base info
Differential Revision: https://reviews.llvm.org/D38796 llvm-svn: 315731
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h
index c28c62e0e69..89cd572c06c 100644
--- a/clang/lib/CodeGen/CodeGenModule.h
+++ b/clang/lib/CodeGen/CodeGenModule.h
@@ -677,6 +677,11 @@ public:
/// may-alias accesses.
TBAAAccessInfo getTBAAMayAliasAccessInfo();
+ /// mergeTBAAInfoForCast - Get merged TBAA information for the purposes of
+ /// type casts.
+ TBAAAccessInfo mergeTBAAInfoForCast(TBAAAccessInfo SourceInfo,
+ TBAAAccessInfo TargetInfo);
+
bool isTypeConstant(QualType QTy, bool ExcludeCtorDtor);
bool isPaddedAtomicType(QualType type);
OpenPOWER on IntegriCloud