projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
414c367
)
Allow clients to be more efficient.
author
Chris Lattner
<sabre@nondot.org>
Sun, 11 Apr 2004 16:43:07 +0000
(16:43 +0000)
committer
Chris 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
patch
|
blob
|
history
diff --git
a/lib/Analysis/BasicAliasAnalysis.cpp
b/lib/Analysis/BasicAliasAnalysis.cpp
index a68913574a9a162897bef932ab1cd28d92d5bf33..8fc561ea1d9cc09b7afc4e8a9cd9a8e871d50070 100644
(file)
--- a/
lib/Analysis/BasicAliasAnalysis.cpp
+++ b/
lib/Analysis/BasicAliasAnalysis.cpp
@@
-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);