File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,8 @@ STATISTIC(NumCombinedParamAccessesBefore,
49
49
" Number of total param accesses before generateParamAccessSummary." );
50
50
STATISTIC (NumCombinedParamAccessesAfter,
51
51
" Number of total param accesses after generateParamAccessSummary." );
52
+ STATISTIC (NumCombinedDataFlowNodes,
53
+ " Number of total nodes in combined index for dataflow processing." );
52
54
53
55
static cl::opt<int > StackSafetyMaxIterations (" stack-safety-max-iterations" ,
54
56
cl::init (20 ), cl::Hidden);
@@ -1000,6 +1002,7 @@ void llvm::generateParamAccessSummary(ModuleSummaryIndex &Index) {
1000
1002
FS->setParamAccesses ({});
1001
1003
}
1002
1004
}
1005
+ NumCombinedDataFlowNodes += Functions.size ();
1003
1006
StackSafetyDataFlowAnalysis<FunctionSummary> SSDFA (
1004
1007
FunctionSummary::ParamAccess::RangeWidth, std::move (Functions));
1005
1008
for (auto &KV : SSDFA.run ()) {
You can’t perform that action at this time.
0 commit comments