1 //===---------------------- Stage.cpp ---------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
11 /// This file defines a stage.
12 /// A chain of stages compose an instruction pipeline.
14 //===----------------------------------------------------------------------===//
20 // Pin the vtable here in the implementation file.
23 void Stage::addListener(HWEventListener *Listener) {
24 Listeners.insert(Listener);