aboutsummaryrefslogtreecommitdiffstats
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
parentaa97bb54f02784abefa0ae170af5937915bdb329 (diff)
downloadexternal_llvm-1a4ccc3aa24d0ed3617d617b80785ae33e9282b1.zip
external_llvm-1a4ccc3aa24d0ed3617d617b80785ae33e9282b1.tar.gz
external_llvm-1a4ccc3aa24d0ed3617d617b80785ae33e9282b1.tar.bz2
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
-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 c4ebe40..95626d6 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.
///