How to override a default codegen pass?

I’d like to add some custom functionality into the default post-RA scheduler. Just overriding a few exisitng virtual methods of the default scheduler class will be enough. So the question is: how can I override the post-RA scheduler with my own?

Thank you,