Clement Courbet | 37f0ca0 | 2018-05-15 12:08:00 +0000 | [diff] [blame^] | 1 | //===-- Analysis.h ----------------------------------------------*- 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 | /// |
| 10 | /// \file |
| 11 | /// Analysis output for benchmark results. |
| 12 | /// |
| 13 | //===----------------------------------------------------------------------===// |
| 14 | |
| 15 | #ifndef LLVM_TOOLS_LLVM_EXEGESIS_ANALYSIS_H |
| 16 | #define LLVM_TOOLS_LLVM_EXEGESIS_ANALYSIS_H |
| 17 | |
| 18 | #include "Clustering.h" |
| 19 | #include "llvm/MC/MCSubtargetInfo.h" |
| 20 | #include "llvm/Support/Error.h" |
| 21 | #include "llvm/Support/raw_ostream.h" |
| 22 | |
| 23 | namespace exegesis { |
| 24 | |
| 25 | // Prints a csv of instructions for each cluster. |
| 26 | llvm::Error |
| 27 | printAnalysisClusters(const InstructionBenchmarkClustering &Clustering, |
| 28 | const llvm::MCSubtargetInfo &STI, llvm::raw_ostream &OS); |
| 29 | |
| 30 | } // namespace exegesis |
| 31 | |
| 32 | #endif // LLVM_TOOLS_LLVM_EXEGESIS_CLUSTERING_H |