//===--------------------- SummaryView.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 the functionalities used by the SummaryView to print /// the report information. /// //===----------------------------------------------------------------------===// #include "Views/SummaryView.h" #include "llvm/ADT/SmallVector.h" #include "llvm/MCA/Support.h" #include "llvm/Support/Format.h" namespace llvm { namespace mca { #define DEBUG_TYPE … SummaryView::SummaryView(const MCSchedModel &Model, ArrayRef<MCInst> S, unsigned Width) : … { … } void SummaryView::onEvent(const HWInstructionEvent &Event) { … } void SummaryView::printView(raw_ostream &OS) const { … } void SummaryView::collectData(DisplayValues &DV) const { … } json::Value SummaryView::toJSON() const { … } } // namespace mca. } // namespace llvm