diff options
author | Ivan A. Kosarev <ikosarev@accesssoftek.com> | 2017-10-17 09:12:13 +0000 |
---|---|---|
committer | Ivan A. Kosarev <ikosarev@accesssoftek.com> | 2017-10-17 09:12:13 +0000 |
commit | ed141bab630026a6109acc89556dd8ff3eaee504 (patch) | |
tree | e59c276f26db097ff62ae194542ad754325e720a /clang/lib/CodeGen/CodeGenModule.h | |
parent | 5bfbfb48b5e92b2cdd6832b09051ac41c6549534 (diff) | |
download | llvm-ed141bab630026a6109acc89556dd8ff3eaee504.zip llvm-ed141bab630026a6109acc89556dd8ff3eaee504.tar.gz llvm-ed141bab630026a6109acc89556dd8ff3eaee504.tar.bz2 |
[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.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h index ae0e5ca..ebc1ec6 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); |