diff options
author | Matt Davis <Matthew.Davis@sony.com> | 2018-06-28 17:33:24 +0000 |
---|---|---|
committer | Matt Davis <Matthew.Davis@sony.com> | 2018-06-28 17:33:24 +0000 |
commit | 39d2c2868cbf10e097d0f83c95c4e8fa0c6c19c9 (patch) | |
tree | 5af7adb83a302b360e4c5c3dc75d8fa83c4ed159 /tools/llvm-mca | |
parent | abd5dd61fc9b345350179df9b6568344a6ffb9aa (diff) |
[llvm-mca] Delete Pipeline's copy ctor and assignement operator.
Prevent copying of the Pipeline.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@335885 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-mca')
-rw-r--r-- | tools/llvm-mca/Pipeline.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/llvm-mca/Pipeline.h b/tools/llvm-mca/Pipeline.h index 399d89e5145..660c431a476 100644 --- a/tools/llvm-mca/Pipeline.h +++ b/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; |