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

Go to the documentation of this file.

1//===----------------------- HWEventListener.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 a vtable anchor for class HWEventListener.

11///

12//===----------------------------------------------------------------------===//

13

15

16namespace llvm {

17namespace mca {

18

19// Anchor the vtable here.

20void HWEventListener::anchor() {}

21} // namespace mca

22} // namespace llvm

This file defines the main interface for hardware event listeners.

This is an optimization pass for GlobalISel generic memory operations.