]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm-project/llvm/tools/llvm-mca/PipelinePrinter.cpp
MFV r359401: OpenBSM: import ee79d73e8df5: auditreduce: add a zone filter
[FreeBSD/FreeBSD.git] / contrib / llvm-project / llvm / tools / llvm-mca / PipelinePrinter.cpp
1 //===--------------------- PipelinePrinter.cpp ------------------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 /// \file
9 ///
10 /// This file implements the PipelinePrinter interface.
11 ///
12 //===----------------------------------------------------------------------===//
13
14 #include "PipelinePrinter.h"
15 #include "Views/View.h"
16
17 namespace llvm {
18 namespace mca {
19
20 void PipelinePrinter::printReport(llvm::raw_ostream &OS) const {
21   for (const auto &V : Views)
22     V->printView(OS);
23 }
24 } // namespace mca.
25 } // namespace llvm