summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-03-09 19:36:59 +0000
committerChris Lattner <sabre@nondot.org>2004-03-09 19:36:59 +0000
commitf53977cd426075501ac03d19fb270c347af2048d (patch)
treee63c5199dc39966ca85d5c8b237706aebe205f89 /llvm
parent6623cd78f968a9909654cde0c150c3ae8b0554c6 (diff)
downloadbcm5719-llvm-f53977cd426075501ac03d19fb270c347af2048d.tar.gz
bcm5719-llvm-f53977cd426075501ac03d19fb270c347af2048d.zip
new method
llvm-svn: 12263
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/Analysis/DSGraph.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/include/llvm/Analysis/DSGraph.h b/llvm/include/llvm/Analysis/DSGraph.h
index 7a7f4b1b5bd..31339a5b8c5 100644
--- a/llvm/include/llvm/Analysis/DSGraph.h
+++ b/llvm/include/llvm/Analysis/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) &&
OpenPOWER on IntegriCloud