summaryrefslogtreecommitdiff
path: root/include/llvm/Analysis/AliasSetTracker.h
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2012-02-10 15:52:37 +0000
committerHal Finkel <hfinkel@anl.gov>2012-02-10 15:52:37 +0000
commit1a4ccc3aa24d0ed3617d617b80785ae33e9282b1 (patch)
treeee056504cc7a5e22774f35e9b40ae6229831a57b /include/llvm/Analysis/AliasSetTracker.h
parentaa97bb54f02784abefa0ae170af5937915bdb329 (diff)
downloadllvm-1a4ccc3aa24d0ed3617d617b80785ae33e9282b1.tar.gz
llvm-1a4ccc3aa24d0ed3617d617b80785ae33e9282b1.tar.bz2
llvm-1a4ccc3aa24d0ed3617d617b80785ae33e9282b1.tar.xz
Make aliasesPointer and aliasesUnknownInst public members of AliasSet.
These query functions are safe for external use and, furthermore, are the only way to make queries against the "unknown instructions" array. BBVectorize will use these functions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150248 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/AliasSetTracker.h')
-rw-r--r--include/llvm/Analysis/AliasSetTracker.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Analysis/AliasSetTracker.h b/include/llvm/Analysis/AliasSetTracker.h
index c4ebe4015b..95626d624a 100644
--- a/include/llvm/Analysis/AliasSetTracker.h
+++ b/include/llvm/Analysis/AliasSetTracker.h
@@ -264,6 +264,7 @@ private:
}
void setVolatile() { Volatile = true; }
+public:
/// aliasesPointer - Return true if the specified pointer "may" (or must)
/// alias one of the members in the set.
///