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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/tools/llvm-exegesis/lib/Analysis.h b/llvm/tools/llvm-exegesis/lib/Analysis.h
index e38f460b79d..36a3479b6df 100644
--- a/llvm/tools/llvm-exegesis/lib/Analysis.h
+++ b/llvm/tools/llvm-exegesis/lib/Analysis.h
@@ -79,6 +79,12 @@ private:
// Return the cluster centroid.
const SchedClassClusterCentroid &getCentroid() const { return Centroid; }
+ std::vector<BenchmarkMeasure>
+ getSchedClassPoint(InstructionBenchmark::ModeE Mode,
+ const llvm::MCSubtargetInfo &STI,
+ const ResolvedSchedClass &SC,
+ ArrayRef<PerInstructionStats> Representative) const;
+
// Returns true if the cluster representative measurements match that of SC.
bool
measurementsMatch(const llvm::MCSubtargetInfo &STI,
OpenPOWER on IntegriCloud