[llvm] r336343 - [llvm-exegesis][NFC]clang-format

Clement Courbet via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 5 05:26:13 PDT 2018


Author: courbet
Date: Thu Jul  5 05:26:12 2018
New Revision: 336343

URL: http://llvm.org/viewvc/llvm-project?rev=336343&view=rev
Log:
[llvm-exegesis][NFC]clang-format

Modified:
    llvm/trunk/tools/llvm-exegesis/lib/BenchmarkRunner.h

Modified: llvm/trunk/tools/llvm-exegesis/lib/BenchmarkRunner.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-exegesis/lib/BenchmarkRunner.h?rev=336343&r1=336342&r2=336343&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-exegesis/lib/BenchmarkRunner.h (original)
+++ llvm/trunk/tools/llvm-exegesis/lib/BenchmarkRunner.h Thu Jul  5 05:26:12 2018
@@ -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;




More information about the llvm-commits mailing list