blob: e8cbd5c61a0b8dc4d9239f5221bcdb545aac5ed9 [file] [log] [blame]
Clement Courbet37f0ca02018-05-15 12:08:00 +00001//===-- 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
23namespace exegesis {
24
25// Prints a csv of instructions for each cluster.
26llvm::Error
27printAnalysisClusters(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