From f41ad5c59efd7a11d78b9742228dcf858bd33d84 Mon Sep 17 00:00:00 2001 From: Andrea Di Biagio Date: Wed, 11 Apr 2018 12:12:53 +0000 Subject: [llvm-mca] Renamed BackendStatistics to RetireControlUnitStatistics. Also, removed flag -verbose in favor of flag -retire-stats. llvm-svn: 329794 --- llvm/tools/llvm-mca/llvm-mca.cpp | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'llvm/tools/llvm-mca/llvm-mca.cpp') diff --git a/llvm/tools/llvm-mca/llvm-mca.cpp b/llvm/tools/llvm-mca/llvm-mca.cpp index 7b50196f418..3cb62928349 100644 --- a/llvm/tools/llvm-mca/llvm-mca.cpp +++ b/llvm/tools/llvm-mca/llvm-mca.cpp @@ -22,13 +22,13 @@ //===----------------------------------------------------------------------===// #include "BackendPrinter.h" -#include "BackendStatistics.h" #include "CodeRegion.h" #include "DispatchStatistics.h" #include "InstructionInfoView.h" #include "InstructionTables.h" #include "RegisterFileStatistics.h" #include "ResourcePressureView.h" +#include "RetireControlUnitStatistics.h" #include "SchedulerStatistics.h" #include "SummaryView.h" #include "TimelineView.h" @@ -101,10 +101,15 @@ static cl::opt cl::init(false)); static cl::opt - PrintiSchedulerStats("scheduler-stats", + PrintSchedulerStats("scheduler-stats", cl::desc("Print scheduler statistics"), cl::init(false)); +static cl::opt + PrintRetireStats("retire-stats", + cl::desc("Print retire control unit statistics"), + cl::init(false)); + static cl::opt PrintResourcePressureView("resource-pressure", cl::desc("Print the resource pressure view"), @@ -438,11 +443,11 @@ int main(int argc, char **argv) { if (PrintDispatchStats) Printer.addView(llvm::make_unique(*STI)); - if (PrintiSchedulerStats) + if (PrintSchedulerStats) Printer.addView(llvm::make_unique(*STI)); - if (PrintModeVerbose) - Printer.addView(llvm::make_unique(*STI)); + if (PrintRetireStats) + Printer.addView(llvm::make_unique()); if (PrintRegisterFileStats) Printer.addView(llvm::make_unique(*STI)); -- cgit v1.2.3