Add interfaces for ResolveCallSiteModRefInfo
authorChris Lattner <sabre@nondot.org>
Thu, 7 Nov 2002 07:11:49 +0000 (07:11 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 7 Nov 2002 07:11:49 +0000 (07:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4601 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/IPModRef.h

index 929b9b18797fb9558d4c9e061f7a2d1c9a9c8391..52d5c7edc454d25b93ef79d0e241a33382adc4ec 100644 (file)
@@ -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;