[llvm-commits] CVS: llvm/include/llvm/Analysis/AliasAnalysis.h
Chris Lattner
lattner at cs.uiuc.edu
Sat Jun 28 19:24:01 PDT 2003
Changes in directory llvm/include/llvm/Analysis:
AliasAnalysis.h updated: 1.4 -> 1.5
---
Log message:
Add support for gathering sets of must aliases
---
Diffs of the changes:
Index: llvm/include/llvm/Analysis/AliasAnalysis.h
diff -u llvm/include/llvm/Analysis/AliasAnalysis.h:1.4 llvm/include/llvm/Analysis/AliasAnalysis.h:1.5
--- llvm/include/llvm/Analysis/AliasAnalysis.h:1.4 Wed Feb 26 13:24:47 2003
+++ llvm/include/llvm/Analysis/AliasAnalysis.h Sat Jun 28 19:23:11 2003
@@ -76,6 +76,15 @@
return MayAlias;
}
+ /// getMustAliases - If there are any pointers known that must alias this
+ /// pointer, return them now. This allows alias-set based alias analyses to
+ /// perform a form a value numbering (which is exposed by load-vn). If an
+ /// alias analysis supports this, it should ADD any must aliased pointers to
+ /// the specified vector.
+ ///
+ virtual void getMustAliases(Value *P, std::vector<Value*> &RetVals) {}
+
+
//===--------------------------------------------------------------------===//
/// Simple mod/ref information...
///
More information about the llvm-commits
mailing list