2018-06-25 18:53:00 +02:00
|
|
|
//===--------------------- PipelinePrinter.cpp ------------------*- C++ -*-===//
|
2018-03-08 14:05:02 +01:00
|
|
|
//
|
2019-01-19 09:50:56 +01:00
|
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
2018-03-08 14:05:02 +01:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
/// \file
|
|
|
|
///
|
2018-06-25 18:53:00 +02:00
|
|
|
/// This file implements the PipelinePrinter interface.
|
2018-03-08 14:05:02 +01:00
|
|
|
///
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2018-06-25 18:53:00 +02:00
|
|
|
#include "PipelinePrinter.h"
|
2018-08-24 22:24:53 +02:00
|
|
|
#include "Views/View.h"
|
2018-03-08 14:05:02 +01:00
|
|
|
|
2018-10-30 16:56:08 +01:00
|
|
|
namespace llvm {
|
2018-03-08 14:05:02 +01:00
|
|
|
namespace mca {
|
|
|
|
|
2018-06-25 18:53:00 +02:00
|
|
|
void PipelinePrinter::printReport(llvm::raw_ostream &OS) const {
|
2018-03-08 17:08:43 +01:00
|
|
|
for (const auto &V : Views)
|
|
|
|
V->printView(OS);
|
2018-03-08 14:05:02 +01:00
|
|
|
}
|
|
|
|
} // namespace mca.
|
2018-10-30 16:56:08 +01:00
|
|
|
} // namespace llvm
|