diff --git a/include/llvm/Analysis/IPModRef.h b/include/llvm/Analysis/IPModRef.h index 929b9b18797..52d5c7edc45 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 &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;