1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00

[llvm-mca] Move views and stats into a Views subdir. NFC.

llvm-svn: 340645
This commit is contained in:
Matt Davis 2018-08-24 20:24:53 +00:00
parent 35402c17d4
commit 1e4dfd0b90
23 changed files with 37 additions and 38 deletions

View File

@ -10,33 +10,33 @@ set(LLVM_LINK_COMPONENTS
)
add_llvm_tool(llvm-mca
llvm-mca.cpp
CodeRegion.cpp
Context.cpp
DispatchStage.cpp
DispatchStatistics.cpp
ExecuteStage.cpp
FetchStage.cpp
HWEventListener.cpp
HardwareUnit.cpp
InstrBuilder.cpp
Instruction.cpp
InstructionInfoView.cpp
InstructionTables.cpp
LSUnit.cpp
llvm-mca.cpp
Pipeline.cpp
PipelinePrinter.cpp
RegisterFile.cpp
RegisterFileStatistics.cpp
ResourcePressureView.cpp
RetireControlUnit.cpp
RetireControlUnitStatistics.cpp
RetireStage.cpp
Scheduler.cpp
SchedulerStatistics.cpp
Stage.cpp
Support.cpp
SummaryView.cpp
TimelineView.cpp
View.cpp
Views/DispatchStatistics.cpp
Views/InstructionInfoView.cpp
Views/RegisterFileStatistics.cpp
Views/ResourcePressureView.cpp
Views/RetireControlUnitStatistics.cpp
Views/SchedulerStatistics.cpp
Views/SummaryView.cpp
Views/TimelineView.cpp
Views/View.cpp
)

View File

@ -20,7 +20,6 @@
#include "InstrBuilder.h"
#include "Scheduler.h"
#include "Stage.h"
#include "View.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/MC/MCSchedule.h"

View File

@ -13,7 +13,7 @@
//===----------------------------------------------------------------------===//
#include "PipelinePrinter.h"
#include "View.h"
#include "Views/View.h"
namespace mca {

View File

@ -18,7 +18,7 @@
#define LLVM_TOOLS_LLVM_MCA_PIPELINEPRINTER_H
#include "Pipeline.h"
#include "View.h"
#include "Views/View.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/Support/raw_ostream.h"

View File

@ -13,7 +13,7 @@
///
//===----------------------------------------------------------------------===//
#include "DispatchStatistics.h"
#include "Views/DispatchStatistics.h"
#include "llvm/Support/Format.h"
using namespace llvm;

View File

@ -34,7 +34,7 @@
#ifndef LLVM_TOOLS_LLVM_MCA_DISPATCHVIEW_H
#define LLVM_TOOLS_LLVM_MCA_DISPATCHVIEW_H
#include "View.h"
#include "Views/View.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/MC/MCSubtargetInfo.h"
#include <map>

View File

@ -12,7 +12,7 @@
///
//===----------------------------------------------------------------------===//
#include "InstructionInfoView.h"
#include "Views/InstructionInfoView.h"
namespace mca {

View File

@ -36,7 +36,7 @@
#define LLVM_TOOLS_LLVM_MCA_INSTRUCTIONINFOVIEW_H
#include "SourceMgr.h"
#include "View.h"
#include "Views/View.h"
#include "llvm/MC/MCInstPrinter.h"
#include "llvm/MC/MCInstrInfo.h"
#include "llvm/MC/MCSubtargetInfo.h"

View File

@ -12,7 +12,7 @@
///
//===----------------------------------------------------------------------===//
#include "RegisterFileStatistics.h"
#include "Views/RegisterFileStatistics.h"
#include "llvm/Support/Format.h"
using namespace llvm;

View File

@ -32,7 +32,7 @@
#ifndef LLVM_TOOLS_LLVM_MCA_REGISTERFILESTATISTICS_H
#define LLVM_TOOLS_LLVM_MCA_REGISTERFILESTATISTICS_H
#include "View.h"
#include "Views/View.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/MC/MCSubtargetInfo.h"

View File

@ -12,7 +12,7 @@
///
//===----------------------------------------------------------------------===//
#include "ResourcePressureView.h"
#include "Views/ResourcePressureView.h"
#include "llvm/Support/FormattedStream.h"
#include "llvm/Support/raw_ostream.h"

View File

@ -59,7 +59,7 @@
#define LLVM_TOOLS_LLVM_MCA_RESOURCEPRESSUREVIEW_H
#include "SourceMgr.h"
#include "View.h"
#include "Views/View.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/MC/MCInstPrinter.h"
#include "llvm/MC/MCSubtargetInfo.h"

View File

@ -12,7 +12,7 @@
///
//===----------------------------------------------------------------------===//
#include "RetireControlUnitStatistics.h"
#include "Views/RetireControlUnitStatistics.h"
#include "llvm/Support/Format.h"
using namespace llvm;

View File

@ -26,7 +26,7 @@
#ifndef LLVM_TOOLS_LLVM_MCA_RETIRECONTROLUNITSTATISTICS_H
#define LLVM_TOOLS_LLVM_MCA_RETIRECONTROLUNITSTATISTICS_H
#include "View.h"
#include "Views/View.h"
#include "llvm/MC/MCSubtargetInfo.h"
#include <map>

View File

@ -12,7 +12,7 @@
///
//===----------------------------------------------------------------------===//
#include "SchedulerStatistics.h"
#include "Views/SchedulerStatistics.h"
#include "llvm/Support/Format.h"
using namespace llvm;

View File

@ -31,7 +31,7 @@
#ifndef LLVM_TOOLS_LLVM_MCA_SCHEDULERSTATISTICS_H
#define LLVM_TOOLS_LLVM_MCA_SCHEDULERSTATISTICS_H
#include "View.h"
#include "Views/View.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/MC/MCSubtargetInfo.h"
#include <map>

View File

@ -13,7 +13,7 @@
///
//===----------------------------------------------------------------------===//
#include "SummaryView.h"
#include "Views/SummaryView.h"
#include "Support.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/Support/Format.h"

View File

@ -30,7 +30,7 @@
#define LLVM_TOOLS_LLVM_MCA_SUMMARYVIEW_H
#include "SourceMgr.h"
#include "View.h"
#include "Views/View.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/MC/MCSchedule.h"
#include "llvm/Support/raw_ostream.h"

View File

@ -12,7 +12,7 @@
///
//===----------------------------------------------------------------------===//
#include "TimelineView.h"
#include "Views/TimelineView.h"
using namespace llvm;

View File

@ -101,7 +101,7 @@
#define LLVM_TOOLS_LLVM_MCA_TIMELINEVIEW_H
#include "SourceMgr.h"
#include "View.h"
#include "Views/View.h"
#include "llvm/MC/MCInstPrinter.h"
#include "llvm/MC/MCSubtargetInfo.h"
#include "llvm/Support/FormattedStream.h"

View File

@ -12,7 +12,7 @@
///
//===----------------------------------------------------------------------===//
#include "View.h"
#include "Views/View.h"
namespace mca {

View File

@ -23,18 +23,18 @@
#include "CodeRegion.h"
#include "Context.h"
#include "DispatchStatistics.h"
#include "FetchStage.h"
#include "InstructionInfoView.h"
#include "InstructionTables.h"
#include "Pipeline.h"
#include "PipelinePrinter.h"
#include "RegisterFileStatistics.h"
#include "ResourcePressureView.h"
#include "RetireControlUnitStatistics.h"
#include "SchedulerStatistics.h"
#include "SummaryView.h"
#include "TimelineView.h"
#include "Views/DispatchStatistics.h"
#include "Views/InstructionInfoView.h"
#include "Views/RegisterFileStatistics.h"
#include "Views/ResourcePressureView.h"
#include "Views/RetireControlUnitStatistics.h"
#include "Views/SchedulerStatistics.h"
#include "Views/SummaryView.h"
#include "Views/TimelineView.h"
#include "llvm/MC/MCAsmInfo.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCObjectFileInfo.h"