mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 02:52:53 +02:00
[llvm-mca] Remove redundant include from BackendStatistics.h. NFC
Also use llvm::DenseMap for Histograms (instead of std::map). llvm-svn: 329074
This commit is contained in:
parent
5e5b398a27
commit
ebedc80ebe
@ -57,19 +57,18 @@
|
|||||||
#ifndef LLVM_TOOLS_LLVM_MCA_BACKENDSTATISTICS_H
|
#ifndef LLVM_TOOLS_LLVM_MCA_BACKENDSTATISTICS_H
|
||||||
#define LLVM_TOOLS_LLVM_MCA_BACKENDSTATISTICS_H
|
#define LLVM_TOOLS_LLVM_MCA_BACKENDSTATISTICS_H
|
||||||
|
|
||||||
#include "Backend.h"
|
|
||||||
#include "View.h"
|
#include "View.h"
|
||||||
#include "llvm/ADT/SmallVector.h"
|
#include "llvm/ADT/SmallVector.h"
|
||||||
|
#include "llvm/ADT/DenseMap.h"
|
||||||
#include "llvm/MC/MCSubtargetInfo.h"
|
#include "llvm/MC/MCSubtargetInfo.h"
|
||||||
#include "llvm/Support/raw_ostream.h"
|
#include "llvm/Support/raw_ostream.h"
|
||||||
#include <map>
|
|
||||||
|
|
||||||
namespace mca {
|
namespace mca {
|
||||||
|
|
||||||
class BackendStatistics : public View {
|
class BackendStatistics : public View {
|
||||||
const llvm::MCSubtargetInfo &STI;
|
const llvm::MCSubtargetInfo &STI;
|
||||||
|
|
||||||
using Histogram = std::map<unsigned, unsigned>;
|
using Histogram = llvm::DenseMap<unsigned, unsigned>;
|
||||||
Histogram DispatchGroupSizePerCycle;
|
Histogram DispatchGroupSizePerCycle;
|
||||||
Histogram RetiredPerCycle;
|
Histogram RetiredPerCycle;
|
||||||
Histogram IssuedPerCycle;
|
Histogram IssuedPerCycle;
|
||||||
|
Loading…
Reference in New Issue
Block a user