OSDN Git Service

[llvm-mca] Remove unused flag -verbose. NFC
[android-x86/external-llvm.git] / tools / llvm-mca / BackendPrinter.cpp
1 //===--------------------- BackendPrinter.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 BackendPrinter interface.
12 ///
13 //===----------------------------------------------------------------------===//
14
15 #include "BackendPrinter.h"
16 #include "View.h"
17 #include "llvm/CodeGen/TargetSchedule.h"
18
19 namespace mca {
20
21 using namespace llvm;
22
23 void BackendPrinter::printReport(llvm::raw_ostream &OS) const {
24   for (const auto &V : Views)
25     V->printView(OS);
26 }
27 } // namespace mca.