summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-exegesis/lib/Analysis.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/tools/llvm-exegesis/lib/Analysis.h')
-rw-r--r--llvm/tools/llvm-exegesis/lib/Analysis.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/tools/llvm-exegesis/lib/Analysis.h b/llvm/tools/llvm-exegesis/lib/Analysis.h
index 852aaae0012..d55a9a8c684 100644
--- a/llvm/tools/llvm-exegesis/lib/Analysis.h
+++ b/llvm/tools/llvm-exegesis/lib/Analysis.h
@@ -36,7 +36,9 @@ namespace exegesis {
class Analysis {
public:
Analysis(const llvm::Target &Target,
- const InstructionBenchmarkClustering &Clustering);
+ std::unique_ptr<llvm::MCInstrInfo> InstrInfo,
+ const InstructionBenchmarkClustering &Clustering,
+ bool AnalysisDisplayUnstableOpcodes);
// Prints a csv of instructions for each cluster.
struct PrintClusters {};
@@ -125,6 +127,7 @@ private:
std::unique_ptr<llvm::MCAsmInfo> AsmInfo_;
std::unique_ptr<llvm::MCInstPrinter> InstPrinter_;
std::unique_ptr<llvm::MCDisassembler> Disasm_;
+ const bool AnalysisDisplayUnstableOpcodes_;
};
// Computes the idealized ProcRes Unit pressure. This is the expected
OpenPOWER on IntegriCloud