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

Jessica Paquette via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 14 20:35:43 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:

https://en.wikipedia.org/wiki/Width_(disambiguation) Width has many meanings for graphs. :)

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


More information about the llvm-commits mailing list