================ @@ -75,6 +75,17 @@ struct AtomicConstraint { } }; +struct FoldExpandedConstraint; + +using NormalFormConstraint = + llvm::PointerUnion<AtomicConstraint *, FoldExpandedConstraint *>; +struct NormalizedConstraint; +using NormalForm = + llvm::SmallVector<llvm::SmallVector<NormalFormConstraint, 2>, 4>; + +NormalForm makeCNF(const NormalizedConstraint &Normalized); +NormalForm makeDNF(const NormalizedConstraint &Normalized); ---------------- AaronBallman wrote:
It might be nice to add a comment spelling out CNF and DNF so it's clear what the difference is. https://github.com/llvm/llvm-project/pull/98160 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits