Lines Matching refs:InstructionBenchmark
72 static cl::opt<exegesis::InstructionBenchmark::ModeE> BenchmarkMode(
74 cl::values(clEnumValN(exegesis::InstructionBenchmark::Latency, "latency",
76 clEnumValN(exegesis::InstructionBenchmark::InverseThroughput,
79 clEnumValN(exegesis::InstructionBenchmark::Uops, "uops",
83 clEnumValN(exegesis::InstructionBenchmark::Unknown, "analysis",
86 static cl::opt<exegesis::InstructionBenchmark::ResultAggregationModeE>
90 cl::values(clEnumValN(exegesis::InstructionBenchmark::Min, "min",
92 clEnumValN(exegesis::InstructionBenchmark::Max, "max",
94 clEnumValN(exegesis::InstructionBenchmark::Mean, "mean",
96 clEnumValN(exegesis::InstructionBenchmark::MinVariance,
99 cl::init(exegesis::InstructionBenchmark::Min));
101 static cl::opt<exegesis::InstructionBenchmark::RepetitionModeE> RepetitionMode(
105 clEnumValN(exegesis::InstructionBenchmark::Duplicate, "duplicate",
107 clEnumValN(exegesis::InstructionBenchmark::Loop, "loop",
109 clEnumValN(exegesis::InstructionBenchmark::AggregateMin, "min",
111 cl::init(exegesis::InstructionBenchmark::Duplicate));
313 if (RepetitionMode != InstructionBenchmark::RepetitionModeE::AggregateMin) in benchmarkMain()
316 for (InstructionBenchmark::RepetitionModeE RepMode : in benchmarkMain()
317 {InstructionBenchmark::RepetitionModeE::Duplicate, in benchmarkMain()
318 InstructionBenchmark::RepetitionModeE::Loop}) in benchmarkMain()
365 InstructionBenchmark Result = ExitOnErr(Runner->runConfiguration( in benchmarkMain()
410 const std::vector<InstructionBenchmark> Points = ExitOnFileError( in analysisMain()
411 BenchmarkFile, InstructionBenchmark::readYamls(State, BenchmarkFile)); in analysisMain()
460 if (exegesis::BenchmarkMode == exegesis::InstructionBenchmark::Unknown) { in main()