<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 3/4/16 10:40 AM, Mehdi Amini via
llvm-dev wrote:<br>
</div>
<blockquote
cite="mid:0A21427B-B037-4236-889B-5F3263FA6777@apple.com"
type="cite">
<meta http-equiv="Context-Type" content="text/html;
charset=us-ascii">
<br class="">
<div>[snip]
<blockquote type="cite" class="">
<div class="">
<div dir="ltr" class="">
<div class="">
<div class=""><span class=""></span><br
class="webkit-block-placeholder">
</div>
<div class=""><br class="webkit-block-placeholder">
</div>
<div class="">--------------------------------------------------------------
Error End
-------------------------------------------------------------- </div>
<p class="">Question 2:</p>
<p class="">Some passes depend on other dependencies. Is
there any convenient way to get the dependency for a
specific pass? </p>
</div>
</div>
</div>
</blockquote>
<div>Not than I know of (other than reading the source code,
which is fortunately very easy: look for getAnalysisUsage())</div>
</div>
</blockquote>
<br>
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.<br>
<br>
Regards,<br>
<br>
John Criswell<br>
<br>
<blockquote
cite="mid:0A21427B-B037-4236-889B-5F3263FA6777@apple.com"
type="cite">
<div>
<div><br class="">
</div>
</div>
<br class="">
<div class="">-- </div>
<div class="">Mehdi</div>
<div class=""><br class="">
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
LLVM Developers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>
<a class="moz-txt-link-freetext" href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
John Criswell
Assistant Professor
Department of Computer Science, University of Rochester
<a class="moz-txt-link-freetext" href="http://www.cs.rochester.edu/u/criswell">http://www.cs.rochester.edu/u/criswell</a></pre>
</body>
</html>