diff options
author | Clement Courbet <courbet@google.com> | 2018-07-05 12:26:12 +0000 |
---|---|---|
committer | Clement Courbet <courbet@google.com> | 2018-07-05 12:26:12 +0000 |
commit | 2c278cdd98b173bbbc73459c0c17e70e8f9d905f (patch) | |
tree | 1a048d0e14e2a9048740cb676fb4eb7fa0958dd4 | |
parent | 889a161b4fd80b54d5c0914ce4edb8b1fcece6f5 (diff) | |
download | bcm5719-llvm-2c278cdd98b173bbbc73459c0c17e70e8f9d905f.tar.gz bcm5719-llvm-2c278cdd98b173bbbc73459c0c17e70e8f9d905f.zip |
[llvm-exegesis][NFC]clang-format
llvm-svn: 336343
-rw-r--r-- | llvm/tools/llvm-exegesis/lib/BenchmarkRunner.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/llvm/tools/llvm-exegesis/lib/BenchmarkRunner.h b/llvm/tools/llvm-exegesis/lib/BenchmarkRunner.h index bffb965fcce..225f267a2fd 100644 --- a/llvm/tools/llvm-exegesis/lib/BenchmarkRunner.h +++ b/llvm/tools/llvm-exegesis/lib/BenchmarkRunner.h @@ -54,7 +54,8 @@ struct BenchmarkConfiguration { // Common code for all benchmark modes. class BenchmarkRunner { public: - explicit BenchmarkRunner(const LLVMState &State, InstructionBenchmark::ModeE Mode); + explicit BenchmarkRunner(const LLVMState &State, + InstructionBenchmark::ModeE Mode); virtual ~BenchmarkRunner(); @@ -69,17 +70,17 @@ protected: const LLVMState &State; const RegisterAliasingTrackerCache RATC; - llvm::Expected<SnippetPrototype> generateSelfAliasingPrototype( - const Instruction &Instr) const; + llvm::Expected<SnippetPrototype> + generateSelfAliasingPrototype(const Instruction &Instr) const; private: // API to be implemented by subclasses. virtual llvm::Expected<SnippetPrototype> - generatePrototype(unsigned Opcode) const = 0; + generatePrototype(unsigned Opcode) const = 0; virtual std::vector<BenchmarkMeasure> - runMeasurements(const ExecutableFunction &EF, - const unsigned NumRepetitions) const = 0; + runMeasurements(const ExecutableFunction &EF, + const unsigned NumRepetitions) const = 0; // Internal helpers. InstructionBenchmark runOne(const BenchmarkConfiguration &Configuration, @@ -90,7 +91,6 @@ private: llvm::Expected<std::vector<BenchmarkConfiguration>> generateConfigurations(unsigned Opcode) const; - llvm::Expected<std::string> writeObjectFile(const BenchmarkConfiguration::Setup &Setup, llvm::ArrayRef<llvm::MCInst> Code) const; |