mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
aa3d30a34b
implemented at this time are Summary, Timeline, ResourcePressure and InstructionInfo. Use --json on the command line to obtain JSON output.
26 lines
784 B
C++
26 lines
784 B
C++
//===--------------------- PipelinePrinter.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 PipelinePrinter interface.
|
|
///
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include "PipelinePrinter.h"
|
|
#include "Views/View.h"
|
|
|
|
namespace llvm {
|
|
namespace mca {
|
|
|
|
void PipelinePrinter::printReport(llvm::raw_ostream &OS) const {
|
|
for (const auto &V : Views)
|
|
V->printView(OutputKind, OS);
|
|
}
|
|
} // namespace mca.
|
|
} // namespace llvm
|