[llvm-commits] CVS: llvm/include/llvm/Analysis/AliasSetTracker.h

Chris Lattner lattner at cs.uiuc.edu
Fri Nov 26 13:36:31 PST 2004



Changes in directory llvm/include/llvm/Analysis:

AliasSetTracker.h updated: 1.22 -> 1.23
---
Log message:

Add a new interface


---
Diffs of the changes:  (+5 -0)

Index: llvm/include/llvm/Analysis/AliasSetTracker.h
diff -u llvm/include/llvm/Analysis/AliasSetTracker.h:1.22 llvm/include/llvm/Analysis/AliasSetTracker.h:1.23
--- llvm/include/llvm/Analysis/AliasSetTracker.h:1.22	Wed Oct 27 11:14:50 2004
+++ llvm/include/llvm/Analysis/AliasSetTracker.h	Fri Nov 26 15:36:17 2004
@@ -306,6 +306,11 @@
   AliasSet *getAliasSetForPointerIfExists(Value *P, unsigned Size) {
     return findAliasSetForPointer(P, Size);
   }
+  
+  /// containsPointer - Return true if the specified location is represented by
+  /// this alias set, false otherwise.  This does not modify the AST object or
+  /// alias sets.
+  bool containsPointer(Value *P, unsigned Size) const;
 
   /// getAliasAnalysis - Return the underlying alias analysis object used by
   /// this tracker.






More information about the llvm-commits mailing list