diff options
Diffstat (limited to 'llvm/tools/llvm-exegesis/lib/Latency.h')
-rw-r--r-- | llvm/tools/llvm-exegesis/lib/Latency.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/llvm/tools/llvm-exegesis/lib/Latency.h b/llvm/tools/llvm-exegesis/lib/Latency.h index 2a74f594c79..3a12bdd2004 100644 --- a/llvm/tools/llvm-exegesis/lib/Latency.h +++ b/llvm/tools/llvm-exegesis/lib/Latency.h @@ -25,25 +25,22 @@ public: using BenchmarkRunner::BenchmarkRunner; ~LatencyBenchmarkRunner() override; - llvm::Expected<BenchmarkConfiguration> - generateConfiguration(unsigned Opcode) const; + llvm::Expected<SnippetPrototype> + generatePrototype(unsigned Opcode) const override; private: llvm::Error isInfeasible(const llvm::MCInstrDesc &MCInstrDesc) const; - llvm::Expected<BenchmarkConfiguration> generateSelfAliasingConfiguration( + llvm::Expected<SnippetPrototype> generateSelfAliasingPrototype( const Instruction &Instr, const AliasingConfigurations &SelfAliasing) const; - llvm::Expected<BenchmarkConfiguration> generateTwoInstructionConfiguration( + llvm::Expected<SnippetPrototype> generateTwoInstructionPrototype( const Instruction &Instr, const AliasingConfigurations &SelfAliasing) const; InstructionBenchmark::ModeE getMode() const override; - llvm::Expected<std::vector<BenchmarkConfiguration>> - createConfigurations(unsigned OpcodeIndex) const override; - std::vector<BenchmarkMeasure> runMeasurements(const ExecutableFunction &EF, const unsigned NumRepetitions) const override; |