summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-exegesis/lib/Uops.h
diff options
context:
space:
mode:
authorClement Courbet <courbet@google.com>2018-05-17 08:12:29 +0000
committerClement Courbet <courbet@google.com>2018-05-17 08:12:29 +0000
commit295a554ce4a29ab2ef5e9ab538ac83596a536635 (patch)
tree2bb66578ef79379869c71cd47850b712d03ac02e /llvm/tools/llvm-exegesis/lib/Uops.h
parentee110fb735651d63252f70104d39c5a0376ee20d (diff)
downloadbcm5719-llvm-295a554ce4a29ab2ef5e9ab538ac83596a536635.tar.gz
bcm5719-llvm-295a554ce4a29ab2ef5e9ab538ac83596a536635.zip
Revert r332579 "[llvm-exegesis] Update to cover latency through another opcode."
The revision failed to update the ARM tests. llvm-svn: 332580
Diffstat (limited to 'llvm/tools/llvm-exegesis/lib/Uops.h')
-rw-r--r--llvm/tools/llvm-exegesis/lib/Uops.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/tools/llvm-exegesis/lib/Uops.h b/llvm/tools/llvm-exegesis/lib/Uops.h
index d305d0124f8..e9dc181061d 100644
--- a/llvm/tools/llvm-exegesis/lib/Uops.h
+++ b/llvm/tools/llvm-exegesis/lib/Uops.h
@@ -21,19 +21,19 @@ namespace exegesis {
class UopsBenchmarkRunner : public BenchmarkRunner {
public:
- using BenchmarkRunner::BenchmarkRunner;
~UopsBenchmarkRunner() override;
private:
const char *getDisplayName() const override;
llvm::Expected<std::vector<llvm::MCInst>>
- createSnippet(RegisterAliasingTrackerCache &RATC, unsigned Opcode,
- llvm::raw_ostream &Info) const override;
+ createCode(const LLVMState &State, unsigned OpcodeIndex,
+ unsigned NumRepetitions,
+ const JitFunctionContext &Context) const override;
std::vector<BenchmarkMeasure>
- runMeasurements(const ExecutableFunction &EF,
- const unsigned NumRepetitions) const override;
+ runMeasurements(const LLVMState &State, const JitFunction &Function,
+ unsigned NumRepetitions) const override;
};
} // namespace exegesis
OpenPOWER on IntegriCloud