[llvm-dev] Regarding Usage of opt

Chengnian Sun via llvm-dev llvm-dev at lists.llvm.org
Sun Mar 6 01:08:39 PST 2016


Thank you for your reply, John and Mehdi.It really helps.



On Fri, Mar 4, 2016 at 8:47 AM, John Criswell <jtcriswel at gmail.com> wrote:

> On 3/4/16 10:40 AM, Mehdi Amini via llvm-dev wrote:
>
>
> [snip]
>
>
>
> -------------------------------------------------------------- Error End
> --------------------------------------------------------------
>
> Question 2:
>
> Some passes depend on other dependencies. Is there any convenient way to
> get the dependency for a specific pass?
>
> Not than I know of (other than reading the source code, which is
> fortunately very easy: look for getAnalysisUsage())
>
>
> The -debug-pass=structure option to opt will print out the passes that are
> run and in what order.  From that output, you can generally determine which
> set of analysis passes are used by which set of optimizations.  It can help
> narrow down which source code you need to examine.
>
> Regards,
>
> John Criswell
>
>
>
> --
> Mehdi
>
>
>
> _______________________________________________
> LLVM Developers mailing listllvm-dev at lists.llvm.orghttp://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
>
>
> --
> John Criswell
> Assistant Professor
> Department of Computer Science, University of Rochesterhttp://www.cs.rochester.edu/u/criswell
>
>


-- 
Best Regards.

Chengnian SUN.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160306/423b7695/attachment.html>


More information about the llvm-dev mailing list