================ @@ -4914,6 +4920,78 @@ class FunctionEffectsRef { void dump(llvm::raw_ostream &OS) const; }; +/// A mutable set of FunctionEffect::Kind. +class FunctionEffectKindSet { ---------------- Sirraide wrote:
Is there a way to use `std::bitset` to simplify the implementation of this and/or use `llvm::map_range` for the iterator? Just thinking of ways you can avoid having to implement e.g. iterators for this yourself because this code feels like it should already exist somewhere else. https://github.com/llvm/llvm-project/pull/99656 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits