LLVM  8.0.1
HardwareUnit.h
Go to the documentation of this file.
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_MCA_HARDWAREUNIT_H
17 #define LLVM_MCA_HARDWAREUNIT_H
18 
19 namespace llvm {
20 namespace mca {
21 
22 class HardwareUnit {
23  HardwareUnit(const HardwareUnit &H) = delete;
24  HardwareUnit &operator=(const HardwareUnit &H) = delete;
25 
26 public:
27  HardwareUnit() = default;
28  virtual ~HardwareUnit();
29 };
30 
31 } // namespace mca
32 } // namespace llvm
33 #endif // LLVM_MCA_HARDWAREUNIT_H
This class represents lattice values for constants.
Definition: AllocatorList.h:24
#define H(x, y, z)
Definition: MD5.cpp:57