diff options
-rw-r--r-- | include/llvm/Analysis/IPModRef.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/llvm/Analysis/IPModRef.h b/include/llvm/Analysis/IPModRef.h index 929b9b1879..52d5c7edc4 100644 --- a/include/llvm/Analysis/IPModRef.h +++ b/include/llvm/Analysis/IPModRef.h @@ -125,7 +125,7 @@ class FunctionModRefInfo { void computeModRef (const Function &func); void computeModRef (const CallInst& callInst); - DSGraph *ResolveCallSiteModRefInfo(const CallInst &CI, + DSGraph *ResolveCallSiteModRefInfo(CallInst &CI, std::map<const DSNode*, DSNodeHandle> &NodeMap); public: @@ -203,6 +203,11 @@ public: return getFuncInfo(func); } + /// getBUDSGraph - This method returns the BU data structure graph for F + /// through the use of the BUDataStructures object. + /// + const DSGraph &getBUDSGraph(const Function &F); + // Debugging support methods // void print(std::ostream &O) const; |