Allow clients to be more efficient.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12831 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2004-04-11 16:43:07 +00:00
parent 414c36769a
commit 65585aa3fc

View 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);