Reword the definition of the noalias attribute. The intention is for
authorDan Gohman <gohman@apple.com>
Fri, 2 Jul 2010 18:41:32 +0000 (18:41 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 2 Jul 2010 18:41:32 +0000 (18:41 +0000)
commit1e109621f1f9173df62958eca4260c809114bc3d
tree7bd0dacd185a34484255d18a6fe489c8388ba56c
parent8de3b1eb868fc5e9b6acb334ee487d943863f810
Reword the definition of the noalias attribute. The intention is for
the noalias argument on function attributes be usable to model the
C99 restrict keyword on arguments, and to allow AliasAnalysis to
consider a noalias-attributed argument to be an "identified object".

To support this, refactor a new "based on" concept out of the current
pointer aliasing "associated" concept. This "based on" concept is very
similar to (though it is not identical with) the "based on" concept
in C99.

Also, reword the definition of NoAlias to more closely describe the
concept that the optimizer uses.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107495 91177308-0d34-0410-b5e6-96231b3b80d8
docs/AliasAnalysis.html
docs/LangRef.html