Mercurial > hg > CbC > CbC_llvm
comparison tools/llvm-mca/PipelinePrinter.cpp @ 147:c2174574ed3a
LLVM 10
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 14 Aug 2019 16:55:33 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
134:3a76565eade5 | 147:c2174574ed3a |
---|---|
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 //===----------------------------------------------------------------------===// | |
13 | |
14 #include "PipelinePrinter.h" | |
15 #include "Views/View.h" | |
16 | |
17 namespace llvm { | |
18 namespace mca { | |
19 | |
20 void PipelinePrinter::printReport(llvm::raw_ostream &OS) const { | |
21 for (const auto &V : Views) | |
22 V->printView(OS); | |
23 } | |
24 } // namespace mca. | |
25 } // namespace llvm |