minwook Ahn
2010-Jan-20 07:34 UTC
[LLVMdev] [LLVMDev] Is it possible to implement target specific optimizations which can be applied after instruction selection or later?
Dear developers. My question is the same as the title. Is there any way to implement target specific optimizations after instruction selection or later? I cannot find any related document. Please let me know. Thanks in advance. Minwook Ahn -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100120/12439e9b/attachment.html>
Evan Cheng
2010-Jan-22 18:29 UTC
[LLVMdev] [LLVMDev] Is it possible to implement target specific optimizations which can be applied after instruction selection or later?
Yes. There are lots of examples of this. For example ARM target has a number of specific optimization passes. See ARMTargetMachine.cpp addPreEmitPass() etc. for examples of how they are added to codegen pass manager. Evan On Jan 19, 2010, at 11:34 PM, minwook Ahn wrote:> Dear developers. > > My question is the same as the title. > Is there any way to implement target specific optimizations after instruction selection or later? > > I cannot find any related document. Please let me know. > > Thanks in advance. > > Minwook Ahn > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Kenneth Uildriks
2010-Jan-22 20:11 UTC
[LLVMdev] [LLVMDev] Is it possible to implement target specific optimizations which can be applied after instruction selection or later?
On Fri, Jan 22, 2010 at 12:29 PM, Evan Cheng <evan.cheng at apple.com> wrote:> Yes. There are lots of examples of this. For example ARM target has a number of specific optimization passes. See ARMTargetMachine.cpp addPreEmitPass() etc. for examples of how they are added to codegen pass manager. > > Evan > > On Jan 19, 2010, at 11:34 PM, minwook Ahn wrote: > >> Dear developers. >> >> My question is the same as the title. >> Is there any way to implement target specific optimizations after instruction selection or later? >> >> I cannot find any related document. Please let me know. >> >> Thanks in advance. >> >> Minwook Ahn >> _______________________________________________ >> LLVM Developers mailing list >> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu >> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >So if you run the JIT on a module, the content of that module might change?
Maybe Matching Threads
- [LLVMdev] [LLVMDev] Is it possible to implement target specific optimizations which can be applied after instruction selection or later?
- [LLVMdev] [LLVMDev] Is there any way to eliminate zero-extension instruction?
- [LLVMdev] [LLVMDev] Is there any way to eliminate zero-extension instruction?
- [LLVMdev] [LLVMDev] Does our own developed module and functions can go along with the future improved version of LLVM?
- [LLVMdev] [LLVMDev] Does our own developed module and functions can go along with the future improved version of LLVM?