1 //===-------------------------- 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 19 namespace mca { 20 21 class HardwareUnit { 22 HardwareUnit(const HardwareUnit &H) = delete; 23 HardwareUnit &operator=(const HardwareUnit &H) = delete; 24 25 public: 26 HardwareUnit() = default; 27 virtual ~HardwareUnit(); 28 }; 29 30 } // namespace mca 31 #endif // LLVM_TOOLS_LLVM_MCA_HARDWAREUNIT_H 32