summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-mca
diff options
context:
space:
mode:
authorMatt Davis <Matthew.Davis@sony.com>2018-08-10 20:24:27 +0000
committerMatt Davis <Matthew.Davis@sony.com>2018-08-10 20:24:27 +0000
commit99a1ce97172ec0f849eba11dfd48e2fbaade412b (patch)
tree97d4bdedb1824a8e8232ff79366738fe6f14cb89 /llvm/tools/llvm-mca
parent3950095edf1d4d2027fb7cb9052b611e8ad263ae (diff)
downloadbcm5719-llvm-99a1ce97172ec0f849eba11dfd48e2fbaade412b.tar.gz
bcm5719-llvm-99a1ce97172ec0f849eba11dfd48e2fbaade412b.zip
[llvm-mca] Make InstrBuilder::getOrCreateInstrDesc private. NFC.
llvm-svn: 339468
Diffstat (limited to 'llvm/tools/llvm-mca')
-rw-r--r--llvm/tools/llvm-mca/InstrBuilder.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/tools/llvm-mca/InstrBuilder.h b/llvm/tools/llvm-mca/InstrBuilder.h
index 69a53b6fec2..b1f39d8d064 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
OpenPOWER on IntegriCloud