summaryrefslogtreecommitdiffstats
path: root/llvm/docs
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-12-10 19:38:58 +0000
committerDan Gohman <gohman@apple.com>2010-12-10 19:38:58 +0000
commit4bd64fa805c4f2dc487ce18cd8e1e11e46470c53 (patch)
treed64d669a8924649c593ab24cc05afea4c87cf369 /llvm/docs
parentd29b38c8931756140b86b5183385b8e39a1099c4 (diff)
downloadbcm5719-llvm-4bd64fa805c4f2dc487ce18cd8e1e11e46470c53.tar.gz
bcm5719-llvm-4bd64fa805c4f2dc487ce18cd8e1e11e46470c53.zip
Introduce a new PartialAlias response for AliasAnalysis. For most
AliasAnalysis consumers, PartialAlias will be treated as MayAlias. For AliasAnalysis chaining, MayAlias says "procede to the next analysis". PartialAlias will be used to indicate that the query should terminate, even though it didn't reach MustAlias or NoAlias. llvm-svn: 121507
Diffstat (limited to 'llvm/docs')
-rw-r--r--llvm/docs/AliasAnalysis.html9
1 files changed, 6 insertions, 3 deletions
diff --git a/llvm/docs/AliasAnalysis.html b/llvm/docs/AliasAnalysis.html
index ad598c22d6e..8fbb29f818a 100644
--- a/llvm/docs/AliasAnalysis.html
+++ b/llvm/docs/AliasAnalysis.html
@@ -188,7 +188,8 @@ that the accesses alias.</p>
<div class="doc_text">
<p>The <tt>alias</tt> method is the primary interface used to determine whether
or not two memory objects alias each other. It takes two memory objects as
-input and returns MustAlias, MayAlias, or NoAlias as appropriate.</p>
+input and returns MustAlias, PartialAlias, MayAlias, or NoAlias as
+appropriate.</p>
<p>Like all <tt>AliasAnalysis</tt> interfaces, the <tt>alias</tt> method requires
that either the two pointer values be defined within the same function, or at
@@ -215,8 +216,10 @@ and reallocation.</p>
dependencies are ignored.</p>
<p>The MayAlias response is used whenever the two pointers might refer to the
-same object. If the two memory objects overlap, but do not start at the same
-location, return MayAlias.</p>
+same object.</p>
+
+<p>The PartialAlias response is used when the two memory objects are known
+to be overlapping in some way, but do not start at the same address.</p>
<p>The MustAlias response may only be returned if the two memory objects are
guaranteed to always start at exactly the same location. A MustAlias response
OpenPOWER on IntegriCloud