#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 { … }
}
}