diff options
author | Chris Lattner <sabre@nondot.org> | 2004-03-09 19:36:59 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-03-09 19:36:59 +0000 |
commit | 69a69ff5fd4958610c60ab0a59f10f44c2440710 (patch) | |
tree | 6333cfe366bee39cea19f1c8f0076e4fcaf2a639 /include/llvm/Analysis/DataStructure | |
parent | 6a367f33f333b09b3cad83d06ca88abcaf0c66b0 (diff) |
new method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12263 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/DataStructure')
-rw-r--r-- | include/llvm/Analysis/DataStructure/DSGraph.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/Analysis/DataStructure/DSGraph.h b/include/llvm/Analysis/DataStructure/DSGraph.h index 7a7f4b1b5b..31339a5b8c 100644 --- a/include/llvm/Analysis/DataStructure/DSGraph.h +++ b/include/llvm/Analysis/DataStructure/DSGraph.h @@ -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) && |