[LLVMdev] Registering a MachineFunctionPass to JIT codegen
Chris Lattner
clattner at apple.com
Mon Sep 14 22:59:45 PDT 2009
On Sep 14, 2009, at 10:54 PM, Nicolas Geoffray wrote:
> Hi all,
>
> I can't find a way to add a MachineFunctionPass to the common codegen
> passes (LLVMTargetMachine::addPassesToEmitMachineCode) while JITting
> (the pass manager is associated with the jitstate of the JIT and I
> can't
> access it because it's private). Have I missed something? Or adding a
> MachineFunctionPass to codegen requires to change the
> LLVMTargetMachine::addPassesToEmitMachineCode function?
You haven't missed anything, there isn't currently a way to do this.
-Chris
More information about the llvm-dev
mailing list