search for: passinstrumentationcallbacks

Displaying 2 results from an estimated 2 matches for "passinstrumentationcallbacks".

2019 Dec 12
3
Adding custom callback function before/after passes
...at 12:44 AM Fedor Sergeev <fedor.sergeev at azul.com> wrote: > > > On 12/3/19 8:01 PM, Juneyoung Lee via llvm-dev wrote: > > 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. > > PassInstrumentation framework was introduced to the new PassManager > specifically in mind with ability > to register arbitrary callbacks and execute them as...
2019 Dec 03
3
Adding custom callback function before/after passes
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...