LLVM
22.0.0git
include
llvm
MCA
HardwareUnits
HardwareUnit.h
Go to the documentation of this file.
1
//===-------------------------- HardwareUnit.h ------------------*- C++ -*-===//
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//
7
//===----------------------------------------------------------------------===//
8
/// \file
9
///
10
/// This file defines a base class for describing a simulated hardware
11
/// unit. These units are used to construct a simulated backend.
12
///
13
//===----------------------------------------------------------------------===//
14
15
#ifndef LLVM_MCA_HARDWAREUNITS_HARDWAREUNIT_H
16
#define LLVM_MCA_HARDWAREUNITS_HARDWAREUNIT_H
17
18
#include "
llvm/Support/Compiler.h
"
19
20
namespace
llvm
{
21
namespace
mca {
22
23
class
LLVM_ABI
HardwareUnit
{
24
HardwareUnit
(
const
HardwareUnit
&
H
) =
delete
;
25
HardwareUnit
&operator=(
const
HardwareUnit
&
H
) =
delete
;
26
27
public
:
28
HardwareUnit
() =
default
;
29
virtual
~HardwareUnit
();
30
};
31
32
}
// namespace mca
33
}
// namespace llvm
34
#endif
// LLVM_MCA_HARDWAREUNITS_HARDWAREUNIT_H
Compiler.h
LLVM_ABI
#define LLVM_ABI
Definition:
Compiler.h:213
H
#define H(x, y, z)
Definition:
MD5.cpp:57
llvm::mca::HardwareUnit
Definition:
HardwareUnit.h:23
llvm::mca::HardwareUnit::HardwareUnit
HardwareUnit()=default
llvm::mca::HardwareUnit::~HardwareUnit
virtual ~HardwareUnit()
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:
AddressRanges.h:18
Generated on Wed Sep 3 2025 01:34:02 for LLVM by
1.9.6