LLVM
8.0.1
lib
MCA
Stages
Stage.cpp
Go to the documentation of this file.
1
//===---------------------- Stage.cpp ---------------------------*- 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 stage.
12
/// A chain of stages compose an instruction pipeline.
13
///
14
//===----------------------------------------------------------------------===//
15
16
#include "
llvm/MCA/Stages/Stage.h
"
17
18
namespace
llvm
{
19
namespace
mca {
20
21
// Pin the vtable here in the implementation file.
22
Stage::~Stage
() =
default
;
23
24
void
Stage::addListener
(
HWEventListener
*Listener) {
25
Listeners.insert(Listener);
26
}
27
28
}
// namespace mca
29
}
// namespace llvm
llvm
This class represents lattice values for constants.
Definition:
AllocatorList.h:24
llvm::mca::HWEventListener
Definition:
HWEventListener.h:129
Stage.h
This file defines a stage.
llvm::mca::Stage::~Stage
virtual ~Stage()
llvm::mca::Stage::addListener
void addListener(HWEventListener *Listener)
Add a listener to receive callbacks during the execution of this stage.
Definition:
Stage.cpp:24
Generated on Sun Dec 20 2020 13:55:47 for LLVM by
1.8.13