Add interfaces for ResolveCallSiteModRefInfo

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4601 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-11-07 07:11:49 +00:00
parent 460ea29b45
commit 0ed8e2a862

View File

@ -125,7 +125,7 @@ class FunctionModRefInfo {
void computeModRef (const Function &func); void computeModRef (const Function &func);
void computeModRef (const CallInst& callInst); void computeModRef (const CallInst& callInst);
DSGraph *ResolveCallSiteModRefInfo(const CallInst &CI, DSGraph *ResolveCallSiteModRefInfo(CallInst &CI,
std::map<const DSNode*, DSNodeHandle> &NodeMap); std::map<const DSNode*, DSNodeHandle> &NodeMap);
public: public:
@ -203,6 +203,11 @@ public:
return getFuncInfo(func); 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 // Debugging support methods
// //
void print(std::ostream &O) const; void print(std::ostream &O) const;