diff options
| author | Chris Lattner <sabre@nondot.org> | 2002-11-06 19:59:33 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2002-11-06 19:59:33 +0000 |
| commit | 4476ceb414afc6aebdcd1e055478175d95b62cb9 (patch) | |
| tree | 6b7eba1e2dbf4a6ce1eda0755fa195a705651015 /include | |
| parent | 268748a0d8a86463a0d222d5e2c0de0bc55ee2b8 (diff) | |
Allow the ResolveCallSiteModRefInfo method to return a mapping of nodes,
implement the mod/ref bit masking
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4578 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
| -rw-r--r-- | include/llvm/Analysis/IPModRef.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/llvm/Analysis/IPModRef.h b/include/llvm/Analysis/IPModRef.h index fb0191e61f..929b9b1879 100644 --- a/include/llvm/Analysis/IPModRef.h +++ b/include/llvm/Analysis/IPModRef.h @@ -41,13 +41,13 @@ #include "llvm/Pass.h" #include "Support/BitSetVector.h" -#include "Support/NonCopyable.h" class Module; class Function; class CallInst; class DSNode; class DSGraph; +class DSNodeHandle; class ModRefInfo; // Result of IP Mod/Ref for one entity class FunctionModRefInfo; // ModRefInfo for a func and all calls in it class IPModRef; // Pass that computes IP Mod/Ref info @@ -125,7 +125,8 @@ class FunctionModRefInfo { void computeModRef (const Function &func); void computeModRef (const CallInst& callInst); - DSGraph *ResolveCallSiteModRefInfo(const CallInst &CI); + DSGraph *ResolveCallSiteModRefInfo(const CallInst &CI, + std::map<const DSNode*, DSNodeHandle> &NodeMap); public: /* ctor */ FunctionModRefInfo (const Function& func, |
