[LLVMdev] Registering a MachineFunctionPass to JIT codegen

Chris Lattner clattner at apple.com
Tue Sep 15 11:45:28 PDT 2009

On Sep 15, 2009, at 12:00 AM, Nicolas Geoffray wrote:

> Hi Chris,
> Chris Lattner wrote:
>> You haven't missed anything, there isn't currently a way to do this.
> Good to know. Anything against making the codegen pass manager
> accessible to users? Something like
> ExecutionEngine::getCommonCodegenPassManager() ?

I don't have a problem with that, the interface should be discussed  
though.  You'd want some sort of interface to say "stick this in the  
'before regalloc' bucket" etc.

What do you intend to use this for?


More information about the llvm-dev mailing list