From 21f3663c06748ce033792c4898845b4ba6b8abe3 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 12 Nov 2002 15:57:28 +0000 Subject: [PATCH] Remove dead method, add new method git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4700 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Analysis/DataStructure.h | 16 +++++++++------- .../llvm/Analysis/DataStructure/DataStructure.h | 16 +++++++++------- 2 files changed, 18 insertions(+), 14 deletions(-) diff --git a/include/llvm/Analysis/DataStructure.h b/include/llvm/Analysis/DataStructure.h index 7f9df0a30db..800df9a8bfe 100644 --- a/include/llvm/Analysis/DataStructure.h +++ b/include/llvm/Analysis/DataStructure.h @@ -103,6 +103,15 @@ public: } private: DSGraph &calculateGraph(Function &F); + + // inlineNonSCCGraphs - This method is almost like the other two calculate + // graph methods. This one is used to inline function graphs (from functions + // outside of the SCC) into functions in the SCC. It is not supposed to touch + // functions IN the SCC at all. + // + DSGraph &BUDataStructures::inlineNonSCCGraphs(Function &F, + std::set &SCCFunctions); + DSGraph &calculateSCCGraph(Function &F, std::set &InlinedSCCFunctions); void calculateReachableGraphs(Function *F); @@ -113,13 +122,6 @@ private: unsigned calculateGraphs(Function *F, std::vector &Stack, unsigned &NextID, std::map &ValMap); - - - /* - bool ResolveFunctionCalls(DSGraph &G, unsigned &FirstResolvableCall, - std::map &InProcess, - unsigned Indent); - */ }; diff --git a/include/llvm/Analysis/DataStructure/DataStructure.h b/include/llvm/Analysis/DataStructure/DataStructure.h index 7f9df0a30db..800df9a8bfe 100644 --- a/include/llvm/Analysis/DataStructure/DataStructure.h +++ b/include/llvm/Analysis/DataStructure/DataStructure.h @@ -103,6 +103,15 @@ public: } private: DSGraph &calculateGraph(Function &F); + + // inlineNonSCCGraphs - This method is almost like the other two calculate + // graph methods. This one is used to inline function graphs (from functions + // outside of the SCC) into functions in the SCC. It is not supposed to touch + // functions IN the SCC at all. + // + DSGraph &BUDataStructures::inlineNonSCCGraphs(Function &F, + std::set &SCCFunctions); + DSGraph &calculateSCCGraph(Function &F, std::set &InlinedSCCFunctions); void calculateReachableGraphs(Function *F); @@ -113,13 +122,6 @@ private: unsigned calculateGraphs(Function *F, std::vector &Stack, unsigned &NextID, std::map &ValMap); - - - /* - bool ResolveFunctionCalls(DSGraph &G, unsigned &FirstResolvableCall, - std::map &InProcess, - unsigned Indent); - */ };