summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorIvan A. Kosarev <ikosarev@accesssoftek.com>2017-10-17 09:12:13 +0000
committerIvan A. Kosarev <ikosarev@accesssoftek.com>2017-10-17 09:12:13 +0000
commited141bab630026a6109acc89556dd8ff3eaee504 (patch)
treee59c276f26db097ff62ae194542ad754325e720a /clang/lib/CodeGen/CodeGenModule.h
parent5bfbfb48b5e92b2cdd6832b09051ac41c6549534 (diff)
downloadbcm5719-llvm-ed141bab630026a6109acc89556dd8ff3eaee504.tar.gz
bcm5719-llvm-ed141bab630026a6109acc89556dd8ff3eaee504.zip
[CodeGen] EmitPointerWithAlignment() to generate TBAA info along with LValue base info
Differential Revision: https://reviews.llvm.org/D38796 llvm-svn: 315984
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 ae0e5cabe2f..ebc1ec65cfe 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