blob: e8c496ab967a98a5f6863ed3dbdcff72bbc379d2 [file] [log] [blame]
Matt Davis362ea5f2018-07-06 18:03:14 +00001//===-------------------------- HardwareUnit.h ------------------*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9/// \file
10///
11/// This file defines a base class for describing a simulated hardware
12/// unit. These units are used to construct a simulated backend.
13///
14//===----------------------------------------------------------------------===//
15
16#ifndef LLVM_TOOLS_LLVM_MCA_HARDWAREUNIT_H
17#define LLVM_TOOLS_LLVM_MCA_HARDWAREUNIT_H
18
19namespace mca {
20
21class HardwareUnit {
22 HardwareUnit(const HardwareUnit &H) = delete;
23 HardwareUnit &operator=(const HardwareUnit &H) = delete;
24
25public:
26 HardwareUnit() = default;
27 virtual ~HardwareUnit();
28};
29
30} // namespace mca
31#endif // LLVM_TOOLS_LLVM_MCA_HARDWAREUNIT_H