HomePhabricator

[llvm-mca] Unify the API for the various views. NFCI

Description

[llvm-mca] Unify the API for the various views. NFCI

This allows the customization of the performance report.

Users can specify their own custom sequence of views.
Each view contributes a portion of the performance report generated by the
BackendPrinter.

Internally, class BackendPrinter keeps a sequence of views; views are printed
out in sequence when method 'printReport()' is called.

This patch addresses one of the two review comments from Clement in D43951.

Details

Committed
adibiagioMar 8 2018, 8:08 AM
Parents
rL327017: Fix std unique pointer pretty-printer for new stl versions
Branches
Unknown
Tags
Unknown