<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>