<div dir="ltr"><div dir="ltr"><div>Hello all, </div><div><br></div><div>Is there a way to register callback that runs before/after passes?</div><div>PassTimingInfo seems to do a similar thing by calling PassInstrumentationCallbacks::registerBeforePassCallback / registerAfterPassCallback, but it is hard-wired with StandardInstrumentations class.</div><div>Do we have something similar to RegisterStandardPasses, so custom callbacks can be added from somewhere outside LLVM?</div><div><br></div><div>Thanks,</div><div>Juneyoung Lee</div><div dir="ltr"><br></div><div dir="ltr"><br></div></div></div>