[LLVMdev] How do I get my pass into the JIT?

Andreas Baier don.ande at gmx.de
Thu Feb 23 05:40:54 PST 2012


Hello,

I managed to write my own pass =) and now I want it to be executed by the LLVM-JIT but I don't see the right way to do it.
The EngineBuilder only allows to set an opt level and as far as I can see the ExecutionEngine does not provide access to the jitstate which holds its passmanager.

Could anyone give me a hint what I have to do to add my pass to the passmanager of the jit?

Thank you in advance.

Greetings Andreas



More information about the llvm-dev mailing list