This is an archive of the discontinued LLVM Phabricator instance.

[New PM] adding helper that manages standard instrumentations
AbandonedPublic

Authored by fedor.sergeev on Sep 20 2018, 3:45 PM.

Details

Summary

StandardInstrumentations class provides a central place to manage all
the "standard" in-tree pass instrumentations.

Diff Detail

Event Timeline

fedor.sergeev created this revision.Sep 20 2018, 3:45 PM

This looks nice! At this point, I think it makes sense to just move the entire IR Printing implementation here. I don't even think it needs to be mentioned in the header. It doesn't have any other clients, and Analysis is definitely the wrong home.

fedor.sergeev abandoned this revision.Sep 21 2018, 4:25 AM

Thats right. Merging this fix with PrintIR (D50923), where printing callbacks will reside in StandardInstrumentations.cpp.