LLVM
8.0.1
include
llvm
MCA
HardwareUnits
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
llvm
This class represents lattice values for constants.
Definition:
AllocatorList.h:24
H
#define H(x, y, z)
Definition:
MD5.cpp:57
llvm::mca::HardwareUnit::HardwareUnit
HardwareUnit()=default
llvm::mca::HardwareUnit
Definition:
HardwareUnit.h:22
llvm::mca::HardwareUnit::~HardwareUnit
virtual ~HardwareUnit()
Generated on Sun Dec 20 2020 13:53:32 for LLVM by
1.8.13