[llvm-mca] Make InstrBuilder::getOrCreateInstrDesc private. NFC.

llvm-svn: 339468
This commit is contained in:
Matt Davis 2018-08-10 20:24:27 +00:00
parent 3950095edf
commit 99a1ce9717
1 changed files with 2 additions and 1 deletions

View File

@ -50,6 +50,8 @@ class InstrBuilder {
VariantDescriptors;
const InstrDesc &createInstrDescImpl(const llvm::MCInst &MCI);
const InstrDesc &getOrCreateInstrDesc(const llvm::MCInst &MCI);
InstrBuilder(const InstrBuilder &) = delete;
InstrBuilder &operator=(const InstrBuilder &) = delete;
@ -67,7 +69,6 @@ public:
computeProcResourceMasks(STI.getSchedModel(), ProcResourceMasks);
}
const InstrDesc &getOrCreateInstrDesc(const llvm::MCInst &MCI);
// Returns an array of processor resource masks.
// Masks are computed by function mca::computeProcResourceMasks. see
// Support.h for a description of how masks are computed and how masks can be