[CodeGen] Propagate may-alias'ness of lvalues with TBAA info
authorIvan A. Kosarev <ikosarev@accesssoftek.com>
Tue, 31 Oct 2017 11:05:34 +0000 (11:05 +0000)
committerIvan A. Kosarev <ikosarev@accesssoftek.com>
Tue, 31 Oct 2017 11:05:34 +0000 (11:05 +0000)
commitb9c59f36fc2ae7008801c2c2966db7e3a8427251
treef223281598aa8f9f7b3c637ba99910fe47e2fdef
parent7263f1bda695772732c5a8ddbed2d07713a7e59c
[CodeGen] Propagate may-alias'ness of lvalues with TBAA info

This patch fixes various places in clang to propagate may-alias
TBAA access descriptors during construction of lvalues, thus
eliminating the need for the LValueBaseInfo::MayAlias flag.

This is part of D38126 reworked to be a separate patch to
simplify review.

Differential Revision: https://reviews.llvm.org/D39008

llvm-svn: 316988
clang/lib/CodeGen/CGExpr.cpp
clang/lib/CodeGen/CGObjCRuntime.cpp
clang/lib/CodeGen/CGOpenMPRuntime.cpp
clang/lib/CodeGen/CGValue.h
clang/lib/CodeGen/CodeGenFunction.cpp
clang/lib/CodeGen/CodeGenFunction.h
clang/lib/CodeGen/CodeGenModule.cpp
clang/lib/CodeGen/CodeGenModule.h
clang/lib/CodeGen/CodeGenTBAA.cpp
clang/lib/CodeGen/CodeGenTBAA.h