[llvm-commits] CVS: llvm/include/llvm/Analysis/DSGraph.h
Chris Lattner
lattner at cs.uiuc.edu
Thu Nov 7 00:31:02 PST 2002
Changes in directory llvm/include/llvm/Analysis:
DSGraph.h updated: 1.27 -> 1.28
---
Log message:
Add new method
---
Diffs of the changes:
Index: llvm/include/llvm/Analysis/DSGraph.h
diff -u llvm/include/llvm/Analysis/DSGraph.h:1.27 llvm/include/llvm/Analysis/DSGraph.h:1.28
--- llvm/include/llvm/Analysis/DSGraph.h:1.27 Wed Nov 6 11:00:41 2002
+++ llvm/include/llvm/Analysis/DSGraph.h Thu Nov 7 00:30:17 2002
@@ -136,6 +136,15 @@
std::map<const DSNode*, DSNode*> &OldNodeMap,
bool StripAllocas = false);
+ /// 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
+ /// the graph. If the StripAlloca's argument is true then Alloca markers are
+ /// removed from nodes.
+ ///
+ void mergeInGraph(DSCallSite &CS, const DSGraph &Graph, bool StripAllocas);
+
+
#if 0
// cloneGlobalInto - Clone the given global node (or the node for the given
// GlobalValue) from the GlobalsGraph and all its target links (recursively).
More information about the llvm-commits
mailing list