is there any documentation on the IR generation you can do with compiler plugins? I've got the Ir before and after, but I don't quite know how to do the transformation.
The naive way would be to use the embedded compiler, template code and extract the compiled IR, but I feel like there should be a simpler way to deal with it, especially considering I can't use libraries with the embedded compiler