From 2c278cdd98b173bbbc73459c0c17e70e8f9d905f Mon Sep 17 00:00:00 2001 From: Clement Courbet Date: Thu, 5 Jul 2018 12:26:12 +0000 Subject: [PATCH] [llvm-exegesis][NFC]clang-format llvm-svn: 336343 --- llvm/tools/llvm-exegesis/lib/BenchmarkRunner.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/llvm/tools/llvm-exegesis/lib/BenchmarkRunner.h b/llvm/tools/llvm-exegesis/lib/BenchmarkRunner.h index bffb965..225f267 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 generateSelfAliasingPrototype( - const Instruction &Instr) const; + llvm::Expected + generateSelfAliasingPrototype(const Instruction &Instr) const; private: // API to be implemented by subclasses. virtual llvm::Expected - generatePrototype(unsigned Opcode) const = 0; + generatePrototype(unsigned Opcode) const = 0; virtual std::vector - 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> generateConfigurations(unsigned Opcode) const; - llvm::Expected writeObjectFile(const BenchmarkConfiguration::Setup &Setup, llvm::ArrayRef Code) const; -- 2.7.4