================
@@ -479,6 +481,27 @@ transferCFGBlock(const CFGBlock &Block, AnalysisContext
&AC,
return State;
}
+// Returns the number of blocks that would be visited if we only visit each
+// reachable block once. This provides a lower bound on the number of block
+// visits. This is a light version of the main analysis loop (keep in sync).
+size_t NumBlockVisitsIfVisitEachReachableOnce(const CFG &CFG) {
----------------
ymand wrote:
How is this different from just the number of reachable blocks?
https://github.com/llvm/llvm-project/pull/186808
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits