Nicolas Geoffray
2009-Sep-15 07:00 UTC
[LLVMdev] Registering a MachineFunctionPass to JIT codegen
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() ? Thanks, Nicolas
Chris Lattner
2009-Sep-15 18:45 UTC
[LLVMdev] Registering a MachineFunctionPass to JIT codegen
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? -Chris
Nicolas Geoffray
2009-Sep-15 21:54 UTC
[LLVMdev] Registering a MachineFunctionPass to JIT codegen
Chris Lattner wrote:>> 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? >Actually, we can forget about that in my particular case. I wanted to add a pass that gathers the GC information (the GCFunctionInfo object) provided by the GCMachineCodeAnalysis pass. However, I didn't realize the GCStrategy already has a link to the GCFunctionInfos. So creating an interface is not needed anymore for my particular case. Thanks, Nicolas> -Chris
Possibly Parallel Threads
- [LLVMdev] Registering a MachineFunctionPass to JIT codegen
- [LLVMdev] Registering a MachineFunctionPass to JIT codegen
- [LLVMdev] Registering a MachineFunctionPass to JIT codegen
- [LLVMdev] GC StackMaps (was Stackmap and Patchpoint Intrinsic Proposal)
- [LLVMdev] GC StackMaps (was Stackmap and Patchpoint Intrinsic Proposal)