mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Refactor call graph to share common code for different kinds of applies.
Swift SVN r24764
This commit is contained in:
@@ -263,6 +263,8 @@ public:
|
||||
private:
|
||||
void addCallGraphNode(SILFunction *F, unsigned Ordinal);
|
||||
void addEdges(SILFunction *F);
|
||||
bool tryGetCalleeSet(SILValue Callee, CallGraphEdge::CalleeSetType &CalleeSet,
|
||||
bool &Complete);
|
||||
void addEdgesForApply(ApplyInst *AI, CallGraphNode *CallerNode);
|
||||
void computeBottomUpSCCOrder();
|
||||
void computeBottomUpFunctionOrder();
|
||||
|
||||
Reference in New Issue
Block a user