diff options
author | Chris Lattner <sabre@nondot.org> | 2005-03-14 19:22:33 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-03-14 19:22:33 +0000 |
commit | 62b2b22573e921ce008b687aa3dcc56ad06fd02f (patch) | |
tree | 570ca36fa2082defc5532d606c77cc75eb06b1c8 | |
parent | e2bc7b2517efe8256289a0b7cdab3dd3545e7c63 (diff) | |
download | external_llvm-62b2b22573e921ce008b687aa3dcc56ad06fd02f.zip external_llvm-62b2b22573e921ce008b687aa3dcc56ad06fd02f.tar.gz external_llvm-62b2b22573e921ce008b687aa3dcc56ad06fd02f.tar.bz2 |
Add a useful method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20587 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Analysis/DataStructure/DSGraph.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/Analysis/DataStructure/DSGraph.h b/include/llvm/Analysis/DataStructure/DSGraph.h index 44b3fac..2ade08b 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 |