aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Analysis/DataStructure/DataStructure.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Analysis/DataStructure/DataStructure.h')
-rw-r--r--include/llvm/Analysis/DataStructure/DataStructure.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/include/llvm/Analysis/DataStructure/DataStructure.h b/include/llvm/Analysis/DataStructure/DataStructure.h
index 7f9df0a30d..800df9a8bf 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<Function*> &SCCFunctions);
+
DSGraph &calculateSCCGraph(Function &F,
std::set<Function*> &InlinedSCCFunctions);
void calculateReachableGraphs(Function *F);
@@ -113,13 +122,6 @@ private:
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);
- */
};