//===---------------------- EntryStage.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 Fetch stage of an instruction pipeline. Its sole /// purpose in life is to produce instructions for the rest of the pipeline. /// //===----------------------------------------------------------------------===// #include "llvm/MCA/Stages/EntryStage.h" #include "llvm/MCA/Instruction.h" namespace llvm { namespace mca { bool EntryStage::hasWorkToComplete() const { … } bool EntryStage::isAvailable(const InstRef & /* unused */) const { … } Error EntryStage::getNextInstruction() { … } llvm::Error EntryStage::execute(InstRef & /*unused */) { … } llvm::Error EntryStage::cycleStart() { … } llvm::Error EntryStage::cycleResume() { … } llvm::Error EntryStage::cycleEnd() { … } } // namespace mca } // namespace llvm