From: Hal Finkel Date: Fri, 10 Feb 2012 15:52:37 +0000 (+0000) Subject: Make aliasesPointer and aliasesUnknownInst public members of AliasSet. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1a4ccc3aa24d0ed3617d617b80785ae33e9282b1;p=oota-llvm.git 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 --- diff --git a/include/llvm/Analysis/AliasSetTracker.h b/include/llvm/Analysis/AliasSetTracker.h index c4ebe4015bf..95626d624a1 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. ///