Files
archived-llvm/tools/llvm-mca/Stage.cpp
Andrea Di Biagio 13e8f305a9 [llvm-mca] Remove redundant includes in Stage.h.
This patch also makes Stage::isReady() a const method.

No functional change.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@332443 91177308-0d34-0410-b5e6-96231b3b80d8
2018-05-16 09:24:38 +00:00

29 lines
813 B
C++

//===---------------------- Stage.cpp ---------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
/// \file
///
/// This file defines a stage.
/// A chain of stages compose an instruction pipeline.
///
//===----------------------------------------------------------------------===//
#include "Stage.h"
#include "llvm/Support/ErrorHandling.h"
namespace mca {
// Pin the vtable here in the implementation file.
Stage::Stage() {}
void Stage::addListener(HWEventListener *Listener) {
llvm_unreachable("Stage-based eventing is not implemented.");
}
} // namespace mca