summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-mca/PipelinePrinter.cpp
diff options
context:
space:
mode:
authorMatt Davis <Matthew.Davis@sony.com>2018-07-14 23:52:50 +0000
committerMatt Davis <Matthew.Davis@sony.com>2018-07-14 23:52:50 +0000
commit0e8402eccd74c20630eefed63a8ff8635f3d0350 (patch)
tree880a4d348d039acd77b03658e54789a1475d81f2 /llvm/tools/llvm-mca/PipelinePrinter.cpp
parentc7bc4c02eb3ebb1075ac608a8351e8c9ccb92ee6 (diff)
downloadbcm5719-llvm-0e8402eccd74c20630eefed63a8ff8635f3d0350.tar.gz
bcm5719-llvm-0e8402eccd74c20630eefed63a8ff8635f3d0350.zip
[llvm-mca] Turn InstructionTables into a Stage.
Summary: This patch converts the InstructionTables class into a subclass of mca::Stage. This change allows us to use the Stage's inherited Listeners for event notifications. This also allows us to create a simple pipeline for viewing the InstructionTables report. I have been working on a follow on patch that should cleanup addView in InstructionTables. Right now, addView adds the view to both the Listener list and Views list. The follow-on patch addresses the fact that we don't really need two lists in this case. That change is not specific to just InstructionTables, so it will be a separate patch. Reviewers: andreadb, courbet, RKSimon Reviewed By: andreadb Subscribers: tschuett, gbedwell, llvm-commits Differential Revision: https://reviews.llvm.org/D49329 llvm-svn: 337113
Diffstat (limited to 'llvm/tools/llvm-mca/PipelinePrinter.cpp')
-rw-r--r--llvm/tools/llvm-mca/PipelinePrinter.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/tools/llvm-mca/PipelinePrinter.cpp b/llvm/tools/llvm-mca/PipelinePrinter.cpp
index 6e85b92db2f..c5b1a12b792 100644
--- a/llvm/tools/llvm-mca/PipelinePrinter.cpp
+++ b/llvm/tools/llvm-mca/PipelinePrinter.cpp
@@ -14,7 +14,6 @@
#include "PipelinePrinter.h"
#include "View.h"
-#include "llvm/CodeGen/TargetSchedule.h"
namespace mca {
OpenPOWER on IntegriCloud