summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-exegesis/lib/Latency.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/tools/llvm-exegesis/lib/Latency.h')
-rw-r--r--llvm/tools/llvm-exegesis/lib/Latency.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/tools/llvm-exegesis/lib/Latency.h b/llvm/tools/llvm-exegesis/lib/Latency.h
index fdaeb786fa5..f8c524afce4 100644
--- a/llvm/tools/llvm-exegesis/lib/Latency.h
+++ b/llvm/tools/llvm-exegesis/lib/Latency.h
@@ -26,14 +26,14 @@ public:
: BenchmarkRunner(State, InstructionBenchmark::Latency) {}
~LatencyBenchmarkRunner() override;
- llvm::Expected<SnippetPrototype>
- generatePrototype(unsigned Opcode) const override;
+ llvm::Expected<CodeTemplate>
+ generateCodeTemplate(unsigned Opcode) const override;
private:
llvm::Error isInfeasible(const llvm::MCInstrDesc &MCInstrDesc) const;
- llvm::Expected<SnippetPrototype> generateTwoInstructionPrototype(
- const Instruction &Instr) const;
+ llvm::Expected<CodeTemplate>
+ generateTwoInstructionPrototype(const Instruction &Instr) const;
std::vector<BenchmarkMeasure>
runMeasurements(const ExecutableFunction &EF, ScratchSpace &Scratch,
OpenPOWER on IntegriCloud