1 //===-------------------------- HardwareUnit.h ------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
11 /// This file defines a base class for describing a simulated hardware
12 /// unit. These units are used to construct a simulated backend.
14 //===----------------------------------------------------------------------===//
16 #ifndef LLVM_MCA_HARDWAREUNIT_H
17 #define LLVM_MCA_HARDWAREUNIT_H
23 HardwareUnit(const HardwareUnit &H) = delete;
24 HardwareUnit &operator=(const HardwareUnit &H) = delete;
27 HardwareUnit() = default;
28 virtual ~HardwareUnit();
33 #endif // LLVM_MCA_HARDWAREUNIT_H