reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

unittests/tools/llvm-exegesis/X86/BenchmarkResultTest.cpp
   66   ToDisk.Key.Instructions.push_back(MCInstBuilder(X86::XOR32rr)
   71   ToDisk.Key.Config = "config";
   72   ToDisk.Key.RegisterInitialValues = {
   75   ToDisk.Mode = InstructionBenchmark::Latency;
   76   ToDisk.CpuName = "cpu_name";
   77   ToDisk.LLVMTriple = "llvm_triple";
   78   ToDisk.NumRepetitions = 1;
   79   ToDisk.Measurements.push_back(BenchmarkMeasure{"a", 1, 1});
   80   ToDisk.Measurements.push_back(BenchmarkMeasure{"b", 2, 2});
   81   ToDisk.Error = "error";
   82   ToDisk.Info = "info";
   90   ExitOnErr(ToDisk.writeYaml(State, Filename));
   98                 Pointwise(EqMCInst(), ToDisk.Key.Instructions));
   99     EXPECT_EQ(FromDisk.Key.Config, ToDisk.Key.Config);
  100     EXPECT_EQ(FromDisk.Mode, ToDisk.Mode);
  101     EXPECT_EQ(FromDisk.CpuName, ToDisk.CpuName);
  102     EXPECT_EQ(FromDisk.LLVMTriple, ToDisk.LLVMTriple);
  103     EXPECT_EQ(FromDisk.NumRepetitions, ToDisk.NumRepetitions);
  104     EXPECT_THAT(FromDisk.Measurements, ToDisk.Measurements);
  105     EXPECT_THAT(FromDisk.Error, ToDisk.Error);
  106     EXPECT_EQ(FromDisk.Info, ToDisk.Info);
  115                 Pointwise(EqMCInst(), ToDisk.Key.Instructions));
  116     EXPECT_EQ(FromDisk.Key.Config, ToDisk.Key.Config);
  117     EXPECT_EQ(FromDisk.Mode, ToDisk.Mode);
  118     EXPECT_EQ(FromDisk.CpuName, ToDisk.CpuName);
  119     EXPECT_EQ(FromDisk.LLVMTriple, ToDisk.LLVMTriple);
  120     EXPECT_EQ(FromDisk.NumRepetitions, ToDisk.NumRepetitions);
  121     EXPECT_THAT(FromDisk.Measurements, ToDisk.Measurements);
  122     EXPECT_THAT(FromDisk.Error, ToDisk.Error);
  123     EXPECT_EQ(FromDisk.Info, ToDisk.Info);