[llvm-dev] How to write a simple MachineFunctionPass
慕冬亮 via llvm-dev
llvm-dev at lists.llvm.org
Mon Feb 29 23:26:30 PST 2016
First you should learn how to write a pass and then a MachineFunctionPass.
>From LLVM website, you can refer to
http://llvm.org/docs/WritingAnLLVMPass.html
And for outside pass, you can refer to
http://adriansampson.net/blog/llvm.html
It's a great article.
And the author put the source code on Github
<https://github.com/sampsyo/llvm-pass-skeleton>.
2016-03-01 14:36 GMT+08:00 Balasaheb Dabhade via llvm-dev <
llvm-dev at lists.llvm.org>:
> Hello everyone,
>
> I have written simple LLVM passes, but I cannot able to write a
> MachineFunctionPass pass.
> I am following the steps form the following link but it is not working:
> http://www.gabriel.urdhr.fr/2014/09/26/adding-a-llvm-pass/
>
> Please share the sample MachineFunctionPass code or steps to follow to
> write MachineFunctionPass.
>
> Thanks,
> Bala
> --
> Thanks,
> Bala
> IIITA Allahabad
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
>
--
My best regards to you.
No System Is Safe!
mudongliang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160301/d1f83eb5/attachment.html>
More information about the llvm-dev
mailing list