Add a useful method.
authorChris Lattner <sabre@nondot.org>
Mon, 14 Mar 2005 19:22:33 +0000 (19:22 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 14 Mar 2005 19:22:33 +0000 (19:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20587 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/DataStructure/DSGraph.h

index 44b3fac112107cca3ec621d5d8d65f38967423d8..2ade08be6fcb0716e1ddc1a1db7e8d4e1d39b531 100644 (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