Improve Register Setup
[llvm-core.git] / tools / llvm-mca / PipelinePrinter.cpp
blob619f22cc810e4f17c5f61c9e0ed4cf45c6313466
1 //===--------------------- PipelinePrinter.cpp ------------------*- C++ -*-===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 /// \file
10 ///
11 /// This file implements the PipelinePrinter interface.
12 ///
13 //===----------------------------------------------------------------------===//
15 #include "PipelinePrinter.h"
16 #include "Views/View.h"
18 namespace mca {
20 using namespace llvm;
22 void PipelinePrinter::printReport(llvm::raw_ostream &OS) const {
23 for (const auto &V : Views)
24 V->printView(OS);
26 } // namespace mca.