mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 20:29:48 +00:00
New method to allow more efficient clients
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12829 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fbede52af4
commit
e40bb915ba
@ -152,6 +152,15 @@ public:
|
||||
///
|
||||
virtual ModRefResult getModRefInfo(CallSite CS1, CallSite CS2);
|
||||
|
||||
/// hasNoModRefInfoForCalls - Return true if the analysis has no mod/ref
|
||||
/// information for function calls other than "pure" and "const" functions.
|
||||
/// This can be used by clients to avoid many pointless queries. Remember
|
||||
/// that if you override this and chain to another analysis, you must make
|
||||
/// sure that it doesn't have mod/ref info either.
|
||||
///
|
||||
virtual bool hasNoModRefInfoForCalls() const { return false; }
|
||||
|
||||
|
||||
/// Convenience functions...
|
||||
ModRefResult getModRefInfo(LoadInst *L, Value *P, unsigned Size);
|
||||
ModRefResult getModRefInfo(StoreInst *S, Value *P, unsigned Size);
|
||||
|
Loading…
Reference in New Issue
Block a user