//===---------------------- RetireStage.cpp ---------------------*- 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 the retire stage of an instruction pipeline. /// The RetireStage represents the process logic that interacts with the /// simulated RetireControlUnit hardware. /// //===----------------------------------------------------------------------===// #include "llvm/MCA/Stages/RetireStage.h" #include "llvm/MCA/HWEventListener.h" #include "llvm/Support/Debug.h" #define DEBUG_TYPE … namespace llvm { namespace mca { llvm::Error RetireStage::cycleStart() { … } llvm::Error RetireStage::cycleEnd() { … } llvm::Error RetireStage::execute(InstRef &IR) { … } void RetireStage::notifyInstructionRetired(const InstRef &IR) const { … } } // namespace mca } // namespace llvm