search for: passtiminginfo

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

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...
2019 Dec 12
3
Adding custom callback function before/after passes
...ge make sense? Thanks, Juneyoung Lee On Thu, Dec 12, 2019 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 mi...