Mutually exclusive pass options

I want to add a set of options to my pass. Some of the options are mutually exclusive by nature. I don’t see a good way to encode this property in PassOptions though. Am I missing something? Thanks.

Are these options expressible as enum?

Defining them as an enum is possible. Thanks for the tip!