1 //===-------------------------- HardwareUnit.h ------------------*- C++ -*-===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
10 /// This file defines a base class for describing a simulated hardware
11 /// unit. These units are used to construct a simulated backend.
13 //===----------------------------------------------------------------------===//
15 #ifndef LLVM_MCA_HARDWAREUNIT_H
16 #define LLVM_MCA_HARDWAREUNIT_H
22 HardwareUnit(const HardwareUnit
&H
) = delete;
23 HardwareUnit
&operator=(const HardwareUnit
&H
) = delete;
26 HardwareUnit() = default;
27 virtual ~HardwareUnit();
32 #endif // LLVM_MCA_HARDWAREUNIT_H