[llvm-commits] CVS: llvm/include/llvm/Analysis/DataStructure/DSGraph.h
Chris Lattner
lattner at cs.uiuc.edu
Thu Feb 3 10:40:21 PST 2005
Changes in directory llvm/include/llvm/Analysis/DataStructure:
DSGraph.h updated: 1.85 -> 1.86
---
Log message:
Add a new method.
---
Diffs of the changes: (+9 -0)
DSGraph.h | 9 +++++++++
1 files changed, 9 insertions(+)
Index: llvm/include/llvm/Analysis/DataStructure/DSGraph.h
diff -u llvm/include/llvm/Analysis/DataStructure/DSGraph.h:1.85 llvm/include/llvm/Analysis/DataStructure/DSGraph.h:1.86
--- llvm/include/llvm/Analysis/DataStructure/DSGraph.h:1.85 Sun Jan 30 17:50:48 2005
+++ llvm/include/llvm/Analysis/DataStructure/DSGraph.h Thu Feb 3 12:40:05 2005
@@ -375,6 +375,15 @@
ReturnNodesTy &OldReturnNodes, NodeMapTy &OldNodeMap,
unsigned CloneFlags = 0);
+ /// getFunctionArgumentsForCall - Given a function that is currently in this
+ /// graph, return the DSNodeHandles that correspond to the pointer-compatible
+ /// function arguments. The vector is filled in with the return value (or
+ /// null if it is not pointer compatible), followed by all of the
+ /// pointer-compatible arguments.
+ void getFunctionArgumentsForCall(Function *F,
+ std::vector<DSNodeHandle> &Args) const;
+
+
/// mergeInGraph - The method is used for merging graphs together. If the
/// argument graph is not *this, it makes a clone of the specified graph, then
/// merges the nodes specified in the call site with the formal arguments in
More information about the llvm-commits
mailing list