From: Matt Davis Date: Fri, 10 Aug 2018 20:24:27 +0000 (+0000) Subject: [llvm-mca] Make InstrBuilder::getOrCreateInstrDesc private. NFC. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=99a1ce97172ec0f849eba11dfd48e2fbaade412b;p=platform%2Fupstream%2Fllvm.git [llvm-mca] Make InstrBuilder::getOrCreateInstrDesc private. NFC. llvm-svn: 339468 --- diff --git a/llvm/tools/llvm-mca/InstrBuilder.h b/llvm/tools/llvm-mca/InstrBuilder.h index 69a53b6..b1f39d8 100644 --- a/llvm/tools/llvm-mca/InstrBuilder.h +++ b/llvm/tools/llvm-mca/InstrBuilder.h @@ -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