aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Analysis/DataStructure/DataStructure.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-11-11 21:34:34 +0000
committerChris Lattner <sabre@nondot.org>2002-11-11 21:34:34 +0000
commitcf69bb494af86c2dd12ca3899e45c3fda8f15a20 (patch)
treec235dca2d049234061aef410b7b8c66cf376aeea /include/llvm/Analysis/DataStructure/DataStructure.h
parent4c02283e6b4ccf6d19d879aaa33b0c06d07d971b (diff)
Almost complete rewrite of BU closure code
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4693 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/DataStructure/DataStructure.h')
-rw-r--r--include/llvm/Analysis/DataStructure/DataStructure.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/include/llvm/Analysis/DataStructure/DataStructure.h b/include/llvm/Analysis/DataStructure/DataStructure.h
index 930b58df59..7f9df0a30d 100644
--- a/include/llvm/Analysis/DataStructure/DataStructure.h
+++ b/include/llvm/Analysis/DataStructure/DataStructure.h
@@ -102,10 +102,24 @@ public:
AU.addRequired<LocalDataStructures>();
}
private:
- DSGraph &calculateGraph(Function &F, unsigned Indent);
+ DSGraph &calculateGraph(Function &F);
+ DSGraph &calculateSCCGraph(Function &F,
+ std::set<Function*> &InlinedSCCFunctions);
+ void calculateReachableGraphs(Function *F);
+
+
+ DSGraph &getOrCreateGraph(Function *F);
+
+ unsigned calculateGraphs(Function *F, std::vector<Function*> &Stack,
+ unsigned &NextID,
+ std::map<Function*, unsigned> &ValMap);
+
+
+ /*
bool ResolveFunctionCalls(DSGraph &G, unsigned &FirstResolvableCall,
std::map<Function*, DSCallSite> &InProcess,
unsigned Indent);
+ */
};