summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2018-03-16 22:02:47 +0000
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2018-03-16 22:02:47 +0000
commitf6766b0e4554a2137fb281ed69f6c91e2fe8e839 (patch)
treec6d13e9650227674392de052ac1514229026abd5
parent9034c02270084913911564eb03cc173c1b1b2bd6 (diff)
downloadbcm5719-llvm-f6766b0e4554a2137fb281ed69f6c91e2fe8e839.tar.gz
bcm5719-llvm-f6766b0e4554a2137fb281ed69f6c91e2fe8e839.zip
[llvm-mca] Remove unused methods from Backend. NFC
llvm-svn: 327749
-rw-r--r--llvm/tools/llvm-mca/Backend.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/llvm/tools/llvm-mca/Backend.h b/llvm/tools/llvm-mca/Backend.h
index 6e5f52d0556..13e65bb208d 100644
--- a/llvm/tools/llvm-mca/Backend.h
+++ b/llvm/tools/llvm-mca/Backend.h
@@ -80,8 +80,6 @@ public:
runCycle(Cycles++);
}
- unsigned getNumIterations() const { return SM.getNumIterations(); }
- unsigned getNumInstructions() const { return SM.size(); }
const Instruction &getInstruction(unsigned Index) const {
const auto It = Instructions.find(Index);
assert(It != Instructions.end() && "no running instructions with index");
@@ -89,20 +87,15 @@ public:
return *It->second;
}
void eraseInstruction(unsigned Index) { Instructions.erase(Index); }
- unsigned getNumCycles() const { return Cycles; }
unsigned getTotalRegisterMappingsCreated() const {
return DU->getTotalRegisterMappingsCreated();
}
unsigned getMaxUsedRegisterMappings() const {
return DU->getMaxUsedRegisterMappings();
}
- unsigned getDispatchWidth() const { return DU->getDispatchWidth(); }
-
- const llvm::MCSubtargetInfo &getSTI() const { return STI; }
const llvm::MCSchedModel &getSchedModel() const {
return STI.getSchedModel();
}
-
void getBuffersUsage(std::vector<BufferUsageEntry> &Usage) const {
return HWS->getBuffersUsage(Usage);
}
@@ -116,16 +109,6 @@ public:
return DU->getNumDispatchGroupStalls();
}
- const llvm::MCInst &getMCInstFromIndex(unsigned Index) const {
- return SM.getMCInstFromIndex(Index);
- }
-
- const InstrDesc &getInstrDesc(const llvm::MCInst &Inst) const {
- return IB->getOrCreateInstrDesc(STI, Inst);
- }
-
- const SourceMgr &getSourceMgr() const { return SM; }
-
void addEventListener(HWEventListener *Listener);
void notifyCycleBegin(unsigned Cycle);
void notifyInstructionEvent(const HWInstructionEvent &Event);
OpenPOWER on IntegriCloud