Soumya_Prasad_Ukil
2010-Aug-21 12:02 UTC
[LLVMdev] How to add a pass inside LLVM pass list
I have written a simple pass. I have been successful to execute it. I want LLVM to execute it. I don't know how to include a pass in llvm actual pass list, such it automatically invokes it just like GVNPre pass or some other pass. They have already been limked in llvm actual pass list. -- regards, soumya prasad ukil -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100821/440cb06d/attachment.html>
Soumya_Prasad_Ukil
2010-Aug-22 13:52 UTC
[LLVMdev] How to add a pass inside LLVM pass list
Pls help. On 21 August 2010 17:32, Soumya_Prasad_Ukil <ukil.soumya at gmail.com> wrote:> I have written a simple pass. I have been successful to execute it. I want > LLVM to execute it. I don't know how to include a pass in llvm actual pass > list, such it automatically invokes it just like GVNPre pass or some other > pass. They have already been limked in llvm actual pass list. > > -- > regards, > soumya prasad ukil >-- regards, soumya prasad ukil -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100822/bcbbb1b3/attachment.html>
Soumya_Prasad_Ukil wrote:> Pls help.You didn't say what was actually running the passes. (llvm-gcc? clang? opt -some -passes?) What you probably want is to modify one of the lists in include/llvm/Support/StandardPasses.h. Nick> > On 21 August 2010 17:32, Soumya_Prasad_Ukil <ukil.soumya at gmail.com > <mailto:ukil.soumya at gmail.com>> wrote: > > I have written a simple pass. I have been successful to execute it. > I want LLVM to execute it. I don't know how to include a pass in > llvm actual pass list, such it automatically invokes it just like > GVNPre pass or some other pass. They have already been limked in > llvm actual pass list. > > -- > regards, > soumya prasad ukil > > > > > -- > regards, > soumya prasad ukil > > > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev