summaryrefslogtreecommitdiffstats
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
commit9d87207f57e665b3feca4e093b4cd9a993ff3c65 (patch)
tree5b23bf791eac03826bf3ee3bdd72d0184ec7b047
parent26641d7c029d13c766b723e2d1d47fc78ea3c296 (diff)
downloadbcm5719-llvm-9d87207f57e665b3feca4e093b4cd9a993ff3c65.tar.gz
bcm5719-llvm-9d87207f57e665b3feca4e093b4cd9a993ff3c65.zip
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. llvm-svn: 150248
-rw-r--r--llvm/include/llvm/Analysis/AliasSetTracker.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/include/llvm/Analysis/AliasSetTracker.h b/llvm/include/llvm/Analysis/AliasSetTracker.h
index c4ebe4015bf..95626d624a1 100644
--- a/llvm/include/llvm/Analysis/AliasSetTracker.h
+++ b/llvm/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.
///
OpenPOWER on IntegriCloud