Make aliasesPointer and aliasesUnknownInst public members of AliasSet.
authorHal Finkel <hfinkel@anl.gov>
Fri, 10 Feb 2012 15:52:37 +0000 (15:52 +0000)
committerHal Finkel <hfinkel@anl.gov>
Fri, 10 Feb 2012 15:52:37 +0000 (15:52 +0000)
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

include/llvm/Analysis/AliasSetTracker.h

index c4ebe4015bf8b79b30cd516ab51e5c9504a588ec..95626d624a13c0b92e1ae06753f39a3cb861e5c1 100644 (file)
@@ -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.
   ///