diff options
author | Chris Lattner <sabre@nondot.org> | 2004-01-22 16:56:13 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-01-22 16:56:13 +0000 |
commit | 2f561384fb29e2df6731262a1bc11e95303435c8 (patch) | |
tree | 8b5dafc8ba174ca53f0f2c8ba5f7c48d2aaf51c5 /include/llvm/Analysis/DataStructure/DSGraph.h | |
parent | 93ddd7ea10c4a72fc19243c33f7dd9a99480f4a2 (diff) |
Eliminated the CompletedNodes argument to the cloneReachable* methods. This
map was only used to implement a marginal GlobalsGraph optimization, and it
actually slows the analysis down (due to the overhead of keeping it), so just
eliminate it entirely.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10955 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/DataStructure/DSGraph.h')
-rw-r--r-- | include/llvm/Analysis/DataStructure/DSGraph.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/include/llvm/Analysis/DataStructure/DSGraph.h b/include/llvm/Analysis/DataStructure/DSGraph.h index 64e0b6bf11..7307f44ae5 100644 --- a/include/llvm/Analysis/DataStructure/DSGraph.h +++ b/include/llvm/Analysis/DataStructure/DSGraph.h @@ -243,10 +243,8 @@ public: }; private: - void cloneReachableNodes(const DSNode* Node, - unsigned BitsToClear, - NodeMapTy& OldNodeMap, - NodeMapTy& CompletedNodeMap); + void cloneReachableNodes(const DSNode* Node, unsigned BitsToClear, + NodeMapTy& OldNodeMap); public: void updateFromGlobalGraph(); @@ -254,7 +252,6 @@ public: void cloneReachableSubgraph(const DSGraph& G, const hash_set<const DSNode*>& RootNodes, NodeMapTy& OldNodeMap, - NodeMapTy& CompletedNodeMap, unsigned CloneFlags = 0); |