LLVM: lib/MCA/HardwareUnits/HardwareUnit.cpp Source File (original) (raw)

Go to the documentation of this file.

1//===------------------------- HardwareUnit.cpp -----------------*- 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 the anchor for the base class that describes

11/// simulated hardware units.

12///

13//===----------------------------------------------------------------------===//

14

16

17namespace llvm {

18namespace mca {

19

20// Pin the vtable with this method.

22

23} // namespace mca

24} // namespace llvm

This file defines a base class for describing a simulated hardware unit.

This is an optimization pass for GlobalISel generic memory operations.