[llvm] Implement MCDCTVIdxBuilder (LLVM side) (PR #80676)

Jessica Paquette via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 11 18:59:19 PST 2024


================
@@ -557,6 +558,35 @@ struct MCDCRecord {
   }
 };
 
+/// Compute Conds[].Idx from Branch-like structure
+class MCDCTVIdxBuilder {
+public:
+  struct MCDCNode {
+    int InCount = 0; /// Reference count; temporary use
+    int Width;       /// Number of paths (>= 1)
----------------
ornata wrote:

Why not name it `NumPaths`?

https://github.com/llvm/llvm-project/pull/80676


More information about the llvm-commits mailing list