[obj2yaml] - Fix a comment. NFC.
[llvm-complete.git] / tools / llvm-mca / PipelinePrinter.cpp
blob90d46807599693707066fe68ecc3e0d060cbc4a2
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 //===----------------------------------------------------------------------===//
14 #include "PipelinePrinter.h"
15 #include "Views/View.h"
17 namespace llvm {
18 namespace mca {
20 void PipelinePrinter::printReport(llvm::raw_ostream &OS) const {
21 for (const auto &V : Views)
22 V->printView(OS);
24 } // namespace mca.
25 } // namespace llvm