| /llvm-project-15.0.7/llvm/tools/llvm-exegesis/lib/ |
| H A D | Target.cpp | 56 InstructionBenchmark::ModeE Mode, const LLVMState &State, in createSnippetGenerator() 59 case InstructionBenchmark::Unknown: in createSnippetGenerator() 61 case InstructionBenchmark::Latency: in createSnippetGenerator() 63 case InstructionBenchmark::Uops: in createSnippetGenerator() 64 case InstructionBenchmark::InverseThroughput: in createSnippetGenerator() 72 InstructionBenchmark::ModeE Mode, const LLVMState &State, in createBenchmarkRunner() 76 case InstructionBenchmark::Unknown: in createBenchmarkRunner() 78 case InstructionBenchmark::Latency: in createBenchmarkRunner() 79 case InstructionBenchmark::InverseThroughput: in createBenchmarkRunner() 90 case InstructionBenchmark::Uops: in createBenchmarkRunner() [all …]
|
| H A D | LatencyBenchmarkRunner.cpp | 22 const LLVMState &State, InstructionBenchmark::ModeE Mode, in LatencyBenchmarkRunner() 23 InstructionBenchmark::ResultAggregationModeE ResultAgg) in LatencyBenchmarkRunner() 25 assert((Mode == InstructionBenchmark::Latency || in LatencyBenchmarkRunner() 26 Mode == InstructionBenchmark::InverseThroughput) && in LatencyBenchmarkRunner() 96 case InstructionBenchmark::Latency: in runMeasurements() 99 case InstructionBenchmark::InverseThroughput: in runMeasurements() 107 case InstructionBenchmark::MinVariance: { in runMeasurements() 117 case InstructionBenchmark::Min: { in runMeasurements() 123 case InstructionBenchmark::Max: { in runMeasurements() 129 case InstructionBenchmark::Mean: { in runMeasurements()
|
| H A D | BenchmarkResult.cpp | 237 Io.enumCase(Value, "", exegesis::InstructionBenchmark::Unknown); in enumeration() 239 Io.enumCase(Value, "uops", exegesis::InstructionBenchmark::Uops); in enumeration() 241 exegesis::InstructionBenchmark::InverseThroughput); in enumeration() 313 static void mapping(IO &Io, exegesis::InstructionBenchmark &Obj, in mapping() 334 Expected<InstructionBenchmark> 340 InstructionBenchmark Benchmark; in readYaml() 351 Expected<std::vector<InstructionBenchmark>> 357 std::vector<InstructionBenchmark> Benchmarks; in readYamls() 373 Error InstructionBenchmark::writeYamlTo(const LLVMState &State, in writeYamlTo() 386 Error InstructionBenchmark::readYamlFrom(const LLVMState &State, in readYamlFrom() [all …]
|
| H A D | Target.h | 152 createSnippetGenerator(InstructionBenchmark::ModeE Mode, 157 InstructionBenchmark::ModeE Mode, const LLVMState &State, 158 InstructionBenchmark::ResultAggregationModeE ResultAggMode = 159 InstructionBenchmark::Min) const; 195 const LLVMState &State, InstructionBenchmark::ModeE Mode, 196 InstructionBenchmark::ResultAggregationModeE ResultAggMode) const; 199 InstructionBenchmark::ResultAggregationModeE ResultAggMode) const;
|
| H A D | LatencyBenchmarkRunner.h | 25 const LLVMState &State, InstructionBenchmark::ModeE Mode, 26 InstructionBenchmark::ResultAggregationModeE ResultAggMode); 33 InstructionBenchmark::ResultAggregationModeE ResultAggMode;
|
| H A D | Clustering.h | 33 create(const std::vector<InstructionBenchmark> &Points, ModeE Mode, 95 const std::vector<InstructionBenchmark> &getPoints() const { return Points_; } in getPoints() 124 const std::vector<InstructionBenchmark> &Points, 140 const std::vector<InstructionBenchmark> &Points_; 161 bool validate(InstructionBenchmark::ModeE Mode) const;
|
| H A D | SnippetRepetitor.cpp | 119 SnippetRepetitor::Create(InstructionBenchmark::RepetitionModeE Mode, in Create() 122 case InstructionBenchmark::Duplicate: in Create() 124 case InstructionBenchmark::Loop: in Create() 126 case InstructionBenchmark::AggregateMin: in Create()
|
| H A D | BenchmarkRunner.h | 38 InstructionBenchmark::ModeE Mode); 42 Expected<InstructionBenchmark> 79 const InstructionBenchmark::ModeE Mode;
|
| H A D | Clustering.cpp | 92 const std::vector<InstructionBenchmark> &Points, in InstructionBenchmarkClustering() 198 const InstructionBenchmark &Point = Points_[P]; in clusterizeNaive() 257 explicit OpcodeAndConfig(const InstructionBenchmark &IB) in stabilize() 332 const std::vector<InstructionBenchmark> &Points, const ModeE Mode, in create() 377 InstructionBenchmark::ModeE Mode) const { in validate() 380 case InstructionBenchmark::Latency: in validate() 388 case InstructionBenchmark::Uops: in validate() 391 case InstructionBenchmark::InverseThroughput: in validate()
|
| H A D | BenchmarkResult.h | 60 struct InstructionBenchmark { struct 80 static Expected<InstructionBenchmark> readYaml(const LLVMState &State, argument 83 static Expected<std::vector<InstructionBenchmark>>
|
| H A D | Analysis.cpp | 128 const InstructionBenchmark &Point = Clustering_.getPoints()[PointId]; in printInstructionRowCsv() 169 const InstructionBenchmark &FirstPoint = Clustering.getPoints().front(); in Analysis() 225 const InstructionBenchmark &Point = Points[PointId]; in makePointsPerSchedClass() 280 void Analysis::printPointHtml(const InstructionBenchmark &Point, in printPointHtml() 286 case InstructionBenchmark::Latency: in printPointHtml() 289 case InstructionBenchmark::Uops: in printPointHtml() 290 case InstructionBenchmark::InverseThroughput: in printPointHtml() 358 const InstructionBenchmark::ModeE Mode = Clustering.getPoints()[0].Mode; in measurementsMatch()
|
| H A D | BenchmarkRunner.cpp | 33 InstructionBenchmark::ModeE Mode) in BenchmarkRunner() 135 Expected<InstructionBenchmark> BenchmarkRunner::runConfiguration( in runConfiguration() 139 InstructionBenchmark InstrBenchmark; in runConfiguration() 154 ClearBenchmarkOnReturn(InstructionBenchmark *IB) : IB(IB) {} in runConfiguration() 162 InstructionBenchmark *const IB; in runConfiguration()
|
| H A D | SchedClassResolution.cpp | 261 InstructionBenchmark::ModeE Mode, const MCSubtargetInfo &STI, in getAsPoint() 267 if (Mode == InstructionBenchmark::Latency) { in getAsPoint() 280 } else if (Mode == InstructionBenchmark::Uops) { in getAsPoint() 307 } else if (Mode == InstructionBenchmark::InverseThroughput) { in getAsPoint()
|
| H A D | UopsBenchmarkRunner.h | 25 : BenchmarkRunner(State, InstructionBenchmark::Uops) {} in UopsBenchmarkRunner()
|
| H A D | SnippetRepetitor.h | 32 Create(InstructionBenchmark::RepetitionModeE Mode, const LLVMState &State);
|
| H A D | SchedClassResolution.h | 48 getAsPoint(InstructionBenchmark::ModeE Mode, const MCSubtargetInfo &STI,
|
| H A D | Analysis.h | 89 void printPointHtml(const InstructionBenchmark &Point,
|
| /llvm-project-15.0.7/llvm/tools/llvm-exegesis/ |
| H A D | llvm-exegesis.cpp | 73 static cl::opt<exegesis::InstructionBenchmark::ModeE> BenchmarkMode( 80 clEnumValN(exegesis::InstructionBenchmark::Uops, "uops", 87 static cl::opt<exegesis::InstructionBenchmark::ResultAggregationModeE> 100 cl::init(exegesis::InstructionBenchmark::Min)); 108 clEnumValN(exegesis::InstructionBenchmark::Loop, "loop", 110 clEnumValN(exegesis::InstructionBenchmark::AggregateMin, "min", 112 cl::init(exegesis::InstructionBenchmark::Duplicate)); 325 for (InstructionBenchmark::RepetitionModeE RepMode : in benchmarkMain() 326 {InstructionBenchmark::RepetitionModeE::Duplicate, in benchmarkMain() 327 InstructionBenchmark::RepetitionModeE::Loop}) in benchmarkMain() [all …]
|
| /llvm-project-15.0.7/llvm/unittests/tools/llvm-exegesis/ |
| H A D | ClusteringTest.cpp | 31 std::vector<InstructionBenchmark> Points(6); in TEST() 72 std::vector<InstructionBenchmark> Points(6); in TEST() 85 std::vector<InstructionBenchmark> Points(6); in TEST() 111 std::vector<InstructionBenchmark> Points(3); in TEST() 128 std::vector<InstructionBenchmark> Points(3); in TEST()
|
| /llvm-project-15.0.7/llvm/unittests/tools/llvm-exegesis/Mips/ |
| H A D | BenchmarkResultTest.cpp | 58 InstructionBenchmark ToDisk; in TEST_F() 68 ToDisk.Mode = InstructionBenchmark::Latency; in TEST_F() 86 ExitOnErr(InstructionBenchmark::readYaml(State, Filename)); in TEST_F() 102 ExitOnErr(InstructionBenchmark::readYamls(State, Filename)); in TEST_F()
|
| /llvm-project-15.0.7/llvm/unittests/tools/llvm-exegesis/X86/ |
| H A D | BenchmarkResultTest.cpp | 60 InstructionBenchmark ToDisk; in TEST() 71 ToDisk.Mode = InstructionBenchmark::Latency; in TEST() 91 ExitOnErr(InstructionBenchmark::readYaml(State, Filename)); in TEST() 107 ExitOnErr(InstructionBenchmark::readYamls(State, Filename)); in TEST()
|
| H A D | SnippetRepetitorTest.cpp | 41 void TestCommon(InstructionBenchmark::RepetitionModeE RepetitionMode) { in TestCommon() 69 TestCommon(InstructionBenchmark::Duplicate); in TEST_F() 78 TestCommon(InstructionBenchmark::Loop); in TEST_F()
|