<div dir="ltr">Does <a href="https://llvm.org/docs/NewPassManager.html#inserting-passes-into-default-pipelines">https://llvm.org/docs/NewPassManager.html#inserting-passes-into-default-pipelines</a> help?</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 9, 2021 at 9:53 AM Stephan Z via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi all,</div><div><br></div>I wanted to have an LLVM pass to inject code inside functions matching some conditions about function signatures. If inlining happens before the LLVM pass, it may not find all functions. <div><br></div><div>Is it possible to always run a pass before inlining?</div><div><br></div><div>It seems that LLVM schedules passes in terms of the orders they are added into Pass Manager.</div><div>Do we have any examples to use Pass Manager to control order?</div><div><br></div><div>Thank you,</div></div>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div>