diff --git a/include/llvm/Analysis/DataStructure/DSGraph.h b/include/llvm/Analysis/DataStructure/DSGraph.h index 44b3fac1121..2ade08be6fc 100644 --- a/include/llvm/Analysis/DataStructure/DSGraph.h +++ b/include/llvm/Analysis/DataStructure/DSGraph.h @@ -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