//===---------------------- Stage.h -----------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// /// \file /// /// This file defines a stage. /// A chain of stages compose an instruction pipeline. /// //===----------------------------------------------------------------------===// #ifndef LLVM_MCA_STAGES_STAGE_H #define LLVM_MCA_STAGES_STAGE_H #include "llvm/MCA/HWEventListener.h" #include "llvm/Support/Error.h" #include <set> namespace llvm { namespace mca { class InstRef; class Stage { … }; /// This is actually not an error but a marker to indicate that /// the instruction stream is paused. struct InstStreamPause : public ErrorInfo<InstStreamPause> { … }; } // namespace mca } // namespace llvm #endif // LLVM_MCA_STAGES_STAGE_H