Displaying 6 results from an estimated 6 matches for "standardinstrumentation".
Did you mean:
standardinstrumentations
2019 Dec 12
3
Adding custom callback function before/after passes
...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 pass manager traverses
> through the pass pipeline.
>
> PassInstrumentationCallbacks are indeed the entity t...
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 HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20191204/1a07...
2019 Aug 06
2
Status of the New Pass Manager
...basically what I saw before.) Does
>> anyone else see this?
>>
>> Are we talking about the same thing?
> Apparently both yes and no.
> How do you run this?
>
> IR printing is implemented through pass instrumentation and is enabled
> in e.g. opt through the use of StandardInstrumentation
> in llvm::runPassPipeline.
> If you set up NewPM by yourself w/o the use llvm::runPassPipeline then
> most likely you just do not have StandardInstrumentation installed.
Reread your mail/output once more and honestly, I do not understand what
happens there.
Can you share exact setup whe...
2019 Aug 07
2
Status of the New Pass Manager
...nyone else see this?
>>>
>>> Are we talking about the same thing?
>> Apparently both yes and no.
>> How do you run this?
>>
>> IR printing is implemented through pass instrumentation and is
>> enabled in e.g. opt through the use of StandardInstrumentation
>> in llvm::runPassPipeline.
>> If you set up NewPM by yourself w/o the use llvm::runPassPipeline
>> then most likely you just do not have StandardInstrumentation
>> installed.
> Reread your mail/output once more and honestly, I do not
> underst...
2019 Aug 06
2
Status of the New Pass Manager
I had a chance to try -print-after-all with NPM.
It seems like there's still no output for the passes
before objc-arc-contract (which is basically what I saw before.) Does
anyone else see this?
Are we talking about the same thing?
*** IR Dump After ObjC ARC contraction ***
*** IR Dump After Pre-ISel Intrinsic Lowering ***
*** IR Dump After Expand Atomic instructions ***
*** IR Dump After
2020 Jul 11
2
[RFC] Introducing classes for the codegen driven by new pass manager
...ese are for dynamic registering machine passes and also used for in-tree machine passes. Personlly I don't think this is needed and similar opinions were expressed before (https://reviews.llvm.org/D54203#1291969). We should probably just register them as normal passes.
- Timing machine passes. (StandardInstrumentation handle this already)