Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-10 08:44:16

0001 //===-------------------------- HardwareUnit.h ------------------*- C++ -*-===//
0002 //
0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0004 // See https://llvm.org/LICENSE.txt for license information.
0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0006 //
0007 //===----------------------------------------------------------------------===//
0008 /// \file
0009 ///
0010 /// This file defines a base class for describing a simulated hardware
0011 /// unit.  These units are used to construct a simulated backend.
0012 ///
0013 //===----------------------------------------------------------------------===//
0014 
0015 #ifndef LLVM_MCA_HARDWAREUNITS_HARDWAREUNIT_H
0016 #define LLVM_MCA_HARDWAREUNITS_HARDWAREUNIT_H
0017 
0018 namespace llvm {
0019 namespace mca {
0020 
0021 class HardwareUnit {
0022   HardwareUnit(const HardwareUnit &H) = delete;
0023   HardwareUnit &operator=(const HardwareUnit &H) = delete;
0024 
0025 public:
0026   HardwareUnit() = default;
0027   virtual ~HardwareUnit();
0028 };
0029 
0030 } // namespace mca
0031 } // namespace llvm
0032 #endif // LLVM_MCA_HARDWAREUNITS_HARDWAREUNIT_H