Add a useful method.

llvm-svn: 20587
This commit is contained in:
Chris Lattner 2005-03-14 19:22:33 +00:00
parent 65fc185896
commit fa7bf4a21e

View File

@ -376,6 +376,10 @@ public:
const DSNodeHandle &NH2, NodeMapTy &NodeMap,
bool StrictChecking = true);
/// computeGlobalGraphMapping - Compute the mapping of nodes in the global
/// graph to nodes in this graph.
void computeGlobalGraphMapping(NodeMapTy &NodeMap);
/// cloneInto - Clone the specified DSGraph into the current graph. The
/// translated ScalarMap for the old function is filled into the OldValMap