[llvm-commits] CVS: llvm/include/llvm/Analysis/DSGraph.h
Chris Lattner
lattner at cs.uiuc.edu
Tue Jul 1 23:38:02 PDT 2003
Changes in directory llvm/include/llvm/Analysis:
DSGraph.h updated: 1.54 -> 1.55
---
Log message:
Add new methods
---
Diffs of the changes:
Index: llvm/include/llvm/Analysis/DSGraph.h
diff -u llvm/include/llvm/Analysis/DSGraph.h:1.54 llvm/include/llvm/Analysis/DSGraph.h:1.55
--- llvm/include/llvm/Analysis/DSGraph.h:1.54 Mon Jun 30 00:57:18 2003
+++ llvm/include/llvm/Analysis/DSGraph.h Tue Jul 1 23:37:00 2003
@@ -136,6 +136,12 @@
return I->second;
}
+ const DSNodeHandle &getReturnNodeFor(Function &F) const {
+ ReturnNodesTy::const_iterator I = ReturnNodes.find(&F);
+ assert(I != ReturnNodes.end() && "F not in this DSGraph!");
+ return I->second;
+ }
+
/// getGraphSize - Return the number of nodes in this graph.
///
unsigned getGraphSize() const {
@@ -217,6 +223,12 @@
///
void mergeInGraph(const DSCallSite &CS, Function &F, const DSGraph &Graph,
unsigned CloneFlags);
+
+
+ /// getCallSiteForArguments - Get the arguments and return value bindings for
+ /// the specified function in the current graph.
+ ///
+ DSCallSite getCallSiteForArguments(Function &F) const;
// Methods for checking to make sure graphs are well formed...
void AssertNodeInGraph(const DSNode *N) const {
More information about the llvm-commits
mailing list