diff options
author | Chris Lattner <sabre@nondot.org> | 2002-11-07 06:30:17 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-11-07 06:30:17 +0000 |
commit | 8d493b51db48bc19ac7fbf965e0f245a849472fd (patch) | |
tree | d998c1e201bd648944e0c8a0efe69cc06138046f /llvm | |
parent | 312afcafafe9d7561a8c3369235758ac5ad20cff (diff) | |
download | bcm5719-llvm-8d493b51db48bc19ac7fbf965e0f245a849472fd.tar.gz bcm5719-llvm-8d493b51db48bc19ac7fbf965e0f245a849472fd.zip |
Add new method
llvm-svn: 4598
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/include/llvm/Analysis/DSGraph.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/include/llvm/Analysis/DSGraph.h b/llvm/include/llvm/Analysis/DSGraph.h index a2687438ce3..572410d6492 100644 --- a/llvm/include/llvm/Analysis/DSGraph.h +++ b/llvm/include/llvm/Analysis/DSGraph.h @@ -136,6 +136,15 @@ public: 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). |