def stage_generic_rewrites(self):
        assert self.interp
        with self.fallback_context('Internal error in pre-inference rewriting '
                                   'pass encountered during compilation of '
                                   'function "%s"' % (self.func_attr.name,)):
            rewrites.rewrite_registry.apply('before-inference',
                                            self, self.interp)
Perform any intermediate representation rewrites before type
dataset/ETHPy150Open numba/numba/numba/compiler.py/Pipeline.stage_generic_rewrites