llvm/llvm/lib/MCA/Pipeline.cpp

//===--------------------- Pipeline.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 implements an ordered container of stages that simulate the
/// pipeline of a hardware backend.
///
//===----------------------------------------------------------------------===//

#include "llvm/MCA/Pipeline.h"
#include "llvm/MCA/HWEventListener.h"
#include "llvm/Support/Debug.h"

namespace llvm {
namespace mca {

#define DEBUG_TYPE

void Pipeline::addEventListener(HWEventListener *Listener) {}

bool Pipeline::hasWorkToProcess() {}

Expected<unsigned> Pipeline::run() {}

Error Pipeline::runCycle() {}

void Pipeline::appendStage(std::unique_ptr<Stage> S) {}

void Pipeline::notifyCycleBegin() {}

void Pipeline::notifyCycleEnd() {}
} // namespace mca.
} // namespace llvm