2018-06-26 00:53:00 +08:00
|
|
|
//===--------------------- PipelinePrinter.cpp ------------------*- C++ -*-===//
|
2018-03-08 21:05:02 +08:00
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
/// \file
|
|
|
|
///
|
2018-06-26 00:53:00 +08:00
|
|
|
/// This file implements the PipelinePrinter interface.
|
2018-03-08 21:05:02 +08:00
|
|
|
///
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2018-06-26 00:53:00 +08:00
|
|
|
#include "PipelinePrinter.h"
|
2018-08-25 04:24:53 +08:00
|
|
|
#include "Views/View.h"
|
2018-03-08 21:05:02 +08:00
|
|
|
|
|
|
|
namespace mca {
|
|
|
|
|
|
|
|
using namespace llvm;
|
|
|
|
|
2018-06-26 00:53:00 +08:00
|
|
|
void PipelinePrinter::printReport(llvm::raw_ostream &OS) const {
|
2018-03-09 00:08:43 +08:00
|
|
|
for (const auto &V : Views)
|
|
|
|
V->printView(OS);
|
2018-03-08 21:05:02 +08:00
|
|
|
}
|
|
|
|
} // namespace mca.
|