diff options
author | Ivan A. Kosarev <ikosarev@accesssoftek.com> | 2017-10-13 16:50:50 +0000 |
---|---|---|
committer | Ivan A. Kosarev <ikosarev@accesssoftek.com> | 2017-10-13 16:50:50 +0000 |
commit | 1590fd3aa832cd2407d945418fc6934a6b3fd8b9 (patch) | |
tree | 8c979df489cdf10abe7b1a94cce052ef3070bb74 /clang/lib/CodeGen/CodeGenFunction.h | |
parent | 9029564e8c8edafa078b91b0f6b16b19438dabf7 (diff) | |
download | llvm-1590fd3aa832cd2407d945418fc6934a6b3fd8b9.zip llvm-1590fd3aa832cd2407d945418fc6934a6b3fd8b9.tar.gz llvm-1590fd3aa832cd2407d945418fc6934a6b3fd8b9.tar.bz2 |
[CodeGen] EmitLoadOfReference() to generate TBAA info along with LValue base info
This patch should not bring in any functional changes.
Differential Revision: https://reviews.llvm.org/D38793
llvm-svn: 315705
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index 2b8720a..1f046fa 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -1944,7 +1944,8 @@ public: LValueBaseInfo *BaseInfo = nullptr); Address EmitLoadOfReference(Address Ref, const ReferenceType *RefTy, - LValueBaseInfo *BaseInfo = nullptr); + LValueBaseInfo *BaseInfo = nullptr, + TBAAAccessInfo *TBAAInfo = nullptr); LValue EmitLoadOfReferenceLValue(Address Ref, const ReferenceType *RefTy); Address EmitLoadOfPointer(Address Ptr, const PointerType *PtrTy, |