Allow clients to be more efficient.
authorChris Lattner <sabre@nondot.org>
Sun, 11 Apr 2004 16:43:07 +0000 (16:43 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 11 Apr 2004 16:43:07 +0000 (16:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12831 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/BasicAliasAnalysis.cpp

index a68913574a9a162897bef932ab1cd28d92d5bf33..8fc561ea1d9cc09b7afc4e8a9cd9a8e871d50070 100644 (file)
@@ -49,6 +49,10 @@ namespace {
 
     ModRefResult getModRefInfo(CallSite CS, Value *P, unsigned Size);
 
+    /// hasNoModRefInfoForCalls - We have no way to test one call against
+    /// another, unless they are pure or const.
+    virtual bool hasNoModRefInfoForCalls() const { return true; }
+
     /// pointsToConstantMemory - Chase pointers until we find a (constant
     /// global) or not.
     bool pointsToConstantMemory(const Value *P);