summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-mca
diff options
context:
space:
mode:
authorMatt Davis <Matthew.Davis@sony.com>2018-06-28 17:33:24 +0000
committerMatt Davis <Matthew.Davis@sony.com>2018-06-28 17:33:24 +0000
commit8238def2a8c579311527c2dc8f51c0d9c6dbfb38 (patch)
tree0113a9cf7b836393ff3645c81b5f893d2844d521 /llvm/tools/llvm-mca
parent99f701673d1f91274e3535f4570a0e750034bf31 (diff)
downloadbcm5719-llvm-8238def2a8c579311527c2dc8f51c0d9c6dbfb38.tar.gz
bcm5719-llvm-8238def2a8c579311527c2dc8f51c0d9c6dbfb38.zip
[llvm-mca] Delete Pipeline's copy ctor and assignement operator.
Prevent copying of the Pipeline. llvm-svn: 335885
Diffstat (limited to 'llvm/tools/llvm-mca')
-rw-r--r--llvm/tools/llvm-mca/Pipeline.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/tools/llvm-mca/Pipeline.h b/llvm/tools/llvm-mca/Pipeline.h
index 399d89e5145..660c431a476 100644
--- a/llvm/tools/llvm-mca/Pipeline.h
+++ b/llvm/tools/llvm-mca/Pipeline.h
@@ -51,6 +51,9 @@ class HWStallEvent;
/// histograms. For example, it tracks how the dispatch group size changes
/// over time.
class Pipeline {
+ Pipeline(const Pipeline &P) = delete;
+ Pipeline &operator=(const Pipeline &P) = delete;
+
/// An ordered list of stages that define this instruction pipeline.
llvm::SmallVector<std::unique_ptr<Stage>, 8> Stages;
std::set<HWEventListener *> Listeners;
OpenPOWER on IntegriCloud