new method
authorChris Lattner <sabre@nondot.org>
Tue, 9 Mar 2004 19:36:59 +0000 (19:36 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 9 Mar 2004 19:36:59 +0000 (19:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12263 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/DSGraph.h
include/llvm/Analysis/DataStructure/DSGraph.h

index 7a7f4b1b5bddd377347c4ea2add4b256b3324766..31339a5b8c593259ba48bde017dcfc8ed8a9b8f6 100644 (file)
@@ -360,6 +360,10 @@ public:
   ///
   DSCallSite getCallSiteForArguments(Function &F) const;
 
+  /// getDSCallSiteForCallSite - Given an LLVM CallSite object that is live in
+  /// the context of this graph, return the DSCallSite for it.
+  DSCallSite getDSCallSiteForCallSite(CallSite CS) const;
+
   // Methods for checking to make sure graphs are well formed...
   void AssertNodeInGraph(const DSNode *N) const {
     assert((!N || N->getParentGraph() == this) &&
index 7a7f4b1b5bddd377347c4ea2add4b256b3324766..31339a5b8c593259ba48bde017dcfc8ed8a9b8f6 100644 (file)
@@ -360,6 +360,10 @@ public:
   ///
   DSCallSite getCallSiteForArguments(Function &F) const;
 
+  /// getDSCallSiteForCallSite - Given an LLVM CallSite object that is live in
+  /// the context of this graph, return the DSCallSite for it.
+  DSCallSite getDSCallSiteForCallSite(CallSite CS) const;
+
   // Methods for checking to make sure graphs are well formed...
   void AssertNodeInGraph(const DSNode *N) const {
     assert((!N || N->getParentGraph() == this) &&