10b57cec5SDimitry Andric //===-------------------------- HardwareUnit.h ------------------*- C++ -*-===// 20b57cec5SDimitry Andric // 30b57cec5SDimitry Andric // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 40b57cec5SDimitry Andric // See https://llvm.org/LICENSE.txt for license information. 50b57cec5SDimitry Andric // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 60b57cec5SDimitry Andric // 70b57cec5SDimitry Andric //===----------------------------------------------------------------------===// 80b57cec5SDimitry Andric /// \file 90b57cec5SDimitry Andric /// 100b57cec5SDimitry Andric /// This file defines a base class for describing a simulated hardware 110b57cec5SDimitry Andric /// unit. These units are used to construct a simulated backend. 120b57cec5SDimitry Andric /// 130b57cec5SDimitry Andric //===----------------------------------------------------------------------===// 140b57cec5SDimitry Andric 15*fe6060f1SDimitry Andric #ifndef LLVM_MCA_HARDWAREUNITS_HARDWAREUNIT_H 16*fe6060f1SDimitry Andric #define LLVM_MCA_HARDWAREUNITS_HARDWAREUNIT_H 170b57cec5SDimitry Andric 180b57cec5SDimitry Andric namespace llvm { 190b57cec5SDimitry Andric namespace mca { 200b57cec5SDimitry Andric 210b57cec5SDimitry Andric class HardwareUnit { 220b57cec5SDimitry Andric HardwareUnit(const HardwareUnit &H) = delete; 230b57cec5SDimitry Andric HardwareUnit &operator=(const HardwareUnit &H) = delete; 240b57cec5SDimitry Andric 250b57cec5SDimitry Andric public: 260b57cec5SDimitry Andric HardwareUnit() = default; 270b57cec5SDimitry Andric virtual ~HardwareUnit(); 280b57cec5SDimitry Andric }; 290b57cec5SDimitry Andric 300b57cec5SDimitry Andric } // namespace mca 310b57cec5SDimitry Andric } // namespace llvm 32*fe6060f1SDimitry Andric #endif // LLVM_MCA_HARDWAREUNITS_HARDWAREUNIT_H 33