From 4a34cbd2b9ba9efcdab4c4e656df2d7bd22e2604 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 10 Dec 2010 19:38:58 +0000 Subject: 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121507 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/AliasAnalysis.html | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'docs/AliasAnalysis.html') diff --git a/docs/AliasAnalysis.html b/docs/AliasAnalysis.html index ad598c22d6..8fbb29f818 100644 --- a/docs/AliasAnalysis.html +++ b/docs/AliasAnalysis.html @@ -188,7 +188,8 @@ that the accesses alias.

The alias 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.

+input and returns MustAlias, PartialAlias, MayAlias, or NoAlias as +appropriate.

Like all AliasAnalysis interfaces, the alias method requires that either the two pointer values be defined within the same function, or at @@ -215,8 +216,10 @@ and reallocation.

dependencies are ignored.

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.

+same object.

+ +

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.

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 -- cgit v1.2.3-70-g09d2