Struct-path aware TBAA: change the format of TBAAStructType node.
authorManman Ren <mren@apple.com>
Sat, 27 Apr 2013 00:26:11 +0000 (00:26 +0000)
committerManman Ren <mren@apple.com>
Sat, 27 Apr 2013 00:26:11 +0000 (00:26 +0000)
commita5b314c27a585b979ac9c9da944aa3cec27d22a6
tree6920aff228604d7b4b359446caf305078db77347
parent13131e62fc9a523b3cc8ad98cc9def97ff89391a
Struct-path aware TBAA: change the format of TBAAStructType node.

We switch the order of offset and field type to make TBAAStructType node
(name, parent node, offset) similar to scalar TBAA node (name, parent node).
TypeIsImmutable is added to TBAAStructTag node.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180654 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/MDBuilder.h
lib/Analysis/TypeBasedAliasAnalysis.cpp
test/Analysis/TypeBasedAliasAnalysis/tbaa-path.ll