llvm/llvm/tools/llvm-mca/Views/ResourcePressureView.cpp

//===--------------------- ResourcePressureView.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 methods in the ResourcePressureView interface.
///
//===----------------------------------------------------------------------===//

#include "Views/ResourcePressureView.h"
#include "llvm/Support/FormattedStream.h"
#include "llvm/Support/raw_ostream.h"

namespace llvm {
namespace mca {

ResourcePressureView::ResourcePressureView(const llvm::MCSubtargetInfo &sti,
                                           MCInstPrinter &Printer,
                                           ArrayRef<MCInst> S)
    :{}

void ResourcePressureView::onEvent(const HWInstructionEvent &Event) {}

static void printColumnNames(formatted_raw_ostream &OS,
                             const MCSchedModel &SM) {}

static void printResourcePressure(formatted_raw_ostream &OS, double Pressure,
                                  unsigned Col) {}

void ResourcePressureView::printResourcePressurePerIter(raw_ostream &OS) const {}

void ResourcePressureView::printResourcePressurePerInst(raw_ostream &OS) const {}

json::Value ResourcePressureView::toJSON() const {}
} // namespace mca
} // namespace llvm