[llvm-dev] Adding custom callback function before/after passes
Juneyoung Lee via llvm-dev
llvm-dev at lists.llvm.org
Tue Dec 3 09:01:59 PST 2019
Hello all,
Is there a way to register callback that runs before/after passes?
PassTimingInfo seems to do a similar thing by calling
PassInstrumentationCallbacks::registerBeforePassCallback /
registerAfterPassCallback, but it is hard-wired with
StandardInstrumentations class.
Do we have something similar to RegisterStandardPasses, so custom callbacks
can be added from somewhere outside LLVM?
Thanks,
Juneyoung Lee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20191204/1a07f148/attachment.html>
More information about the llvm-dev
mailing list